Stewmath / GameYob

[Super] Gameboy [Color] emulator for the Nintendo [3]DS
MIT License
270 stars 59 forks source link

Closing/opening system occasionally causes graphical glitches #106

Closed carloslbello closed 10 years ago

carloslbello commented 10 years ago

This is after repeatedly closing/opening my 3DS, running the latest build on a Supercard DSTWO: https://db.tt/K8MrTx2b I can supply my gameyob.ini if it's needed. As can be seen, scaling is enabled. Autosaving is not enabled.

carloslbello commented 10 years ago

Scaling doesn't appear to affect this at all, as I've been able to reproduce this with/without it.

Stewmath commented 10 years ago

I can't reproduce this... I'm using an acekard 2i, and this isn't happening on either my ds phat or my dsi.

I'm curious, what would happen if you made a save state in the middle of this. After reloading such a state, it might correct itself. But if not, could you send me a screwed-up state?

And, this isn't unique to Shantae is it?

Stewmath commented 10 years ago

Well crap. After going at it for a while, I scored a guru meditation error.

carloslbello commented 10 years ago

I'll try making a save state. And at this point, I haven't tried any ROMs other than Shantae, but I'll look into seeing which other titles have this issue.

carloslbello commented 10 years ago

This will also occasionally crash the emulator, causing both screens and the sound to freeze.

Stewmath commented 10 years ago

Okay, could you try the latest build as of now? I've made sure to completely stop emulation on the arm9 processor until I'm sure that arm7 is finished with sleep mode. That appears to have stopped the guru meditation errors I was getting.

Stewmath commented 10 years ago

It's been updated again as of now... I keep finding different problems with sleep mode.

carloslbello commented 10 years ago

This build white-screens on my card.

Stewmath commented 10 years ago

Okay... what? It white screens before it even starts? The only things I changed were directly related to sleep mode.

I get white-screens occasionally, and almost every time, it works after re-copying it. If that's not the problem then I'm really confused.

carloslbello commented 10 years ago

Yes, it white-screens before starting. I can try re-copying the .nds when I get home later. Do you have a hash I can compare against?

On Oct 7, 2013, at 10:39 AM, Drienn notifications@github.com wrote:

Okay... what? It white screens before it even starts? The only things I changed were directly related to sleep mode.

I get white-screens occasionally, and almost every time, it works after re-copying it. If that's not the problem then I'm really confused.

— Reply to this email directly or view it on GitHub.

Stewmath commented 10 years ago

md5: 978b33a1e54b631e2ef5aafb71d97dc7

carloslbello commented 10 years ago

Build I was using was definitely not the latest. Redownloaded and recopied, I'll see if there there are still problems. On another sleep/wake-related note, there is sometimes a very audible beep that can be heard when closing and opening the system while a game is running, usually while music is playing. (< see #107)

carloslbello commented 10 years ago

Cannot produce any significant issues by opening/closing the system on v0.4.1-57-ga08b.

Stewmath commented 10 years ago

Cool. Various sleep mode issues have been around for a long time, which seems to be related to my abuse of fifo for sound, among other things. I just hope those problems are really gone this time.