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

pause? #7

Open
pavelbv2 opened this issue Oct 14, 2019 · 1 comment
Open

pause? #7

pavelbv2 opened this issue Oct 14, 2019 · 1 comment

Comments

@pavelbv2
Copy link

Hello.

How to fix the code so that after loading ROM the game does not start immediately, but is set to pause?

@pavelbv2 pavelbv2 changed the title pase? pause? Oct 14, 2019
@riperiperi
Copy link
Owner

gb.loadROM has a second parameter called "pauseAfter" which controls if the emulation remains paused after the ROM loads (defaults to false).
You can also modify gb.paused at any point on an instance of the gb class, which will stop it executing on future frames.

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