Commit Graph
5276 Commits
Author SHA1 Message Date
raven02andraven02 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
Henrik Rydgard 9dcdb6df90 Jit work! Shifts, 3-operand ops, turn O2 back on... 2013-01-10 01:20:25 +01:00
Henrik Rydgard 71652874c2 Fix jit bugs related to the dirty flag, and more:
* Tweak block logging
* Faster calls-to-interpreter.
2013-01-10 00:03:51 +01:00
Henrik Rydgard 209f1d79a9 SpillLock is now per MIPS register instead of per ARM register. Fix array size. 2013-01-09 23:14:21 +01:00
Henrik Rydgard fb7116ccd5 Add more checks. 2013-01-09 22:55:58 +01:00
Henrik Rydgard 2f4e6eaf01 Remove allocLock until we need it 2013-01-09 22:46:27 +01:00
Mathias Tillman f224b5d583 Started work on implementing sceMp3 functions 2013-01-09 22:42:22 +01:00
Henrik Rydgard dafe2c389c More regalloc fixing and tweaks. Still not working the way I want it. 2013-01-09 13:38:44 +01:00
Henrik Rydgard 17210c5364 Generate immediates as rot+shift when possible. 2013-01-09 11:52:49 +01:00
Henrik Rydgard dafc9f62df Regcache fixes, etc. thing still don't work when I turn on addiu :( 2013-01-09 11:20:48 +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 Rydgard ea3055322c Oops 2013-01-09 00:45:54 +01:00
Henrik Rydgard 789c4781c0 Merge remote-tracking branch 'origin/master' into armjit
Conflicts:
	Core/HLE/sceKernelThread.cpp
2013-01-09 00:43:44 +01:00
Henrik Rydgard 81c6c4805d Small dispatcher optimizations, cleanup. Still no cube. 2013-01-09 00:42:03 +01:00
Henrik Rydgard f5c94775b9 Cleanup 2013-01-09 00:12:02 +01:00
Henrik Rydgard 76481a300c Icache must be invalidated. Jit now starts to run, but there's no cube in cube.elf! 2013-01-08 23:52:11 +01:00
Henrik Rydgard 8915677241 More progress but it weirds out... 2013-01-08 21:24:42 +01:00
Henrik Rydgard e3a4ed510c Fix bug in x86 jit :) 2013-01-08 19:30:28 +01:00
Henrik Rydgard 8c06edc47b It's getting close to the first totally unoptimized jit run. 2013-01-08 17:03:17 +01:00
Henrik Rydgard b78ad83f00 R10, not R9, points to the mips state... 2013-01-08 14:29:03 +01:00
Henrik Rydgard 7b4cfb702c Get rid of CPU class so that MIPSState can be POD, enabling offsetof 2013-01-08 14:20:06 +01:00
Henrik Rydgard b3fd1ff34c Lots of various work on the ARM jit. It executes a couple of blocks now. 2013-01-08 13:49:52 +01: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
raven02andraven02 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
raven02andraven02 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
Henrik Rydgard 5a7f4acc06 More armjit work 2013-01-08 00:26:42 +01:00
Henrik Rydgard a2ff416534 Rename files. Rewrite ArmRegCache from scratch. 2013-01-07 22:33:09 +01:00