win32: make frame advance more normal
This commit is contained in:
parent
689d9a94df
commit
908f4116a7
|
@ -303,7 +303,7 @@ LRESULT CALLBACK WifiSettingsDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM
|
||||||
// const char *cflash_disk_image_file;
|
// const char *cflash_disk_image_file;
|
||||||
//};
|
//};
|
||||||
|
|
||||||
int KeyInDelayInCount=10;
|
int KeyInDelayInCount=30;
|
||||||
|
|
||||||
static int lastTime = timeGetTime();
|
static int lastTime = timeGetTime();
|
||||||
int repeattime;
|
int repeattime;
|
||||||
|
@ -2385,9 +2385,6 @@ bool first;
|
||||||
void FrameAdvance(bool state)
|
void FrameAdvance(bool state)
|
||||||
{
|
{
|
||||||
if(state) {
|
if(state) {
|
||||||
if(emu_paused)
|
|
||||||
execute = TRUE;
|
|
||||||
else
|
|
||||||
if(first) {
|
if(first) {
|
||||||
execute = TRUE;
|
execute = TRUE;
|
||||||
frameAdvance=true;
|
frameAdvance=true;
|
||||||
|
|
Loading…
Reference in New Issue