Commit Graph
87 Commits
Author SHA1 Message Date
Henrik Rydgård 4e732af786 Minor cleanup, add a speculative comment. 2023-05-04 10:07:49 +02:00
Unknown W. Brackets 2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
aliaspiderandUnknown W. Brackets 9a3e5879bb Global: Correct many endian types and casts. 2021-02-18 22:25:24 -08:00
Henrik Rydgård 989e353482 Common.h shouldn't include Log.h.
Buildfixes

More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
sorgts a8a1c67df0 Fix build with clang-cl 2020-08-13 16:48:48 +02:00
Unknown W. BracketsandGitHub de439f8cd7 Correct a crash on a missing kernel object. 2020-07-22 23:59:09 -07:00
Henrik Rydgård df6d0a8ae7 PSP kernel: Improve logging when accessing bad kernel object handles. 2020-07-20 11:57:11 +02:00
Henrik Rydgård c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård 1010a07f65 Expose more information on the crash screen (current kernel thread) 2020-07-12 16:47:53 +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
Unknown W. Brackets f4e8e68c44 Io: Cleanup file not found error codes.
Replay (#10888) caused error to be non zero, which was later translated to
something else, confusingly...
2018-05-06 10:15:05 -07:00
Henrik Rydgård 6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Unknown W. Brackets 0b43e28595 Move SysMemForKernel to sceKernelMemory. 2016-08-04 09:46:27 -07:00
Henrik Rydgard 9825dad340 Zero deleted objects in the kernel object pool
Just doing this to narrow down the possible causes of our crashes in WaitSema/SignalSema that I can't reproduce and only have Android auto-reports of... The crash comments do mention the GTA games though.
2015-11-25 14:24:32 +01: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 fcf0518223 Update all the HLE tables with arg and ret info. 2015-03-22 20:51:55 -07:00
Lioncash f830d5dec7 Core: Mark some functions as const 2014-12-03 15:16:11 -05:00
Unknown W. Brackets feeb03b5ff Fix return values in sceKernelGetThreadmanIdList().
Support other object types as well, but not threads/etc. properly yet.
2014-08-17 14:38:54 -07:00
Unknown W. Brackets 774589aa4f Correct the Tlspl TMID value. 2014-08-17 14:38:54 -07:00
raven02 21e4dc60eb Move POWER_VMEM_IN_USE to sceKernel.h 2014-04-27 20:50:11 +08:00
Felix-Dev 38c40be590 Another line indentation fix. 2014-04-03 21:47:45 +02:00
Felix-Dev f904554020 Fixed line indentation. 2014-04-03 21:37:18 +02:00
Felix-Dev 5fe0783593 Added name for PSP error code 0x80000023 and replaced the various uses of that error code number with its error code name. 2014-04-03 18:12:22 +02:00
lioncash b9886942a7 Fix some vertical alignments in misc Core source files. 2014-03-03 11:16:53 -05: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 4f585fd7a6 Fix a few minor typos. 2014-01-11 22:59:52 -08:00
Unknown W. Brackets f14361c3b8 Add a bunch more missing cstring includes. 2013-12-30 21:37:19 -08:00
Henrik Rydgård 00c32ddadb Mostly get rid of including "Globals.h" 2013-12-30 10:17:11 +01:00
Henrik Rydgard 1d2f1efd06 Fix function replacement on ARM 2013-12-18 00:09:08 +01:00
Henrik Rydgard 32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01: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 738dfc84e4 Speed up __GetCurrentThread(), it's called a lot.
This only needs to be an assertion.
2013-11-02 22:12:43 -07:00
Henrik Rydgard 1595ac3386 Log spam reduction - only WARN about non-zero bad handles, and sceAtracSetLoopNum gets demoted to DEBUG. 2013-10-22 19:56:05 +02:00
Unknown W. Brackets d1d9fb5bbf Start the kernel ids over on reset.
So that things aren't affected by wrapping over.  Although, maybe we
should handle that better if it causes incorrect behavior...
2013-09-17 08:11:51 -07:00
Unknown W. Brackets b898e397aa Correct sceKernelGetThreadStackFreeSize().
It was always returning 0.
2013-09-10 01:31:03 -07:00
Henrik Rydgard 8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
sum2012 d017011882 Add ThreadManForKernel and ModuleForKernel
Sample log:https://gist.github.com/sum2012/3bb5deb1a806ef18f5f3
2013-08-25 10:48:32 +08:00
Henrik Rydgard 6ed4e348db Some logging tweaks, fix running cpu tests on ARM 2013-07-30 01:09:10 +02:00
Unknown W. Brackets 81f7103e0b Use *_le for the sceKernel* funcs. 2013-07-25 08:04:34 -07:00
Henrik Rydgård f528774b39 Fix some pointer silliness that clang fortunately caught 2013-07-15 18:18:43 +02:00
Unknown W. Brackets 933c8abb55 Check kernel object types when looking up ids.
Some games misuse it, need to return an error.
2013-06-18 23:54:29 -07:00
Henrik Rydgard 2afbc94734 Turn off RTTI, simulate it where needed. 2013-06-09 13:02:16 +02:00
Unknown W. Brackets 1a987dda26 Fix crash in sceKernelGetThreadmanIdType(). 2013-06-08 03:00:50 -07:00
Sacha b39a572043 Buildfixes.
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Unknown W. Brackets 084ad5aa53 Wrap the sleep/wakeup HLE funcs. 2013-05-25 20:43:19 -07:00
Unknown W. Brackets ded3fb5e12 Add reporting to a bunch of unimpl functions.
Also some comment/logging fixes along the way.
2013-05-19 22:12:37 -07:00
nachume 2181b76c42 ISO that replaced EBOOT.BIN is playable.
implement LoadExecForUer_362A956B() and sceKernelRegisterExitCallback.
Add some ERROR define on kernel.h. I was referring to the jpcsp.
2013-05-04 20:34:33 +09:00
nachume c2c6adb7c9 Add new sceNp/scePauth and some stubs for unknown functions on THE IDOLM@STER SP. 2013-04-29 12:40:09 +09:00
Unknown W. Brackets e77647a394 Basically working implementation of TLS funcs.
But doesn't wait at all, which it should.
2013-04-14 16:36:02 -07:00
Unknown W. Brackets acac847af2 Cleanup sceKernelGetModuleIdByAddress().
Actual firmware seems to accept any address in the range, and also
correct the error result.

Now people won't think this is broken anymore.
2013-04-10 21:03:43 -07:00