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

Gambatte x lua and fix #1159 #1172

Merged
merged 2 commits into from May 12, 2018
Merged

Gambatte x lua and fix #1159 #1172

merged 2 commits into from May 12, 2018

Conversation

gifvex
Copy link
Contributor

@gifvex gifvex commented Apr 2, 2018

Implements TotalExecutedCycles for Gambatte after a general cleanup of its MemoryCallbacks. Gambatte uses its internal cycle counter as an arbitrary timer, so the callbacks use relative values to accurately represent executed cycles.

Included is a fix for #1159 (cores unable to receive multiple callback types). UpdateHasVariables now returns a bool indicating if anything changed.

@alyosha-tas
Copy link
Contributor

One other thing I noticed with Gambatte is that the scanline register is only intermittently updated when looking at trace logs. Do you think it would be possible (and easy) to continuously update this?

It's fine if not, I just happen to remember it and thought it would be a useful thing to include in this pr.

@alyosha-tas alyosha-tas merged commit 98ed9e7 into TASEmulators:master May 12, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants