Commit graph

224 commits

Author SHA1 Message Date
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
Unknown W. Brackets
e4223dbcb0 Simplify adding report messages, add a bunch more. 2013-03-26 00:54:00 -07:00
Henrik Rydgard
46be32e41f Log the ret value on decryption fail 2013-03-25 00:18:10 +01:00
Henrik Rydgard
e8215b1e10 Report corrupt elfs (if reporting enabled). Some stubs. 2013-03-25 00:08:46 +01:00
Henrik Rydgard
60d7ac3543 Stubs and error checks. Fix a bad NID in sceUmd. 2013-03-24 22:41:42 +01:00
Henrik Rydgard
3f935fd255 More elf loader crashfix 2013-03-24 22:21:49 +01:00
Henrik Rydgard
752d86b037 Crashfix in elf loader 2013-03-24 22:06:57 +01:00
Unknown W. Brackets
d2be407223 Make HLE func delayed results more generic. 2013-03-09 11:42:15 -08:00
Unknown W. Brackets
eb34f416d9 Reschedule/delay after sceKernelLoadModule() a bit.
Fixes Twin Brave demo, at least.
2013-03-07 23:18:33 -08:00
raven02
1fd2e5aadb Add optionAddr to sceKernelLoadModule 2013-03-07 19:43:17 +08:00
raven02
691bc2df3f Update sceKernelGetModuleIdByAddress 2013-03-07 19:29:49 +08:00
oioitff
f27cc58f4b use module_start_func instead of entry_addr if entry_addr is 0
, this fixes Dissidia Final Fantasy 012. Maybe this is not a good fix.
2013-03-03 17:11:05 +08:00
Unknown W. Brackets
62ab4b7f51 More signed compare warnings. 2013-03-02 15:34:16 -08:00
Henrik Rydgard
7ea1926aa7 Blacklist the ssl library too 2013-02-04 00:54:50 +01:00
Henrik Rydgård
7d6c113a97 Merge pull request #582 from raven02/master
Add few new stubs seen from Dragon Ball Z Tenkaichi Tag Team
2013-02-03 13:15:32 -08:00
Henrik Rydgard
7fbf914821 Another bites the dust (blacklisted modules) 2013-02-03 22:13:42 +01:00
raven02
24c720892c Add few stubs seen from Dragon Ball Z Tenkaichi Tag Team 2013-02-04 03:19:55 +08:00
Unknown W. Brackets
f3efa3225d Blacklist some network modules unlikely to work. 2013-02-02 23:40:44 -08:00
Unknown W. Brackets
9611e52c01 Don't follow -1 entry points, they're bad mojo. 2013-02-02 16:22:54 -08:00
Unknown W. Brackets
31eeb3d50b Make sceKernelStartModule() do something.
Doesn't work right, but gets somewhere?
2013-02-02 16:22:33 -08:00
Unknown W. Brackets
ee17699e09 Fix a logic error in module load validation. 2013-01-31 00:02:52 -08:00
Unknown W. Brackets
72d4eb4d06 Blacklist the sceMpeg module, won't do good things... 2013-01-28 02:16:22 -08:00
Unknown W. Brackets
862c88d61a More warning fixes, switches and printfs, etc.
This time ones not reported by Visual Studio.
2013-01-19 18:32:37 -08:00
Unknown W. Brackets
140fd171ef Fix some 64-bit type conversion warnings. 2013-01-19 13:48:20 -08:00
YaPeL
9cde301f4d Wrap functions on HLETables 2013-01-12 15:17:35 -03:00
Unknown W. Brackets
0619f230b6 Cleanup some todos and logging in exports. 2013-01-08 00:32:25 -08:00
Unknown W. Brackets
559095230b Take the module info when starting the main module.
Fixes Ys Seven, Fieldrunners, Shadow of Destiny, maybe others.
2013-01-08 00:32:25 -08:00
Unknown W. Brackets
8cf759bbc4 Load the exports that tell us module info.
Thanks JPCSP.
2013-01-08 00:32:24 -08:00
Unknown W. Brackets
21cfd087e1 Move Action out of Common, don't use savedV0.
Compiler error was annoying me anyway.
2013-01-06 15:56:13 -08:00
Unknown W. Brackets
0d8bdfe989 Allow mipscalls to change the return value.
At least, seems like mpeg needs this.
2013-01-06 14:58:04 -08:00
Henrik Rydgard
67663d51b8 Implement sceKernelQueryModuleInfo 2013-01-05 19:43:51 +01:00
Arthur Blot
3847ea46a8 Better output for faked modules 2013-01-03 16:14:45 +01:00
Arthur Blot
e4ce0592c1 Make previous code cleaner 2013-01-02 19:42:15 +01:00
Arthur Blot
73de0e9494 Consider blacklisted modules as fake 2013-01-02 19:42:15 +01:00
Arthur Blot
1519600441 Implemented sceKernelLoadModuleByID, better logs 2013-01-02 19:42:15 +01:00
Unknown W. Brackets
bcecd881b1 Savestate cleanup + be more careful with vectors.
For some reason I debugged it going into std::string so I just made
them all more explicit which fixed everything.
2012-12-28 13:55:31 -08:00
Unknown W. Brackets
a8c9c31e16 Add a registry for actions so they can be stated.
Also add late loaders to ensure things are hooked up properly.
2012-12-28 13:55:26 -08:00
Unknown W. Brackets
3ed2045f6b Add state saving to tertiary kernel modules. 2012-12-28 13:55:25 -08:00
Unknown W. Brackets
595759ef78 Implement a factory for kernel objects.
Couldn't think of a better way to do this, maybe there's some fancy
one I don't know about.

Also finished up a couple left over kernel objects.

Maybe a quarter the way there?
2012-12-28 13:55:22 -08:00
Arthur Blot
8ed8f57a7f Hopefully fix all the ELF loading issues 2012-12-28 01:07:19 +01:00
Henrik Rydgård
b2f29992a3 Wrap some functions, clean some stuff 2012-12-26 08:52:40 +01:00
Unknown W. Brackets
ec753a3575 Fix some ignored error / shadowing warnings. 2012-12-21 16:23:21 -08:00
TMaul
b121749b39 Cleanup sceKernelModule 2012-12-13 11:40:56 +00:00
TMaul
1c15b70277 Various Cleanups
Make some sceFont functions fill in (fake) error codes

sceGeListSync seems to want a return value (fat princess, others)

Another missing sceKernelModule method (killzone)
2012-12-13 11:40:50 +00:00
TMaul
11156fe288 sceKernelStartModule return value change
Debatable if its a worthy change as its not a proper fix but gets
persona 3 further with media engine enabled.
2012-12-11 23:24:01 +00:00
TMaul
8bb756bcef Clean up sceKernelLoadModuleByID params
Might still be a bit wrong though.
2012-12-09 18:48:30 +00:00
TMaul
ff69c53710 sceKernelGetModuleIdByAddress update
sceKernelGetModuleIdByAddress will now look in the loaded modules and
find the one with the correct entry address. Makes no difference to any
games i've noticed so left marked as hack just in case it's wrong.
2012-12-09 18:48:28 +00:00
Henrik Rydgard
7720dc3f60 Various warning, logging, jit fixes 2012-11-17 19:56:28 +01:00