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,19 +1034,22 @@ static void CheckOptions()
invertIECInputs = false; invertIECInputs = false;
ignoreReset = options.IgnoreReset(); ignoreReset = options.IgnoreReset();
screen.Clear(COLOUR_BLACK); // print confirmation of parsed options
int y_pos = 200; if (0) {
snprintf(tempBuffer, tempBufferSize, "ignoreReset = %d\r\n", ignoreReset); screen.Clear(COLOUR_BLACK);
screen.PrintText(false, 0, y_pos+=16, tempBuffer, COLOUR_WHITE, COLOUR_BLACK); int y_pos = 200;
snprintf(tempBuffer, tempBufferSize, "RAMBOard = %d\r\n", enableRAMBOard); snprintf(tempBuffer, tempBufferSize, "ignoreReset = %d\r\n", ignoreReset);
screen.PrintText(false, 0, y_pos+=16, tempBuffer, COLOUR_WHITE, COLOUR_BLACK); screen.PrintText(false, 0, y_pos+=16, tempBuffer, COLOUR_WHITE, COLOUR_BLACK);
snprintf(tempBuffer, tempBufferSize, "splitIECLines = %d\r\n", splitIECLines); snprintf(tempBuffer, tempBufferSize, "RAMBOard = %d\r\n", enableRAMBOard);
screen.PrintText(false, 0, y_pos+=16, tempBuffer, COLOUR_WHITE, COLOUR_BLACK); screen.PrintText(false, 0, y_pos+=16, tempBuffer, COLOUR_WHITE, COLOUR_BLACK);
snprintf(tempBuffer, tempBufferSize, "invertIECInputs = %d\r\n", invertIECInputs); snprintf(tempBuffer, tempBufferSize, "splitIECLines = %d\r\n", splitIECLines);
screen.PrintText(false, 0, y_pos+=16, tempBuffer, COLOUR_WHITE, COLOUR_BLACK); screen.PrintText(false, 0, y_pos+=16, tempBuffer, COLOUR_WHITE, COLOUR_BLACK);
snprintf(tempBuffer, tempBufferSize, "invertIECOutputs = %d\r\n", invertIECOutputs); snprintf(tempBuffer, tempBufferSize, "invertIECInputs = %d\r\n", invertIECInputs);
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); snprintf(tempBuffer, tempBufferSize, "invertIECOutputs = %d\r\n", invertIECOutputs);
screen.PrintText(false, 0, y_pos+=16, tempBuffer, COLOUR_WHITE, COLOUR_BLACK);
IEC_Bus::WaitMicroSeconds(5 * 1000000);
}
ROMName = options.GetRomFontName(); ROMName = options.GetRomFontName();
if (ROMName) if (ROMName)