Commit Graph
2615 Commits
Author SHA1 Message Date
oioitff 852a07d347 Remove all dshow stuff. 2013-05-30 19:14:18 +08:00
oioitff b0a3f803e0 Add support for new atrac3plus decoder 2013-05-30 17:33:47 +08:00
Henrik Rydgård 9832e24e8a Merge pull request #1971 from tpunix/master
add sprx support (sceKernelLoadModuleNpDrm)
2013-05-28 23:34:34 -07:00
tpu 40926e5d5b make sceKernelLoadModuleNpDrm works. sprx can be load now. 2013-05-29 10:39:28 +08:00
Unknown W. Brackets 4d54ca03d0 Validate number of vblanks in multi wait.
Fixes #1922.
2013-05-28 07:39:41 -07:00
Henrik Rydgård 0abf322c1d Merge pull request #1961 from unknownbrackets/savestates
Fix some missing things from save states
2013-05-28 00:41:01 -07:00
Henrik Rydgård d6135ed452 Merge pull request #1960 from unknownbrackets/scheduling
Recalculate numWaitThreads all the time
2013-05-28 00:39:24 -07:00
Unknown W. Brackets c9e931e362 Save the state of the PGD info struct.
Not touching any of its internals.
2013-05-27 23:59:03 -07:00
Unknown W. Brackets 7cffcd2773 Correct TLS object save stating. 2013-05-27 23:48:31 -07:00
Unknown W. Brackets 77b0688d92 Recalculate numWaitThreads all the time.
Before, it could go negative by having a thread woken a second time
(e.g. because of a delete) before it actually scheduled and woke up.
2013-05-27 22:44:10 -07:00
Unknown W. Brackets fa69e5e646 Didn't need any special logic here after all. 2013-05-27 17:05:13 -07:00
Unknown W. Brackets 7b154f9a2e Fix VAG looping. 2013-05-27 16:48:59 -07:00
Unknown W. Brackets 91bdc0617e Return an invalid size error even for VAG = 0. 2013-05-27 12:19:19 -07:00
Unknown W. Brackets aeb2b23735 Validate volume inside sceSasSetVolume().
I wonder what a negative volume means?
2013-05-27 11:57:27 -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