Medsar2000 / snes9x-rr

Automatically exported from code.google.com/p/snes9x-rr
0 stars 1 forks source link

Unable to frame advance #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago

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