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

"Sleep" mode in games doesn't turn off screen #323

Closed
RetroEdit opened this issue Aug 19, 2023 · 4 comments
Closed

"Sleep" mode in games doesn't turn off screen #323

RetroEdit opened this issue Aug 19, 2023 · 4 comments

Comments

@RetroEdit
Copy link

Certain GBA games like Shrek 2 GBA have a sleep mode that takes the console into a low power mode and turns off the screen.

However, it doesn't properly turn off the screen like my AGS-101 does. On my AGS-101, the behavior in Shrek 2 is a flash to white, then full black until you press the key sequence l shoulder + r shoulder + Select, and then a brief period of white screen when it resumes until it properly resumes the game. On SkyEmu by contrast, it does sort of "sleep" until that key sequence, but the emulator screen remains a freeze frame of the actual game the entire time.

Comparing SkyEmu to to other emulators, SkyEmu at least has a frontend partly simulates sleep freeze behavior, unlike its contemporaries mGBA (mgba-emu/mgba#1482) and NanoBoyAdvance; however, mGBA and NanoBoyAdvance both also have those white frames at least.

@skylersaleh
Copy link
Owner

Some changes I just pushed into v4 should fix this.

#321

@skylersaleh skylersaleh mentioned this issue Aug 27, 2023
44 tasks
@RetroEdit
Copy link
Author

I did another comparison using 285d70f. The screen does turn off now; however, I will make an additional note that it seems to exit sleep mode much faster than my real hardware does. Or maybe the screen turns on faster?

@skylersaleh
Copy link
Owner

There is probably some boot up delay when exiting "halt" mode on the CPU, but I don't think I've seen any HW research on this behavior.

@RetroEdit
Copy link
Author

RetroEdit commented Nov 16, 2023

b788044 fixed the issue in the title, so I'll close this issue. Any further inaccuracies with STOP mode could be created as a separate issue.

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

No branches or pull requests

2 participants