Unknown W. Brackets
7d17ed8a8e
Correctly shutdown dialogs on game reset.
2013-05-31 01:41:04 -07:00
Unknown W. Brackets
ee751d6fdd
Buildfix for Linux, fixes #1994 .
2013-05-30 22:42:27 -07:00
Henrik Rydgard
572eb26305
Merge branch 'master' into makotech222-cwcheat
...
Conflicts:
Core/Core.vcxproj.filters
Core/HLE/__sceAudio.cpp
Core/HLE/sceKernel.cpp
2013-05-30 19:11:20 +02:00
lioncash
85098289e8
Fix improper clearing of the sample queue in sceAtrac.cpp
2013-05-30 12:15:17 -04:00
lioncash
743f5185b8
Missed including this in the __KernelSwitchContext null check fix.
...
This shouldn't be called if target is null.
2013-05-30 11:55:29 -04:00
lioncash
81a91fbcbb
Ensure code inside method __KernelSwitchContext in sceKernelThread.cpp isn't unintentionally executed.
...
The null check around line 2935 for target also makes me think this was supposed to have been done.
2013-05-30 11:47:10 -04:00
Henrik Rydgard
2bdb338bf5
Turn down some excessive logging.
2013-05-30 16:21:53 +02:00
King_DuckZ
61500281a9
Warning fix on Intel compiler.
2013-05-30 15:42:11 +02:00
King_DuckZ
1455452850
Trailing whitespaces removed.
2013-05-30 15:42:11 +02:00
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