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

Unable to frame advance #35

Closed
GoogleCodeExporter opened this issue Nov 11, 2015 · 1 comment
Closed

Unable to frame advance #35

GoogleCodeExporter opened this issue Nov 11, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Steps to reproduce the problem:
1. Ensure that Windows has an uptime between 24.9 and 49.7 days. 
2. Press '\' or the assigned key.  

While expected to advance one frame, it will not do so.  This is caused by the 
function timeGetTime() returning a value >0x80000000, and lastTime being zero, 
causing the emulator to believe that less than 20 milliseconds have passed.  To 
reproduce, run the emulator on a system that is running for 24.9 days. 

Occurs using SVN revision 193. It was introduced in SVN revision 2. 

To fix, open wsnes9x.cpp, and head to HotkeyFrameAdvance.  Remove the cast, or 
if it is still necessary, change the cast from "int" to "unsigned int"

Original issue reported on code.google.com by raymond....@gmail.com on 20 Mar 2011 at 9:32

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by nitsuja-@hotmail.com on 22 Apr 2011 at 6:14

  • Changed state: Fixed

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

No branches or pull requests

1 participant