Commit Graph

122 Commits

Author SHA1 Message Date
Unknown W. Brackets 000884fadb Reschedule in sceUmdWaitDriveStatCB().
__KernelForceCallbacks() used to be it shouldn't.
2012-12-09 01:04:53 -08:00
Unknown W. Brackets fda41752e8 Simplify the API for HLE funcs to do callbacks.
__KernelWaitCurThread() already (ultimately) calls __KernelCheckCallbacks.
2012-12-09 01:04:52 -08:00
Unknown W. Brackets 9e8160c88b Correct sceUmdGetDiscInfo().
The struct was wrong, also add error handling.
2012-12-02 00:33:39 -08:00
Unknown W. Brackets e5f1d701e3 Don't unregister a different UMD callback, cleanup. 2012-12-02 00:20:28 -08:00
Unknown W. Brackets 9ba9415df4 Change the UMD callback on overwrite. 2012-12-01 23:48:11 -08:00
Unknown W. Brackets 51a4ed4f75 Reschedule when activating/deactivating the UMD.
This is what a PSP seems to do.
2012-12-01 23:29:25 -08:00
Unknown W. Brackets 00ca9d8dc7 Make the UMD wait funcs actually wait. 2012-12-01 23:29:24 -08:00
Unknown W. Brackets eaaedc7adc This notify isn't needed and was broken anyway. 2012-12-01 23:29:24 -08:00
Unknown W. Brackets 1142ad3ec6 sceUmdDeactivate() seems to always schedule a cb. 2012-12-01 23:29:23 -08:00
Unknown W. Brackets 4abcb6a8ac Fix sceUmdWaitDriveStatCB() so it fires right away.
This makes Crisis Core actually show loading again.
2012-12-01 23:29:23 -08:00
Unknown W. Brackets c00f3dcdd8 Implement sceUmdCancelWaitDriveStat(). 2012-12-01 23:29:22 -08:00
Unknown W. Brackets f3e23f2672 Add some asserts for activating UMDs. 2012-12-01 23:29:22 -08:00
kev :) d04fb7cb50 A bit more clean up on umd callbacks
Just error checking based on some tests
2012-11-18 21:28:26 +00:00
kev :) 03bc871f56 sceDisplayWaitVblankStartMultiCB()
This is wrong but better than having nothing in the method. The one game
I have found that uses this seems to be ok with this implementation.
2012-11-18 20:13:27 +00:00
kev :) 48bd2ccc08 Attempt at UMD callbacks.
Helps a few games but needs more work.
2012-11-18 19:34:10 +00:00
Unknown W. Brackets cc58a9bd35 Wrap some of the sceUmd* HLE functions.
Intentionally skipped unimpl funcs.  Also skipped sceUmdCheckMedium
because docs online said it takes no param, but code says it does.
2012-11-11 14:47:28 -08: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 cf098dfd67 UMD callbacks, a couple of NIDs 2012-11-07 15:44:13 +01:00
Henrik Rydgard aca35fc96c More fixes and logging improvements 2012-11-06 18:56:56 +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
Henrik Rydgard 4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00