Commit graph

260 commits

Author SHA1 Message Date
Florin9doi
8bbe735b1f Integrate sceUsbGps and sceUsbCam with Android - 2 2017-08-28 13:55:35 +03:00
Florin9doi
892bc8617d Integrate sceUsbGps and sceUsbCam with Android 2017-08-27 17:19:11 +03:00
LunaMoo
00585e70ea Add sceKernelLoadExec_28D0D249. 2017-05-21 17:17:31 +02:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Unknown W. Brackets
5faa65d9a9 Compress rewind snapshots off thread.
This can take a chunk of time, and doesn't need to finish until next frame
anyway, so we have plenty of time to do it.
2016-09-24 10:37:30 -07:00
Unknown W. Brackets
0b43e28595 Move SysMemForKernel to sceKernelMemory. 2016-08-04 09:46:27 -07:00
Unknown W. Brackets
4b4770bbc5 Log kernel syscalls with a K.
This way they can be properly differentiated.
2016-08-04 09:46:26 -07:00
Unknown W. Brackets
5009dcab7a Add reporting for sceKernelDevkitVersion() calls.
We currently default to 1.50 as the reported version, but we more or less
emulate a 6.60 system.  It may be better to return 6.60, but let's see
what would actually be impacted by that first.
2016-06-26 20:52:48 -07:00
Unknown W. Brackets
197f3393df Thread: Better/minor accuracy for sysclock delay.
Certain negative values shouldn't cause a delay, could help if a game has
a bug.
2016-05-31 09:55:19 -07:00
Unknown W. Brackets
12b907ed60 Put syscalls back where they were supposed to be.
Oops, didn't mean to move this.  Might've broken save states.
2016-05-29 07:31:22 -07:00
Unknown W. Brackets
e9916bdf0b ThreadEvent: Add management functions.
Currently never being triggered, though.
2016-05-28 21:17:16 -07:00
Henrik Rydgard
7dd631b7f2 Some code reformatting of the kernel object pool
Also deletes an unused [] operator
2015-11-25 13:00:29 +01:00
Unknown W. Brackets
62629827ea Kernel: Clean up event flag logging, style. 2015-10-25 09:08:38 -07:00
Unknown W. Brackets
cd842ac21f Validate blocklinking in icache invalidate all.
Normally blocks are invalidated on entry.  But when blocklinking is on,
we don't validate on all entries.

This fixes Tales of Rebirth crashes (#7868.)
2015-07-19 13:08:32 -07:00
Henrik Rydgard
44286a2b37 ARM64: Accurate float->int conversion with rounding mode. 2015-04-06 18:13:34 +02:00
Unknown W. Brackets
e2ecd1eabd Add memchecks for ReadStruct/WriteStruct. 2015-04-05 18:09:35 -07:00
Unknown W. Brackets
52a37c1330 Actually use the table's arg and ret masks. 2015-03-22 20:51:56 -07:00
Unknown W. Brackets
fcf0518223 Update all the HLE tables with arg and ret info. 2015-03-22 20:51:55 -07:00
AdamN
2cc19f56b2 Rearrange Network Shutdown to be properly in order (NetInit->AdhocInit->network functions->AdhocTerm->NetTerm) 2015-01-04 13:04:00 +01:00
Lioncash
4ccb838306 Core: Mark some module functions as static 2014-12-08 04:40:08 -05:00
Lioncash
f830d5dec7 Core: Mark some functions as const 2014-12-03 15:16:11 -05:00
Henrik Rydgard
4ed97f9c60 Don't msgbox on game exit (homebrew can legitimately do this) 2014-11-17 21:25:08 +01:00
Unknown W. Brackets
774589aa4f Correct the Tlspl TMID value. 2014-08-17 14:38:54 -07:00
Unknown W. Brackets
9efbc2694b Add an invalidate all method to the jit. 2014-06-19 01:13:06 -07:00
Unknown W. Brackets
aa6355a9e5 Reschedule after many cases of eating cycles.
All of these eat enough cycles they could cause issues in a loop, and I'm
pretty sure they would reschedule.
2014-06-13 00:30:21 -07:00
kaienfr
ee3417a96c Implementation of sceAac module
Test on Fortix is all right. Savestate is also ok.
I've tried a New and Easy way implement and it works well, I think it could be totally applicable to other audio modules as sceMp3 etc.
Code your own way is really much easier to fix other bugs :)
2014-04-11 09:03:13 +02:00
kaienfr
04756b91e0 Do State PMP media, and some other updates to PMP media. 2014-04-04 23:01:25 +02:00
Henrik Rydgard
c53b8ed8bf Clean up some details in sceAudioCodec. 2014-03-27 22:53:57 +01:00
kaienfr
779d90b8c5 Add DoState for sceAudiocodec 2014-03-27 15:17:54 +01:00
Unknown W. Brackets
a843cbd580 Shrink the very common sceKernelThread.h include. 2014-03-15 11:44:02 -07:00
Unknown W. Brackets
05ab192c9c Reduce includes in Core/HLE/.
Especially templates.
2014-03-15 11:22:19 -07:00
Unknown W. Brackets
446418d783 Properly reset some state between games. 2014-03-04 07:55:08 -08:00
Bovine
139c7ff5bb Implemented sceKernelICacheInvalidateRange
Fixes crash in mhp3 hot springs after some missions
2014-02-23 19:25:18 -07:00
Unknown W. Brackets
5e57a2ffa8 Don't allow reporting from bad savestates.
If the savestate was created with bad settings, or was loaded from an
older version, it may be damaged.  Let's not report old problems.
2014-02-17 09:43:12 -08:00
Unknown W. Brackets
3dea6fdd86 Cache reporting support to avoid slowdown.
Turns out checking flash0:/ was not fast, oops, but especially when
disabled.

Also, make the box show as disabled when it's been disabled during the
session, and make it not do that in the menu.
2014-02-15 20:34:03 -08:00
Unknown W. Brackets
ad8488ecc4 Reset reporting on a new game.
This way "once" and "spam" no longer persist between runs.  Makes it
easier to test a bunch of games in a row without restarting in between.
2014-02-09 17:39:16 -08:00
Ced2911
075a960f7f [Core] scekernel endian fixes 2014-01-26 14:27:30 -08:00
sum2012
62e9e42b2c Add LoadExecForKernel and SysMemForKernel
Find in chinese verison of Tales of Phantasia
sample log:https://gist.github.com/sum2012/5396a013391d9f7b6124
2014-01-21 22:02:07 +08:00
Unknown W. Brackets
8aa9483cbf Eat some cycles in the Dcache invalidate funcs. 2014-01-19 12:44:51 -08:00
raven02
6e21b4eaf5 Use HLE_NOT_IN_INTERRUPT for sceKernelGetThreadId() 2014-01-13 21:53:15 +08:00
Unknown W. Brackets
f14361c3b8 Add a bunch more missing cstring includes. 2013-12-30 21:37:19 -08:00
Henrik Rydgård
ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
sum2012
9b7e5566d1 Add more information for "Not support this patcher" 2013-12-17 05:36:55 +08:00
The Dax
6050b47c67 Add an ini option to set the emulated PSP's firmware. 2013-12-13 13:06:44 -05:00
Unknown W. Brackets
e73d43c434 Correct sceKernelTlspl func names, etc.
This is mostly pedantic but it's nice to have the right names.
2013-12-02 23:40:16 -08:00
Unknown W. Brackets
0b64c5e014 Savestate and shutdown sceMp3 properly.
It wasn't even being saved before.
2013-10-24 20:07:07 -07:00
Unknown W. Brackets
580d4436a3 Fix vtimer uid param type, add algorithm include. 2013-10-22 07:46:33 -07:00
Unknown W. Brackets
0a373b08b7 Return better vtimer errors within interrupts. 2013-10-22 07:45:53 -07:00
Unknown W. Brackets
67cd13702e Correct sceKernelSetVTimerTime*(). 2013-10-22 07:45:48 -07:00
Unknown W. Brackets
0c8cc25eb4 Always register the cheat event, for savestates.
This way, if you savestate with cheats on or off, it'll load fine.
2013-10-07 07:46:18 -07:00