Commit graph

907 commits

Author SHA1 Message Date
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
Henrik Rydgård
b3b30ef186 Fixed buildfix (i removed the last one, it was bogus) 2013-01-10 10:01:48 +01:00
Henrik Rydgård
c20d8aedb5 Merge pull request #383 from leejuiping/ssaa
Implement a simple SSAA function for Windows
2013-01-10 00:39:46 -08:00
Henrik Rydgård
653a8f8775 Merge pull request #384 from raven02/mp3-new
Add remaining sceMp3 stubs and DoState
2013-01-10 00:37:03 -08:00
raven02
1dc49bad8f Save Mode 22 name fix 2013-01-10 14:34:11 +08:00
raven02
1d4c4d103e Add remaining sceMp3 stubs and DoState 2013-01-10 14:29:37 +08:00
J.P. Lee
eda8252d7d Implement a simple SSAA function
Seems that 2x has the best effect for now but this is not the best way
of implementing AA function because it requires much greater video card
memory and memory bandwidth than other avaible methods like MSAA, CSAA
etc.
2013-01-10 10:28:49 +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
Henrik Rydgård
018b6ef02d Merge pull request #370 from unknownbrackets/lbn
Fix sce_lbn handling
2013-01-09 01:34:56 -08:00
Unknown W. Brackets
d26bebc685 Return an error if the raw lbn is too high. 2013-01-09 01:13:38 -08:00
raven02
24ecce3649 Add some real stubs for sceMp3 2013-01-09 16:59:27 +08:00
Unknown W. Brackets
6327c6e629 Make filesystem prefix matching case fold.
Even Ms0:/, disC0:/ and HoSt0:/ etc. work.
2013-01-09 00:57:44 -08:00
Unknown W. Brackets
3e3e9b761f Fix it so headless can actually mount isos. 2013-01-09 00:46:47 -08:00
Unknown W. Brackets
b7be025bde Fix basic seeking within an lbn raw file. 2013-01-09 00:45:59 -08:00
Unknown W. Brackets
a59fe8eb0f Fix sce_lbn parsing for missing 0x, etc. 2013-01-09 00:10:52 -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
Darth1701
3d934292b9 Update Core/Loaders.cpp 2013-01-07 09:10:05 +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