Commit Graph

403 Commits

Author SHA1 Message Date
Xele02
41fed02c0e Add Save Delete and Delete List function 2012-12-09 19:33:18 +01:00
Xele02
63b0b61232 Change filesystem for mounted memory card
Clean some code and comment
2012-12-09 16:59:07 +01:00
Xele02
4fce289c02 Merge branch 'master' of https://github.com/hrydgard/ppsspp 2012-12-09 16:52:33 +01:00
Henrik Rydgård
454a6000c5 Let's try different audio buffer sizes 2012-12-09 19:58:35 +07:00
Henrik Rydgård
5e3590d94e Remove some RETURN, cleanup 2012-12-09 19:41:19 +07:00
Unknown W. Brackets
b6a7b04981 Cleanup deferred rescheduling in case it's tight.
Probably doesn't matter anyway.  But this reads cleaner I think.
2012-12-09 01:16:19 -08:00
Unknown W. Brackets
f145bafc7a Wrap a few of the sceKernel*Thread funcs. 2012-12-09 01:04:54 -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
92e519c24b Don't always reschedule after running callbacks.
When not waiting, usually only local callbacks are called.
Some functions are unique though.
2012-12-09 01:04:53 -08:00
Unknown W. Brackets
7044fafe84 Always run callbacks when rescheduling.
Not just when rescheduling because of a *CB() func.
2012-12-09 01:04:52 -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
ff7e1d7be9 Fix running threads in processing callbacks state.
ActionAfterMipsCall was setting it back when it saved it.
2012-12-09 01:04:51 -08:00
Unknown W. Brackets
9cd47e210b Callbacks: Don't trust s0 to retain the call id.
Patapon 2 at least was not during a call, preventing injection.
Hardware doesn't have to deal with injection so not a problem.
2012-12-09 01:04:51 -08:00
Unknown W. Brackets
771cf39811 Don't reschedule in sceKernelCheckCallback(). 2012-12-09 01:04:50 -08:00
Unknown W. Brackets
3f43ab5bb5 Callbacks are always fired on their own thread.
At least, as far as I can tell.  It does make sense too.
2012-12-09 01:04:50 -08:00
Unknown W. Brackets
ee1a729157 Turns out *CB() fires even when it succeeds. 2012-12-09 01:04:50 -08:00
Unknown W. Brackets
1a77b22e3a Implement priority signaling for semaphores. 2012-12-09 01:04:49 -08:00
Unknown W. Brackets
f9b561ee42 Implement priority unlocking for mutexes. 2012-12-09 01:04:49 -08:00
Henrik Rydgård
fefc229f15 Merge branch 'sas-clean-fix' of https://github.com/jacky400/ppsspp into jacky400-sas-clean-fix
Conflicts:
	Core/HLE/sceSas.cpp
2012-12-09 15:27:21 +07:00
jacky400
e585206551 Merge branch 'master' of https://github.com/jacky400/ppsspp into sas-clean-fix
Conflicts:
	Core/HLE/sceSas.cpp
2012-12-09 07:56:21 +08:00
Xele02
d37212c361 Savesystem with unencrypted data load/save.
Only on PC. Tested with Project Diva Extend on Linux Build
Save feature working : Autoload / Load / ListLoad / Autosave / Save / ListSave
Save files in ./SaveData/<GameID><SaveID>/ directory using PSP Like directory name
2012-12-08 23:39:47 +01:00
jacky400
6cef08fd72 Remove prefix in struct WaveformEffect 2012-12-08 21:07:21 +08:00
jacky400
ba83f0041a Make struct WaveformEffect 2012-12-08 17:29:53 +08:00
jacky400
bfb0108959 Change HACK to UNIMPL in sceAudio 2012-12-08 17:26:04 +08:00
jacky400
eff0f8663f Change HACK to UNIMPL in sceAudio 2012-12-08 17:24:44 +08:00
jacky400
b6b26e38f6 New functions for sceSas/sceVaudio .Massive checkup on all functions parameters and return value. 2012-12-08 16:09:10 +08:00
jacky400
be167141dd Update Core/HLE/sceSas.cpp 2012-12-08 16:05:11 +08:00
jacky400
5231dc0dda Update Core/HLE/sceSas.cpp 2012-12-08 16:02:21 +08:00
jacky400
86e21c248a Update Core/HLE/sceSas.cpp 2012-12-08 15:53:11 +08:00
jacky400
0739fd2370 Update Core/HLE/sceSas.cpp 2012-12-08 15:43:31 +08:00
jacky400
43a89fe4b7 Update Core/HLE/sceSas.cpp 2012-12-08 15:33:19 +08:00
jacky400
453182b7bc Update Core/HLE/FunctionWrappers.h 2012-12-08 14:22:47 +08:00
jacky400
e7cb558cb9 Update Core/HLE/sceSas.cpp 2012-12-08 14:13:41 +08:00
jacky400
414f103211 Cleanup and new function in SasCore 2012-12-08 11:36:07 +08:00
Unknown W. Brackets
5d8554b8af Fix sceSasCore* params which broke some games. 2012-12-07 09:53:18 -08:00
jacky400
17d32c2606 Add 3 functions in sceVaudio 2012-12-07 20:41:51 +08:00
Unknown W. Brackets
15c05dc08c Implement sceKernelTerminateThread(), not fully.
It's mostly correct but needs some tests and TLC.
This allows threads to be restarted.
2012-12-07 00:46:19 -08:00
Unknown W. Brackets
6fd71f5b27 Fix failed free issues with thread stacks. 2012-12-07 00:46:19 -08:00
Unknown W. Brackets
8bae2e0964 Cancel wakeup events when a thread ends. 2012-12-07 00:46:19 -08:00
Unknown W. Brackets
573aba2fb9 Refactor CoreTiming::Advance() slightly to cleanup. 2012-12-07 00:46:18 -08:00
Unknown W. Brackets
a67505761e Mutexes and semaphores were rescheduling twice.
This was causing it to "jump" the correct thread and go to the next.
2012-12-07 00:46:18 -08:00
jacky400
a24cc1dd9a Implement sceSasSetPause 2012-12-07 13:23:26 +08:00
jacky400
b61a672449 Add WrapU_UIC for sceSasSetPause 2012-12-07 12:59:30 +08:00
jacky400
c643345c71 Implement sceSasGetGrain and sceSasSetGrain 2012-12-07 12:45:16 +08:00
Henrik Rydgård
ef387dbd51 More buildfixing... 2012-12-07 01:46:17 +07:00
Henrik Rydgård
176849572b Merge pull request #138 from jacky400/master
Implemented setters for ADSR (Attack/Decay/Sustain/Release) envelope processing
2012-12-06 10:36:59 -08:00
jacky400
3055366e48 Small fix to sceSasSetSimpleADSR 2012-12-07 02:24:42 +08:00
Henrik Rydgård
99bdfcbcfa Merge pull request #140 from tmaul/master
Attempt to get some games going further
2012-12-06 10:20:47 -08:00