Fixed framerate GUI bug (Bug #1101451), and minor comment update in dosintrf.asm

This commit is contained in:
ipher
2005-01-13 08:24:30 +00:00
parent aafa52c410
commit e3bc2ac46f
2 changed files with 6 additions and 5 deletions

View File

@@ -381,15 +381,15 @@ void DOScreatenewcfg()
} }
WRITE_LINE("; ZSNES Configuration file\r\n\r\n"); WRITE_LINE("; ZSNES Configuration file\r\n\r\n");
WRITE_LINE("; Frame Skip = 0 .. 9\r\n\r\n"); WRITE_LINE("; Frame Skip: 0 = Auto, 1-10 = Skip 0 .. 9\r\n\r\n");
sprintf(buffer, "FrameSkip = %d\r\n\r\n", frameskip); sprintf(buffer, "FrameSkip = %d\r\n\r\n", frameskip);
SAVE_LINE(buffer); SAVE_LINE(buffer);
WRITE_LINE("; Auto Frame Skip = 0 or 1 (1 = ON)\r\n\r\n"); // WRITE_LINE("; Auto Frame Skip = 0 or 1 (1 = ON)\r\n\r\n");
sprintf(buffer, "AutoFrameSkip = %d\r\n\r\n", (frameskip == 0) ? 1 : 0); // sprintf(buffer, "AutoFrameSkip = %d\r\n\r\n", (frameskip == 0) ? 1 : 0);
SAVE_LINE(buffer); // SAVE_LINE(buffer);
WRITE_LINE("; Player 1/2 Input Device. Use the GUI to set these values\r\n"); WRITE_LINE("; Player 1/2 Input Device. Use the GUI to set these values\r\n");
WRITE_LINE("; NOTE : Using this to select joysticks manually will NOT work!\r\n\r\n"); WRITE_LINE("; NOTE : Using this to select joysticks manually will NOT work!\r\n\r\n");
@@ -742,7 +742,7 @@ void getcfg()
{ {
if (_forceauto != 1) if (_forceauto != 1)
{ {
frameskip = *_stringb - 47;//shouldn't this be 48?? frameskip = *_stringb - 48;//shouldn't this be 48??
} }
} }
} }

View File

@@ -1033,6 +1033,7 @@ db ' ',0
; Video Mode Feature Availability (1 = Available, 0 = Not Available) ; Video Mode Feature Availability (1 = Available, 0 = Not Available)
; Left side starts with Video Mode 0 ; Left side starts with Video Mode 0
; 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
NEWSYM GUI16VID, db 0,0,0,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0 ; 16-bit mode NEWSYM GUI16VID, db 0,0,0,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0 ; 16-bit mode
NEWSYM GUINGVID, db 1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0 ; New Graphics Mode Available NEWSYM GUINGVID, db 1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0 ; New Graphics Mode Available
NEWSYM GUISLVID, db 0,0,1,0,0,1,1,0,0,1,1,0,0,0,0,1,1,1,1,0 ; Scanlines NEWSYM GUISLVID, db 0,0,1,0,0,1,1,0,0,1,1,0,0,0,0,1,1,1,1,0 ; Scanlines