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
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
gigaherz
d66f315902
Add a null check to the filename in sceKernelLoadModule.
2012-11-10 12:16:23 +01:00
Henrik Rydgard
259b169bbc
Implement a few more little things
2012-11-08 16:28:45 +01:00
Henrik Rydgard
caacaf6744
Just a few small things
2012-11-07 20:59:56 +01:00
Henrik Rydgard
117256e07b
Implement various hle stuff..
2012-11-07 19:10:52 +01:00
Henrik Rydgard
baa11aede8
Zero terminate the filename passed to the root thread
2012-11-07 16:45:21 +01:00
Henrik Rydgard
aea0580297
More reworking of Callbacks, plus some other little fixes.
2012-11-07 15:44:48 +01:00
Henrik Rydgard
00fc7754c6
CMakeLists fix, rebooting fix
2012-11-06 22:04:00 +01:00
Henrik Rydgard
c61d10363a
Rewrite callback handling, part 1. All sorts of other fixes too.
2012-11-06 15:46:46 +01:00
Arthur Blot
6a1af73b37
Better module blacklisting, export fix
2012-11-05 18:03:02 +01:00
Arthur Blot
d0542e3531
Fixed a few issues related to encrypted PRXes
2012-11-05 16:56:40 +01:00
Henrik Rydgard
ac910d7e75
Fix Windows and Android builds.
2012-11-05 15:42:21 +01:00
Arthur Blot
5b5618d32d
Added ~PSP decryption system using kirk-engine
2012-11-05 14:59:38 +01:00
Henrik Rydgard
6f85f02e25
Module loading fixes - proper module blacklisting, correct some error codes
2012-11-05 12:02:09 +01:00
Henrik Rydgard
8f751efe4d
Don't load modules that we have HLE implementations of.
2012-11-05 10:25:28 +01:00
Henrik Rydgard
b214a1a1da
Revert "Better wrapper system, and fixed warnings"
...
This reverts commit a00b1855cb6427f8eb36341137dbb81004ff29fd.
Conflicts:
Core/HLE/FunctionWrappers.h
Core/HLE/sceCtrl.cpp
Core/HLE/sceKernelModule.cpp
2012-11-05 10:05:09 +01:00
Henrik Rydgard
6bed1afb72
Merge branch 'master' of https://github.com/artart78/ppsspp into artart78-master
2012-11-04 23:59:26 +01:00
Henrik Rydgard
64cc573703
Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK.
2012-11-04 23:24:00 +01:00
Arthur Blot
9be8be6b7f
Implemented sceKernelLoadModule()
...
Note that it wasn't tested because all the games I tested had other problems (already implemented modules, encrypted modules, using different functions etc).
But code looks good so it'd probably need few (no?) fixes.
2012-11-04 19:01:20 +01:00
Arthur Blot
6f391515a6
Redid some things about callbacks, and made easy bugfixes
2012-11-04 17:32:55 +01:00