Commit Graph
1493 Commits
Author SHA1 Message Date
Unknown W. Brackets 7cffcd2773 Correct TLS object save stating. 2013-05-27 23:48:31 -07:00
raven02 c41ac3659f Move low level atrac3 audio WARN_LOG to sceAtracLowLevelInitDecoder 2013-05-27 20:38:31 +08:00
oioitff f158eed95b Build fix, sorry. 2013-05-27 18:18:20 +08:00
oioitff 8ca79f8959 Implement low level atrac3 decoder. 2013-05-27 16:49:00 +08:00
Henrik Rydgård 8f8650f747 Merge pull request #1940 from unknownbrackets/mpeg-fix
Fix videos that never end
2013-05-27 00:08:06 -07:00
Henrik Rydgård 8e6c093eec Merge pull request #1938 from unknownbrackets/symbol-map
Symbol map fixes
2013-05-27 00:06:40 -07:00
Unknown W. Brackets f397f83b4f Buildfix for Mac / iOS. 2013-05-26 19:02:40 -07:00
Unknown W. Brackets 4f069a23d9 Since we don't use readlength yet, don't add it.
This would actually go negative often enough, making us consume packets
more slowly than we should, or even never finish consuming.  4 is probably
too small, though.
2013-05-26 17:59:13 -07:00
Unknown W. Brackets 1beb19f827 Clear the debug symbol map on shutdown.
Instead of polluting the next game.
2013-05-26 16:29:21 -07:00
Unknown W. Brackets 71cd80b64d Remove comment. 2013-05-26 11:45:49 -07:00
Unknown W. Brackets 0b2a112212 Initial implementation of sceKernelStopModule().
Not perfect but should be functional.
2013-05-26 11:30:22 -07:00
Unknown W. Brackets 0d828554bc Add a wait type for modules to handle return right. 2013-05-26 10:54:11 -07:00
Unknown W. Brackets 727b3b4127 Get rid of the "root" return hack. 2013-05-26 10:36:18 -07:00
Unknown W. Brackets c34854ead3 Use a custom RA for module funcs. Not used yet.
But it will be.
2013-05-26 10:28:08 -07:00
Unknown W. Brackets a779645152 Wrap sceKernelGetThreadExitStatus().
So it's usable internally too.
2013-05-26 10:17:59 -07:00
Henrik Rydgård 138c3fb835 Merge pull request #1927 from unknownbrackets/scheduling2
Implement suspend/resume HLE for threads
2013-05-26 03:06:42 -07:00
Henrik Rydgård 49d9af1176 Merge pull request #1924 from unknownbrackets/scheduling
Fix sceKernelWakeupThread
2013-05-26 03:05:01 -07:00
Unknown W. Brackets 2c4254d0c8 Disallow suspend/resume on current thread.
Might be some extra subtle things with callbacks/interrupts here...
2013-05-26 02:25:53 -07:00
Unknown W. Brackets e6795b1a41 Initial attempt at a suspend/resume thread impl. 2013-05-26 01:01:29 -07:00
Unknown W. Brackets 690e52bc34 Make sure we keep the suspend state around.
I assume it sticks around in this case.
2013-05-25 23:57:04 -07:00
Unknown W. Brackets 2f69378bf6 Return the moduleId in sceKernelUnloadModule().
Final Fantasy 4 very clearly requires this.
2013-05-25 21:07:41 -07:00
Unknown W. Brackets ac7bfcb6ef Report unfinished code in sceKernelAllocateTls(). 2013-05-25 20:43:47 -07:00
Unknown W. Brackets 084ad5aa53 Wrap the sleep/wakeup HLE funcs. 2013-05-25 20:43:19 -07:00
Unknown W. Brackets 8adf1e9ede Properly return success in sceKernelWakeupThread().
Fixes #1596, fixes #1796, possibly others.  I can't believe how long
I stared at this code and debugged it without noticing such a simple
thing...
2013-05-25 20:28:22 -07:00
Unknown W. Brackets 50c085401a Remove UNIMPL from FileTime funcs, they work now. 2013-05-25 19:15:15 -07:00
Unknown W. Brackets f24b4ef7de Implement the sceRtc*Win32FileTime() funcs. 2013-05-25 17:27:34 -07:00
Unknown W. Brackets 2304e9253e Make sure not to use invalid module start params.
If there's a 0, those parameters are not likely valid.
2013-05-25 15:15:29 -07:00
Henrik Rydgard 5c416d80c7 Fix PSP_UMD_TYPE_GAME... 2013-05-24 19:52:46 +02:00
raven02 84ccfde2ef Fix crash when low level decode hits atrac3 audio 2013-05-24 23:20:14 +08:00
raven02 95cbd3c50c Add (low level) to distinguish with high level decode 2013-05-24 22:43:10 +08:00
raven02 104c20d787 Add atrac3+ mono audio WARN_LOG when atrac->atracChannels == 1 2013-05-24 23:33:22 +09:00
Henrik Rydgård b9c21d32f0 Merge pull request #1894 from CPkmn/kernel
Improve sceKernelStartModule handling
2013-05-24 07:16:12 -07:00
CPkmn b9a72b99e2 Update sceKernelModule.cpp 2013-05-24 08:06:31 -06:00
raven02 bc1c83afc6 Integrate atrac3+ low level decoding from oioitff media branch 2013-05-24 21:15:51 +08:00
Unknown W. Brackets b4eec4dca7 Perform the actual variable relocations, hurray. 2013-05-24 01:45:08 -07:00
Unknown W. Brackets 8d71f33aae Keep track of imported/exported vars.
Not yet actually linked up, though.
2013-05-24 00:03:39 -07:00
Unknown W. Brackets 45b72c8b4a Add a couple more unknown syscalls. 2013-05-23 23:41:10 -07:00
Unknown W. Brackets fe4bd8f66c Add more logging to elf loading, cleanup. 2013-05-23 23:41:10 -07:00
Henrik Rydgård 2bf1beb8d8 Merge pull request #1898 from oioitff/audio-fix
Implement pcm voice correctly
2013-05-23 13:14:20 -07:00
oioitff 455708bbc3 Fake implement low level atrac decoder. 2013-05-24 01:00:27 +08:00
oioitff 67eeb112a9 Normally, remainFrame is not less than 0. 2013-05-24 00:55:10 +08:00
oioitff 99f8041375 Implement pcm voice correctly. 2013-05-24 00:42:15 +08:00
CPkmn d051e25b70 Update sceKernelModule.cpp 2013-05-23 10:25:13 -06:00
Henrik Rydgard 0e77b44130 Buildfix 2013-05-23 13:50:31 +02:00
CPkmn f83e19aa2d Update sceKernelModule.cpp 2013-05-23 01:36:23 -06:00
Henrik Rydgård 42cf3a5c80 Merge pull request #1888 from raven02/patch-28
Keep the High/low water marks the same for all platform
2013-05-23 00:35:56 -07:00
Henrik Rydgård bd9313eaee Merge pull request #1846 from raven02/patch-22
Consolidate pspUmdError/pspUmdType to sceUmd.h
2013-05-23 00:35:38 -07:00
CPkmn 1150b794bf Improve sceKernelStartModule handling
Fixes 'bogus priority' errors (and maybe more).
Tested on God Eater Burst and fixed its "bogus priority". I haven't found any games this breaks.
2013-05-23 00:31:30 -07:00
Henrik Rydgard 0ed09532f9 Quick sceMd5 implementation, needs tests 2013-05-22 11:05:30 +02:00
Unknown W. Brackets 8580780194 Add more unknown syscalls from reporting. 2013-05-22 01:19:25 -07:00