Commit Graph
277 Commits
Author SHA1 Message Date
sum2012 f025d2deee Add some threadman's nids
used in #13205
2020-07-27 21:18:38 +08:00
Henrik Rydgård 1010a07f65 Expose more information on the crash screen (current kernel thread) 2020-07-12 16:47:53 +02:00
sum2012 06b6821406 Add some ThreadManForKernel nids
Used in "Code Geass: Lost Colors" chinese patched game
2020-06-13 21:17:56 +08:00
sum2012 5a7ed46938 Fix logging as @unknownbrackets suggest 2020-06-07 11:46:08 +08:00
sum2012 bb48006b8e Forget HLE_KERNEL_SYSCALL flag 2020-06-07 10:37:50 +08:00
sum2012 3f6ec47f18 Wrap sceKernelExitVSHKernel 2020-06-07 10:30:55 +08:00
sum2012 29cfec9bb3 Warp some ThreadManForKernel 2020-06-07 10:14:46 +08:00
Henrik Rydgård e0614b7ce2 Use PPSSPP's kernel interface to retrieve Heap objects
Allows us to get rid of DoState and the map<>.
2020-04-26 11:19:31 +02:00
Henrik Rydgård bf73d3d663 Address Unknown's feedback
https://github.com/hrydgard/ppsspp/pull/7965/files
2020-04-26 11:19:31 +02:00
sum2012andHenrik Rydgård a8c2c02b82 Move SysMemForKernel to sceKernelMemory
As SysMemForUser in there
2020-04-26 11:18:41 +02:00
sum2012andHenrik Rydgård 8d8ba3e963 oop 2020-04-26 11:18:41 +02:00
sum2012andHenrik Rydgård 043ef8c9d4 Wrap some SysMemForKernel's nids
#7960
2020-04-26 11:18:41 +02:00
Unknown W. Brackets 1422c8d21b Kernel: Delay better in sceKernelReferThreadStatus.
Sometimes this is called in loops, so correct timing for errors.
2020-02-22 04:29:23 -08:00
Florin9doi 5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
Henrik Rydgård 5a68fc29c9 sceUsbCam: Heap-allocate the buffer. 2019-08-26 18:26:52 +02:00
Unknown W. Brackets 43b18578f4 Update default firmware version to 6.60.
Not many games call sceKernelDevkitVersion(), but we mostly match 6.60.

See also: https://report.ppsspp.org/logs/kind/883?status=any
2018-05-28 08:44:00 -07:00
Henrik Rydgård 709a86a154 Fix savestates from before 1.4.2-420. Fixes #9998. Unfortunately this also breaks states between 420 and 468, so please save normally before upgrading if you were using one of those. 2017-10-04 10:34:46 +02:00
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
AdamNandHenrik Rydgard 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