Commit Graph
56 Commits
Author SHA1 Message Date
Unknown W. Brackets 301884428f Buildfixes for Symbian and iOS/etc. 2013-09-15 08:18:20 -07:00
Unknown W. Brackets 50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets be468af52d Refactor waiting thread removal. 2013-09-09 00:22:00 -07:00
Unknown W. Brackets 87bd8d59e2 Clean up umd bad callback id errors, oops. 2013-09-09 00:21:53 -07:00
Unknown W. Brackets 64b75ed3ff Decentralize callback registration.
Callbacks are always tied to THEIR thread, and the registration was all
based on the current thread which is just not the right way.
2013-09-09 00:21:15 -07:00
Unknown W. Brackets 5ec297c16c Properly cancel waits in sceUmd. 2013-09-08 11:24:21 -07:00
Henrik Rydgard 8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Unknown W. Brackets a9a42b315c Fix a bad comparison, duh. 2013-09-06 01:13:55 -07:00
Unknown W. Brackets 4ac0f7a345 Handle it better when umd waits trigger during cbs. 2013-09-03 01:21:52 -07:00
Unknown W. Brackets 15a0f39fa1 Return yet more errors while inside interrupts. 2013-08-28 23:15:13 -07:00
Unknown W. Brackets 211c2bd955 Refuse a few more waits w/ dispatch/intr disabled. 2013-08-28 22:35:05 -07:00
Unknown W. Brackets 9a241e8e24 Add a couple new HLE functions for logging. 2013-07-31 00:01:21 -07:00
Unknown W. Brackets ed19d77d49 Specify memory layout in sceUmd. 2013-07-27 15:45:07 -07:00
raven02andJacky TSUI 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