Commit Graph

69 Commits

Author SHA1 Message Date
Henrik Rydgård ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård 79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
sum2012 f3b0582750 Fix Sceumd
Fix Narisokonai Eiyuutan: Taiyou to Tsuki no Monogatari black screen
Fix The History Channel: Great Battles of Rome load probrem.
Fix Sora no Kiseki SC change disc issue
2013-12-21 07:15:35 +08:00
Unknown W. Brackets 183b4cb45c Add a static method for creating PSPPointers.
This is still kinda ugly, but the assignment thing was just too ugly, I
couldn't do it anymore.
2013-12-16 23:50:52 -08:00
Unknown W. Brackets 21c617a7be Correct some syscall names. 2013-12-02 23:40:16 -08:00
shenweip 13f979af8c Revert "Change state to ready when umdActivated is false."
This reverts commit 1c133ff5fe.
2013-11-26 18:23:08 +01:00
shenweip 3855773203 Change state to ready when umdActivated is false. 2013-11-26 18:20:33 +01:00
shenweip a611ed3930 Remount all references in Remount func. 2013-11-26 18:20:33 +01:00
shenweip 5ef34e37b4 DoState. 2013-11-26 18:20:33 +01:00
shenweip 7832cebacd CleanUp. 2013-11-26 18:20:33 +01:00
shenweip 4c6005545b Bugfix. 2013-11-26 18:20:33 +01:00
shenweip f6f81eca93 Add comments. 2013-11-26 18:20:33 +01:00
shenweip 9814b1d6d2 Add support for multiple disc. 2013-11-26 18:20:33 +01:00
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
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