-
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
Riviera : Yakusoku no Chi -Special Edition crashes on PSP 1000 model #6113
Comments
For reference: c709315...8e22554 |
Seems like clutAddr is 0x09FFFFFF. That should not be a valid clut address. The US version does not crash... -[Unknown] |
Does this still happen? Anything interesting show in the log leading up to the crash? -[Unknown] |
Hmm: If you can, try re-ripping it to be safe? I heard once that some early ripping tools had a bug once that caused isos to be truncated by a small number of bytes. Though, it's possible this is correct (it will truncate on firmware.) Dialog\SavedataParam.cpp:648 Savedata loading with detected hashmode 5 instead of file's 3 Do you have to load savedata to get the crash? If it's easy to get it without savedata, can you try it with an empty SAVEDATA directory just to rule it out? I guess I should check if a clut read starting at a valid address actually crashes on the PSP. Maybe it's just a bug in the game and actually happens to work on real hardware... -[Unknown] |
I can't re-ripping it,but the non-Special Edition works. Empty savedata still crash. |
Are there any graphical artifacts if you change this (GPU/GLES/TextureCache.cpp): void TextureCache::LoadClut() {
u32 clutAddr = gstate.getClutAddress();
if (Memory::IsValidAddress(clutAddr)) { To: void TextureCache::LoadClut() {
u32 clutAddr = gstate.getClutAddress();
if (Memory::IsValidAddress(clutAddr) && Memory::IsValidAddress(clutAddr + gstate.getClutLoadBytes() - 1)) { Or, does that still crash / have wrong graphics? -[Unknown] |
That fixes it and not seeing any graphical artifacts. |
So, according to my tests:
I don't have a PSP-1000, so I can't verify how it behaves on -[Unknown] |
PSP 2000/3000 fine.
![01](https://cloud.githubusercontent.com/assets/3481559/3052507/b8b93f28-e19b-11e3-993c-84905451ecee.png)
![02](https://cloud.githubusercontent.com/assets/3481559/3052508/b8b9c75e-e19b-11e3-930a-325d2c18ea4d.png)
last build works is 0.81-1232-gc709315,since 0.81-1249-g8e22554,It crashes.
stack trace
![03](https://cloud.githubusercontent.com/assets/3481559/3052509/b8ba0818-e19b-11e3-92f2-ab887db6b3ce.png)
The text was updated successfully, but these errors were encountered: