Commit Graph

1151 Commits

Author SHA1 Message Date
Claus Østergaard
aa5996d028 File seek beyond file size should not fail
This caused Ridge Racer 2 to freeze after a few seconds
2013-01-25 13:13:32 +01:00
Henrik Rydgård
0c4b7905ac Merge pull request #488 from Xele02/sceRtc
Make sceRTC pass the tests.
2013-01-25 01:16:30 -08:00
Henrik Rydgård
0f080aeaaa Merge pull request #492 from unknownbrackets/jit-minor
ALU jit optimizations
2013-01-25 01:01:34 -08:00
Henrik Rydgård
d062e3cc83 Merge pull request #490 from unknownbrackets/jit-nice-delays
Nice delay slots, ahoy
2013-01-25 00:57:13 -08:00
Unknown W. Brackets
a7c6f46829 Optimize and/or 0 to just a mov in x86 jit. 2013-01-25 00:25:40 -08:00
Unknown W. Brackets
ab9bea068c Jit reg+reg compile time, and avoid flushing EDX. 2013-01-25 00:16:55 -08:00
Unknown W. Brackets
ce5f393fb8 Hit immediates in the ALU better and more simply. 2013-01-25 00:16:55 -08:00
Unknown W. Brackets
2748437032 Add support for FPU and VFPU for nice delay slots. 2013-01-24 20:18:18 -08:00
Unknown W. Brackets
f7ebddc4a3 Whitelist common delay slot ops with outreg info. 2013-01-24 19:59:33 -08:00
Unknown W. Brackets
d1909a1581 Add a quick disable define for nice delay slots. 2013-01-24 19:11:03 -08:00
raven02
7ccb87d11e Fix sound too fast issue 2013-01-25 08:48:28 +08:00
Xele02
0e69cd92c7 Make sceRTC pass the tests. 2013-01-25 01:40:38 +01:00
Unknown W. Brackets
75cbe18afc Simplify nice delay slot detect, and yes for noop.
NOOP seems very common so this should already benefit speed a bit.
2013-01-24 08:29:32 -08:00
raven02
3672214811 Comment int src 2013-01-24 23:43:26 +08:00
Unknown W. Brackets
2eba209f64 Move around the jit nice delay slot logic.
Nice delay slots don't not save flags, they run before the CMP.
2013-01-24 07:31:51 -08:00
raven02
faaa837ca2 Use u32 for leftVolume/rightVolume/format 2013-01-24 23:31:30 +08:00
raven02
2a1e366d33 Implement sceAudioSRCChReserve/Release/OutputBlocking 2013-01-24 23:29:49 +08:00
raven02
ae9fcb5a6f Fix high pitch noise and looping issues in few games 2013-01-24 20:13:12 +08:00
raven02
f6598d2cd6 Add psmfPlayerLastTimestamp to psmfplayer 2013-01-24 19:40:26 +08:00
raven02
8d94f84464 Fix black intro for Naruto Shippuden Kizuna Drive 2013-01-24 19:21:32 +08:00
Unknown W. Brackets
3444fc8981 Avoid some memory writes on jr.
Should improve tight mips function loops a bit.
2013-01-24 01:23:50 -08:00
Henrik Rydgård
45576328b2 Merge pull request #483 from unknownbrackets/psmfplayer-fix
For now, finish the psmf immediately
2013-01-24 00:17:37 -08:00
Unknown W. Brackets
38472b33ea For now, finish the psmf immediately.
Eventually we need to handle it more correctly.
2013-01-23 23:59:13 -08:00
Unknown W. Brackets
c1757ee166 Check downcount in jit after a syscall. 2013-01-23 22:25:35 -08:00
Henrik Rydgard
cb7f803866 Attempt to set more correct return values for sceDisplayWaitVblank* 2013-01-23 18:46:59 +01:00
raven02
9bc8a2e7cd Buildfix 2013-01-23 21:46:49 +08:00
Darth1701
06796c31b3 Update Core/HLE/FunctionWrappers.h
Buildfix
2013-01-23 13:07:51 +01:00
Henrik Rydgård
663322f830 Merge pull request #477 from raven02/master
Add error handling ERROR_SAS_INVALID_SIZE and ERROR_SAS_VOICE_PAUSED
2013-01-23 01:19:38 -08:00
raven02
0ea7877b66 Add missing stubs fro sceImpose 2013-01-23 16:55:52 +08:00
Henrik Rydgård
0d67acc52b Merge pull request #475 from Xele02/sceRtc
Implement sceRtcGetDosTime and sceRtcSetDosTime
2013-01-23 00:32:34 -08:00
Henrik Rydgård
262af9b13a Merge pull request #479 from unknownbrackets/psmfplayer-fix
Make scePsmfPlayerCreate create psmfPlayers
2013-01-23 00:30:56 -08:00
raven02
1749a9b5ae Put core as first paraemeter for DEBUG_LOG 2013-01-23 16:19:44 +08:00
Unknown W. Brackets
de1cb3fbca Make scePsmfPlayerCreate create psmfPlayers. 2013-01-22 23:44:23 -08:00
Unknown W. Brackets
d791f960a0 Hack to prevent games from lagging on atrac errors. 2013-01-22 23:01:10 -08:00
raven02
7346c4a042 Add error handling ERROR_SAS_INVALID_SIZE and ERROR_SAS_INVALID_PAUSED 2013-01-23 14:50:36 +08:00
Unknown W. Brackets
109764b17e Return a fake id for *AndGetID() atrac funcs. 2013-01-22 22:34:46 -08:00
Xele02
fff581aa88 Implement sceRtcGetDosTime and sceRtcSetDosTime. Pass the test.
This was RE since the values to return are not logic at all.
2013-01-23 01:25:32 +01:00
Xele02
8e719d4c8c Log in all build game output. This can help debugging with user log. 2013-01-23 01:20:38 +01:00
Henrik Rydgard
29f1ae5f70 add skeleton implementation of "cache" instruction 2013-01-22 22:03:41 +01:00
Henrik Rydgard
82d5ae021e VFPU: cap/floor float-to-int conversion instructions 2013-01-22 22:03:40 +01:00
Henrik Rydgard
0005fe1c5f Optional logging (ifdef) of cache calls for debugging 2013-01-22 22:03:40 +01:00
Henrik Rydgard
a75e85aa3c Hacky implementation of sceVaudio, whatever the point of that API is... 2013-01-22 22:03:40 +01:00
Unknown W. Brackets
dbe597ce64 Buildfix Android, darn. 2013-01-22 08:23:27 -08:00
Unknown W. Brackets
0e33923844 Belt and suspenders check for branch ops. 2013-01-22 08:11:37 -08:00
Unknown W. Brackets
c324983340 Make the jit support bltzal and friends.
Fixes problems with jit in games.  Android changes completely untested.
2013-01-22 08:04:01 -08:00
KentuckyCompass
83fa725424 std::string is not UTF8-aware 2013-01-22 06:59:22 -08:00
KentuckyCompass
9ce1887566 fix a bad format string in a DEBUG_LOG 2013-01-22 06:39:06 -08:00
KentuckyCompass
f9a843fb28 add case insensitivity to GetDirListing 2013-01-22 06:31:42 -08:00
Henrik Rydgård
c2b7fe29df Merge pull request #468 from unknownbrackets/jit-match
Match the interpreter better in jit
2013-01-22 00:43:59 -08:00
Xele02
2d94b3415e Make sceRtcGetDayOfWeek pass the test. 2013-01-22 08:55:01 +01:00