Commit Graph

46 Commits

Author SHA1 Message Date
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
Henrik Rydgard
5a48578a12 Rewrite audio line output. Now deterministic (from the game's POV) and smoother. 2012-11-17 14:20:59 +01:00
kev :)
0753643dc4 More stubs
And one possible hack..
2012-11-14 18:52:06 +00:00
Diogo Franco (Kovensky)
d2a0fcc38e Wrappers for LoadExecForUser 2012-11-12 00:43:48 +00:00