-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black screen GTA Vice City Stories, Tekken 6, Gran Turismo #15735
Comments
What's the last version that worked for you? (There were some changes recently to the IR interpreter, something might have broken..) |
On Windows, with IR interpreter: |
Thanks for testing ANR2ME, I'll look into it as well. |
The crash on GTA seems to be similar to GoW Ghost of Sparta #14958 (comment) |
Okay, it started to crash with this commit:
|
Oh darn I just bisected it down to the same, linking: 2154f74 . |
Later passes rely on things being Mov, so better to have them more often.
Fixes #15735 Though the real problem might be in PurgeTemps.
Posted more info in my PR #15736, the bug appears to be in PurgeTemps. |
last version that's working for me was 1.12.3-1437 |
GTA LCS performs the "Mov A, B; Add C, C, A" to "Mov A, B; Add C, C, B" optimization 1249 times. Of those, I determined that optimizations 749 and 750 must be disabled to prevent this bug. Here's the MIPS, original IR, and both the disabled and crashing IR:
The relevant part is: --- good
+++ bad
@@ -10,9 +10,7 @@
Or t0, t0, irtemp_value
Add a1, a1, t1
-Mov irtemp_addr, a0
AndConst irtemp_shift, a0, 00000003
ShlImm irtemp_shift, irtemp_shift, 03
-AndConst irtemp_addr, a0, fffffffc
-Load32 irtemp_value, irtemp_addr, 00000000
+Load32 irtemp_value, a0, 00000000
Neg irtemp_shift, irtemp_shift
AddConst irtemp_shift, irtemp_shift, 00000018
@@ -24,5 +22,5 @@
Shl irtemp_mask, t0, irtemp_shift
Or irtemp_value, irtemp_value, irtemp_mask
-Store32 irtemp_value, irtemp_addr, 00000000
+Store32 irtemp_value, a0, 00000000
Add a0, a0, t1
AndConst t1, a2, 0000000f My immediate reaction is that removing -[Unknown] |
Game or games this happens in
GTA Vice City Stories, Tekken 6, Gran Turismo
What area of the game / PPSSPP
Black screen when opening these games.
I'm using Ipad Pro IOS 15.5
What should happen
Should load correctly.
Logs
No response
Platform
iOS
Mobile phone model or graphics card
Ipad Pro 12.9
PPSSPP version affected
v1.13
Last working version
No response
Graphics backend (3D API)
OpenGL / GLES
Checklist
The text was updated successfully, but these errors were encountered: