disable debug display options to screen

This commit is contained in:
penfold42 2018-05-29 18:24:56 +10:00
parent 05c9cae9cf
commit c7c3b0901c
1 changed files with 16 additions and 13 deletions

View File

@ -1034,6 +1034,8 @@ static void CheckOptions()
invertIECInputs = false; invertIECInputs = false;
ignoreReset = options.IgnoreReset(); ignoreReset = options.IgnoreReset();
// print confirmation of parsed options
if (0) {
screen.Clear(COLOUR_BLACK); screen.Clear(COLOUR_BLACK);
int y_pos = 200; int y_pos = 200;
snprintf(tempBuffer, tempBufferSize, "ignoreReset = %d\r\n", ignoreReset); snprintf(tempBuffer, tempBufferSize, "ignoreReset = %d\r\n", ignoreReset);
@ -1047,6 +1049,7 @@ static void CheckOptions()
snprintf(tempBuffer, tempBufferSize, "invertIECOutputs = %d\r\n", invertIECOutputs); snprintf(tempBuffer, tempBufferSize, "invertIECOutputs = %d\r\n", invertIECOutputs);
screen.PrintText(false, 0, y_pos+=16, tempBuffer, COLOUR_WHITE, COLOUR_BLACK); screen.PrintText(false, 0, y_pos+=16, tempBuffer, COLOUR_WHITE, COLOUR_BLACK);
IEC_Bus::WaitMicroSeconds(5 * 1000000); IEC_Bus::WaitMicroSeconds(5 * 1000000);
}
ROMName = options.GetRomFontName(); ROMName = options.GetRomFontName();
if (ROMName) if (ROMName)