Skip to content
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

Stunt Race 3D Demo (PD).gb graphic glitches during the gameplay #153

Open
benderscruffy opened this issue Jan 19, 2025 · 4 comments
Open
Labels
bug Something isn't working gb Game Boy / Game Boy Color

Comments

@benderscruffy
Copy link

No description provided.

@jsgroth jsgroth added bug Something isn't working gb Game Boy / Game Boy Color labels Jan 19, 2025
@jsgroth
Copy link
Owner

jsgroth commented Jan 19, 2025

Looks like a CPU/PPU timing issue. It works fine if I don't block VRAM writes that occur on dot=84, technically during the first M-cycle of PPU mode 3:

Image

Allowing these writes through also seems to partially fix the issue in #33, but I think it's going to be hard to completely fix that one without solving the underlying timing issue.

jsgroth added a commit that referenced this issue Jan 19, 2025
this is mainly a hack to work around what seems to be an unrelated timing issue, but it fixes glitched graphics in the Stunt Race FX GB demo
@jsgroth jsgroth added the fixed-next-release Fixed on master, will go into next release label Jan 19, 2025
@benderscruffy
Copy link
Author

benderscruffy commented Jan 20, 2025

sorry but this is broken on hardware aswell
just tried this on my gameboy

@jsgroth
Copy link
Owner

jsgroth commented Jan 23, 2025

Interesting, was that on an original Game Boy or a GBC/GBA? There are some very slight PPU timing differences between the two (which I don't currently emulate), so I would believe it if this works on one but not the other.

@benderscruffy
Copy link
Author

this was on a GBA with my everdrive card

@jsgroth jsgroth removed the fixed-next-release Fixed on master, will go into next release label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gb Game Boy / Game Boy Color
Projects
None yet
Development

No branches or pull requests

2 participants