Commit graph

653 commits

Author SHA1 Message Date
Henrik Rydgard
ebcb7af7cc Typo fix 2013-01-11 17:57:20 +01:00
Unknown W. Brackets
7c6fd04fa2 Clear the free packets when hitting end of video. 2013-01-11 01:13:03 -08:00
Henrik Rydgård
f2b56931e5 Merge pull request #396 from unknownbrackets/power
Some scePower callback fixes
2013-01-11 00:25:25 -08:00
Unknown W. Brackets
e680aa79cf Implement a basic scePowerGetBatteryLifeTime().
Was spamming the log in one game, just pretend we're plugged in for now.
2013-01-11 00:15:54 -08:00
Unknown W. Brackets
92f5ed82e6 Cleanup some functions in scePower. 2013-01-11 00:15:54 -08:00
Henrik Rydgård
fdc705cf1a Merge pull request #394 from KentuckyCompass/threaded_cwd
Threaded cwd
2013-01-11 00:05:27 -08:00
Henrik Rydgard
6ab6045baf Throw away unused FBOs. This gets rid of extreme slowness of Star Soldier on Nexus S for whatever reason. 2013-01-11 02:00:51 +01:00
KentuckyCompass
cd923ed13b helper function should be static 2013-01-10 16:25:30 -08:00
KentuckyCompass
320c0d06c3 Implement per-thread current directory 2013-01-10 16:18:02 -08:00
Henrik Rydgard
2f394fb7ed Fix logging bug 2013-01-11 00:59:17 +01:00
Henrik Rydgard
7390f2b5f6 Some realtime profiling stuff. Enable FZ (flush-to-zero) mode. 2013-01-11 00:13:39 +01:00
Henrik Rydgard
f3749d8abe Add kernelstats
Useful for finding out if some syscall takes unexpectedly much CPU.
2013-01-11 00:13:38 +01:00
Henrik Rydgard
10f69ed000 Don't lock the audio mutex if sound is off 2013-01-11 00:13:38 +01:00
Henrik Rydgard
479d1f5111 Draw using VBO. Add option, make default true. 2013-01-10 12:54:36 +01:00
Henrik Rydgard
3615b36a82 Store fcr0 and fcr31 in context (why was this commented out?) 2013-01-10 12:52:30 +01:00
raven02
1d4c4d103e Add remaining sceMp3 stubs and DoState 2013-01-10 14:29:37 +08:00
Mathias Tillman
f224b5d583 Started work on implementing sceMp3 functions 2013-01-09 22:42:22 +01:00
Unknown W. Brackets
7d28883a3f Quick mp3 crashfix.
Not heavily tested, but doesn't crash anymore and just fake anyway.
2013-01-09 01:44:51 -08:00
raven02
24ecce3649 Add some real stubs for sceMp3 2013-01-09 16:59:27 +08:00
Henrik Rydgård
28f22a2e26 Merge pull request #365 from raven02/master
Implement sceMpegUnRegistStream & sceMpegAvcDecodeStop &sceMpegChangeGetAuMode
2013-01-08 01:22:30 -08:00
raven02
72e9aed0fe Implement sceMpegChangeGetAuMode 2013-01-08 17:04:51 +08:00
Henrik Rydgård
eb8797dbc9 Merge pull request #364 from unknownbrackets/unknown-syscalls
Add a couple unknown syscalls hit in games
2013-01-08 00:51:33 -08:00
Henrik Rydgård
27cfde291d Merge pull request #362 from unknownbrackets/module-exports
Process module exports and listen to them
2013-01-08 00:50:03 -08:00
Unknown W. Brackets
da865e83dc Write an unknown syscall for unresolved imports. 2013-01-08 00:48:38 -08:00
Unknown W. Brackets
0619f230b6 Cleanup some todos and logging in exports. 2013-01-08 00:32:25 -08:00
Unknown W. Brackets
559095230b Take the module info when starting the main module.
Fixes Ys Seven, Fieldrunners, Shadow of Destiny, maybe others.
2013-01-08 00:32:25 -08:00
Unknown W. Brackets
8cf759bbc4 Load the exports that tell us module info.
Thanks JPCSP.
2013-01-08 00:32:24 -08:00
Unknown W. Brackets
79f9ebc2e1 Keep track of exported symbols and link them later. 2013-01-08 00:32:24 -08:00
Unknown W. Brackets
984663b882 Add a couple unknown syscalls hit in games.
Specifically Velocity and Mad Blocker Alpha.
2013-01-08 00:29:52 -08:00
raven02
8211637b4c Implement sceMpegUnRegistStream & sceMpegAvcDecodeStop 2013-01-08 16:25:50 +08:00
Henrik Rydgård
615a370d73 Merge pull request #361 from unknownbrackets/thread-funcs
sceKernelWaitThreadEnd(), ...ReleaseFromWait(), and warnings
2013-01-08 00:15:22 -08:00
raven02
ec190a8487 Add stubs for sceMp3 & sceMpeg 2013-01-08 14:02:58 +08:00
Unknown W. Brackets
1f21ea4236 Implement sceKernelReleaseWaitThread(). 2013-01-07 19:44:39 -08:00
Unknown W. Brackets
0eb13142aa Avoid calling thread->getName() in release builds.
Profile shows this will save a couple percentage points.
2013-01-07 18:09:26 -08:00
Unknown W. Brackets
138b3a0823 Add warnings to sceKernelCreateThread().
Trying to check when it's being misused.
2013-01-07 18:09:23 -08:00
Unknown W. Brackets
ea9e87b355 Correct error codes for sceKernelWaitThreadEnd(). 2013-01-07 15:43:37 -08:00
Mathias Tillman
a6f49c58ca Changed psmf to psmfStruct 2013-01-07 21:04:27 +01:00
Unknown W. Brackets
3b5d1efd56 Implement timeouts for sceKernelWaitThreadEnd(). 2013-01-07 11:11:23 -08:00
Unknown W. Brackets
666ba6ecc3 Properly set thread status on create/term/start. 2013-01-07 10:45:56 -08:00
Unknown W. Brackets
c88ae1e34c Make sceKernelWaitThreadEnd return the exit status.
Also fix the exit status not being recorded properly.
2013-01-07 10:31:19 -08:00
Unknown W. Brackets
5ac7f6a211 Clean up sceKernelWaitThreadEnd() wrappers. 2013-01-07 10:02:11 -08:00
Mathias Tillman
b780e39397 Fixed various potential bugs and compiler warnings 2013-01-07 15:57:19 +01:00
Unknown W. Brackets
9beb68e9d4 Stub some scePsmfPlayer funcs to make games work.
Intentionally left out of DoState to avoid breaking save states for
such a little stubbing.
2013-01-06 22:41:07 -08:00
Henrik Rydgård
8e91de7501 Merge pull request #348 from unknownbrackets/mpeg-fix
Fix games broken by the mpeg merge
2013-01-06 22:32:38 -08:00
Unknown W. Brackets
4bc987708b Fake the audio timestamp, games check it. 2013-01-06 20:25:31 -08:00
Unknown W. Brackets
b5b196ade4 Notice the end of video and error appropriately. 2013-01-06 19:54:42 -08:00
Unknown W. Brackets
39b91e906c Mpeg timestamps are in the wrong dword order. 2013-01-06 19:22:52 -08:00
Darth1701
d8d0893c41 Update Core/HLE/sceAtrac.cpp 2013-01-07 03:04:10 +01:00
Unknown W. Brackets
21cfd087e1 Move Action out of Common, don't use savedV0.
Compiler error was annoying me anyway.
2013-01-06 15:56:13 -08:00
Unknown W. Brackets
0d8bdfe989 Allow mipscalls to change the return value.
At least, seems like mpeg needs this.
2013-01-06 14:58:04 -08:00