Commit Graph

96 Commits

Author SHA1 Message Date
Unknown W. Brackets
2304e9253e Make sure not to use invalid module start params.
If there's a 0, those parameters are not likely valid.
2013-05-25 15:15:29 -07:00
Henrik Rydgård
b9c21d32f0 Merge pull request #1894 from CPkmn/kernel
Improve sceKernelStartModule handling
2013-05-24 07:16:12 -07:00
CPkmn
b9a72b99e2 Update sceKernelModule.cpp 2013-05-24 08:06:31 -06:00
Unknown W. Brackets
b4eec4dca7 Perform the actual variable relocations, hurray. 2013-05-24 01:45:08 -07:00
Unknown W. Brackets
8d71f33aae Keep track of imported/exported vars.
Not yet actually linked up, though.
2013-05-24 00:03:39 -07:00
Unknown W. Brackets
fe4bd8f66c Add more logging to elf loading, cleanup. 2013-05-23 23:41:10 -07:00
CPkmn
d051e25b70 Update sceKernelModule.cpp 2013-05-23 10:25:13 -06:00
CPkmn
f83e19aa2d Update sceKernelModule.cpp 2013-05-23 01:36:23 -06:00
CPkmn
1150b794bf Improve sceKernelStartModule handling
Fixes 'bogus priority' errors (and maybe more).
Tested on God Eater Burst and fixed its "bogus priority". I haven't found any games this breaks.
2013-05-23 00:31:30 -07:00
Unknown W. Brackets
8580780194 Add more unknown syscalls from reporting. 2013-05-22 01:19:25 -07:00
Unknown W. Brackets
d45104afb6 Separate the func import count from the var count.
Still doesn't actually load the variables imports, but at least it
won't skip a bunch of funcs and break even worse.
2013-05-21 23:34:28 -07:00
Unknown W. Brackets
afc24a54e2 Ignore start module params that are 0.
Pretty sure this is why "bogus priority 0" is being logged.
2013-05-21 00:57:33 -07:00
Unknown W. Brackets
5fe38f525d Link dynamically sized exports correctly as well. 2013-05-20 23:39:43 -07:00
Unknown W. Brackets
ed698692f7 Respect the entry size in ELF linking.
Hopefully fixes #1862.
2013-05-20 08:54:03 -07:00
Unknown W. Brackets
2d1acce701 Add reporting to module linking, something wrong. 2013-05-19 22:12:40 -07:00
Unknown W. Brackets
86ce95a658 Add some syscall entries from reporting. 2013-05-19 22:12:38 -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
mattweb28
1b87f5667f HLE needs to be reset after kernel shutdown 2013-05-14 20:37:20 +08:00
Henrik Rydgard
cfc23f59de Show an error message instead of crashing on demos we don't have keys for 2013-05-09 13:14:19 +02:00
Henrik Rydgard
b9f45e4530 Add stub framework for .pbp demos (nowhere near working). Fix an OSK crash. 2013-04-27 23:16:51 +02:00
Unknown W. Brackets
4efe58ad34 Oops, remove debugging line. 2013-04-11 00:52:37 -07:00
Unknown W. Brackets
5aceceecd3 Remove global module id var hacks.
Nothing needs them anymore.
2013-04-10 21:16:31 -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
Henrik Rydgard
8b6eea7df4 Load icon and bg from PBP files. 2013-04-08 21:46:54 +02:00
Unknown W. Brackets
8f911a0ebe Add a setting to autosave the symbol map.
And move it into system, needs to be after the coreParameter too.
2013-03-30 22:28:55 -07:00