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

Card Games - The Classics (Europe) corrupt graphics #370

Open
benderscruffy opened this issue Jan 20, 2019 · 4 comments
Open

Card Games - The Classics (Europe) corrupt graphics #370

benderscruffy opened this issue Jan 20, 2019 · 4 comments
Labels
timing Timing issue

Comments

@benderscruffy
Copy link

benderscruffy commented Jan 20, 2019

using 0.7.3
on the title screen and card selection screen the top screen the graphics are not correct and the same as your customize character screen
cards1
card
cards

@Arisotura
Copy link
Member

wow. this one is a shitshow.

either a really interesting CPU/emulation bug, or 'just' some timing bug again

@Arisotura
Copy link
Member

Arisotura commented Mar 26, 2019

woa. that game is also shitting itself on NO$GBA and DeSmuME, in the exact same fashion (corrupted textures).

yet, it works fine on hardware, confirming that the ROM is good.

that's interesting to say the least.

--

welp, that's a big stinky timing issue

it works fine in DeSmuME if you enable advanced timing.

oddly, it works the same in all melonDS versions that can run it.

--

it needs slow code timings, apparently. it looks okay if I set kCodeCacheTiming to 16.

@Arisotura Arisotura added the timing Timing issue label Mar 26, 2019
@Arisotura
Copy link
Member

the skinny:

  • game uses a system to do things, that defers them until VBlank
  • it requires that VCount be between 193 and 199 incl by the time it does its things (ie that IRQ handling and thread scheduling take one scanline worth of time)
  • said system is used to upload textures and palettes

hence the bug.

this will likely require icache timings or some approximation.

@ghost
Copy link

ghost commented Dec 12, 2021

It's all still completely fucked. The characters on the customization screen don't even render at all anymore.

Capture2

Capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
timing Timing issue
Projects
None yet
Development

No branches or pull requests

2 participants