Commit Graph

43 Commits

Author SHA1 Message Date
raven02
cff05e17a4 Consolidate pspUmdError/pspUmdType to header 2013-05-19 14:56:57 +08:00
Henrik Rydgard
23ad4c554a Fix small issue with open dialog path, remove dupe hle func, add and reorder some 2013-03-29 11:15:54 +01:00
Henrik Rydgard
e7027b6c9c win32: Add menu option to open memory stick directory 2013-03-28 20:19:10 +01:00
Henrik Rydgard
60d7ac3543 Stubs and error checks. Fix a bad NID in sceUmd. 2013-03-24 22:41:42 +01:00
Unknown W. Brackets
a3f93ed203 Fix some printf size warnings, signed warnings. 2013-03-02 15:34:15 -08:00
Unknown W. Brackets
4bb3da754b Umd typo fix, ouch. 2013-02-28 08:12:48 -08:00
Unknown W. Brackets
12a393f747 Update the umd callback right away.
This fixes umd/callbacks/umd.
2013-02-25 15:34:20 -08:00
Unknown W. Brackets
0b6574ce67 Properly wake threads on sceUmdActivate().
And also delay it a bit since the PSP seems to.
2013-02-25 14:04:48 -08:00
Unknown W. Brackets
64c42ffaf2 Fix some warnings generated by clang. 2013-02-24 10:23:31 -08:00
Unknown W. Brackets
2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Unknown W. Brackets
a6094e25ff Get rid of waitTypeStrings and resched reason copy. 2013-01-26 11:29:20 -08:00
Unknown W. Brackets
1cb7a88137 Don't use a dynamic string for wait debugging.
Happens in release, and shows up on the profiler.
Not huge, but should save ~0.5% of cpu time.
2013-01-26 11:29:19 -08:00
Unknown W. Brackets
43c8726554 Oops, 0 is a valid timer id. 2013-01-18 01:38:14 -08:00
Unknown W. Brackets
cd1d4367bf Save state of a bunch of small modules. 2012-12-28 13:55:28 -08:00
Unknown W. Brackets
9ba0ed46fd Always create CoreTiming timers during kernel init. 2012-12-23 21:27:26 -08:00
Henrik Rydgård
ce214b3943 Assorted warning fixes 2012-12-23 09:44:43 +01:00
Henrik Rydgard
3bd5cfed73 Work around for strange idling issue, various fixes 2012-12-17 23:33:24 +01:00
Henrik Rydgard
9acfd50139 Fix one cause of audio choppiness - we were dropping samples when audio functions blocked. Also some cleanup. 2012-12-17 20:15:23 +01:00
Unknown W. Brackets
bd7a9bab3e Correct UMD stuff based on callback cleanup.
Also, my tests got better because I learned how to test callbacks
better, so some of my mistaken assumptions from before are corrected.
2012-12-09 21:38:05 -08:00
Unknown W. Brackets
3d57a4c838 Cleanup some wrappers now that rescheds defer. 2012-12-09 01:04:54 -08:00
Unknown W. Brackets
5e8aa4c071 Implement deferred rescheduling/callbacks.
This way most HLE functions can be wrapped normally.  Hurray, sanity.
2012-12-09 01:04:53 -08:00
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