Commit Graph
7530 Commits
Author SHA1 Message Date
Henrik Rydgard f30a052fdc Default "ShowTouchPause" to true on Windows - makes sense on tablets. 2014-06-24 00:46:03 +02:00
Henrik Rydgard e444e21a8a Oops 2014-06-23 22:56:12 +02:00
Henrik Rydgard b4a9780b81 Typo fix 2014-06-23 22:51:22 +02:00
Henrik Rydgard 8e7570e8cd Improve some error messages 2014-06-23 21:42:31 +02:00
Henrik Rydgard ae09b521c3 Logging reductions 2014-06-23 20:05:12 +02:00
Unknown W. Brackets 24d8a34a0b Properly respect resolveReplacements.
And use the same opcode reading func in armjit as x86jit.
Fixes Star Ocean on Android.
2014-06-23 08:20:38 -07:00
Unknown W. Brackets ec94498342 When scanning or relocating, check replacements.
Just to make sure we don't wrongly detect the length or unresolve a var
wrong etc.
2014-06-23 08:18:56 -07:00
Henrik Rydgård 1a830b1b60 Merge pull request #6402 from unknownbrackets/gpu-minor
Fix render-to-tex when format temporarily mismatches
2014-06-23 08:35:15 +02:00
Henrik Rydgård 5436d2f935 Merge pull request #6403 from unknownbrackets/sched-cycles
Eat cycles when context switching and delaying
2014-06-23 08:34:28 +02:00
Unknown W. Brackets 17496330ce Don't wake a killed list in ge callback end.
Fixes #3198, some homebrew demos locking up.
2014-06-22 23:21:10 -07:00
Unknown W. Brackets 633120b895 Fix a crash on read from stdin.
Found in a homebrew demo.
2014-06-22 23:18:39 -07:00
Unknown W. Brackets 5e8716f9cc Adjust strlen() cycle approximation.
The hashed implementations take several cycles per character.
2014-06-22 23:18:06 -07:00
Unknown W. Brackets c1e293fe7c Fix a warning on 32-bit that might be bad... 2014-06-22 22:17:48 -07:00
Unknown W. Brackets 392edb4f84 Eat some cycles when switching threads.
There's a cost and it seems to be at least this much.  Matters for
Wipeout Pure when callbacks are allowed to wait.
2014-06-22 22:17:47 -07:00
Unknown W. Brackets 6d104edb5d Make sure not to leak any enabled vertex arrays.
When returning to EmuScreen, we need to reset any enabled vertex arrays or
we could crash in EmuScreen.  Also, when starting a frame / dirting the
shader, make sure also to toggle the vertex arrays.
2014-06-22 21:42:29 -07:00
Unknown W. Brackets e8803c4e9b Improve sceKernelDelayThread() timing.
A delay of 0 never reschedules, actually, unless there's a better priority
thread.  A greater delay depends on if a >= or similar check matches, but
generally is at least 200us.

It seems like this actually completes in at least another 10-20us.
2014-06-22 19:47:54 -07:00
Unknown W. Brackets 8851fc1685 Remove savedIdRegister/MIPS_CALL_ID.
We've never trusted it anyway, simpler without dealing with this stuff.
2014-06-22 11:29:47 -07:00
Unknown W. Brackets 47ad97617e Play AT3 files in background audio too.
Fixes 3rd Birthday and PQ2, at least.
2014-06-22 09:55:14 -07:00
Henrik Rydgard 8c36921d3c Have SimpleAudio respect channels/samplerate passed in 2014-06-22 18:33:09 +02:00
Henrik Rydgard dc66e18c00 Minor perf fix in SimpleAudio: Lazily create resampling contexts once instead of every audio frame 2014-06-22 17:50:47 +02:00
Henrik Rydgard cefc0bc96f Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen". 2014-06-22 17:02:04 +02:00
Henrik Rydgard 12cef8fa80 Oops, buildfixes 2014-06-22 14:23:06 +02:00
Henrik Rydgard 1d0cc3417c Audio stuff: Cleanup, delete dead code 2014-06-22 14:01:23 +02:00
Henrik Rydgard 2236b3a52b sceAtrac3 minor cleanup: Get rid of mutable globals, add another sanity check with reporting 2014-06-22 10:42:27 +02:00
Henrik Rydgard 6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
Henrik Rydgård b5435260b0 Merge pull request #6389 from unknownbrackets/intrman
Correct error codes and dup checks in inter registration
2014-06-22 08:54:40 +02:00
Henrik Rydgård eccbb15e89 Merge pull request #6388 from unknownbrackets/ui-tweaks
Show game background during controller/keyboard game selection
2014-06-22 08:53:11 +02:00
Unknown W. Brackets 3498b33033 Allow sub interrupts to be enabled before register.
Could've caused interrupts, primarily vblanks, not to run because we
implicitly disabled them on register.
2014-06-21 21:43:44 -07:00
Unknown W. Brackets 87ee0bc650 Return error codes in register/release subintr.
This checks for duplicate registrations and other thigns that could've
been causing wrong behavior.
2014-06-21 21:27:58 -07:00
Unknown W. Brackets a6436d04f5 Support PIC0 in PBP files. 2014-06-21 18:29:54 -07:00
sum2012 f3826bc608 Further add a codecType check 2014-06-22 06:49:02 +08:00
Henrik Rydgård 0fee05d945 Merge pull request #6369 from thedax/reschedule
sceDisplayGetVcount should apparently reschedule. Fixes #3234.
2014-06-21 21:15:53 +02:00
Unknown W. Brackets de2a3834e0 Abuse esBuffer to track the vid/aud stream id. 2014-06-21 09:27:39 -07:00
Unknown W. Brackets d7e2c2c1d2 armjit: Oops, correctly handle plus/minus vmin/max. 2014-06-21 07:45:47 -07:00
Henrik Rydgård 42e28b0c75 Merge pull request #6381 from sum2012/sceAtrac
Add a codecType check in sceAtracSetHalfwayBufferAndGetID
2014-06-21 13:33:04 +02:00
Henrik Rydgård 6e2235d9b8 Merge pull request #6380 from unknownbrackets/psmf-minor
Don't skip the first psmf frame when syncing audio
2014-06-21 13:32:29 +02:00
Unknown W. Brackets 95f5d9397c Correct overflow in trunc.w.s for interpreter.
Reported in #4786.
2014-06-21 00:53:33 -07:00
Unknown W. Brackets 62daf6d7c8 armjit: Fix vmin/vmax to follow the PSP's rules.
Also the interpreter.  Fixes #6107.
2014-06-20 23:55:33 -07:00
sum2012 6fe74d938e Change to report 2014-06-21 08:00:16 +08:00
sum2012 846eda836f Add a codecType check in sceAtracSetHalfwayBufferAndGetID
Fix crash in #6363
2014-06-21 05:44:29 +08:00
Unknown W. Brackets ae13d51cef Don't skip the first psmf frame when syncing audio.
Fixes #6374.
2014-06-20 09:07:18 -07:00
Unknown W. Brackets e87e1606c5 Fix func replacements and delay slots on arm.
Fixes #6303.
2014-06-19 08:02:49 -07:00
Henrik Rydgård 935f1cb7b5 Merge pull request #6373 from unknownbrackets/debugger
Fix deadlock when using cpu and ge debuggers at the same time
2014-06-19 11:01:37 +02:00
Unknown W. Brackets 2f6b63385d On breakpoint change, don't wait for core too long.
Fixes #6366.
2014-06-19 01:16:24 -07:00
Unknown W. Brackets 9efbc2694b Add an invalidate all method to the jit. 2014-06-19 01:13:06 -07:00
Unknown W. Brackets 561d0e5ef9 Check more ops for changing memory in debugger. 2014-06-19 00:48:33 -07:00
Unknown W. Brackets 5f4a0d8174 Fix a few minor warnings. 2014-06-19 00:47:58 -07:00
Unknown W. Brackets fa875a6016 Fix memory mapping for sure this time on 32-bit. 2014-06-19 00:30:02 -07:00
The Dax eb94587391 sceDisplayGetVcount should apparently reschedule. Fixes #3234. 2014-06-18 19:35:16 -04:00
Sacha ea17e17ebd Join both Maemo platforms (Maemo5 + Meego Harmattan/Maemo 6) to MAEMO define. Technically they are very similar and anything that wasn't already defined for both probably needed to be. 2014-06-18 03:42:31 +10:00