mirror of
https://github.com/libretro/FBNeo.git
synced 2024-11-24 09:29:55 +00:00
show negative for debug counter
This commit is contained in:
parent
111bb35a92
commit
fb7afe1b11
@ -528,11 +528,19 @@ int RunMessageLoop()
|
||||
#if defined (FBA_DEBUG)
|
||||
case 'N':
|
||||
counter--;
|
||||
bprintf(PRINT_IMPORTANT, _T("*** New counter value: %04X.\n"), counter);
|
||||
if (counter < 0) {
|
||||
bprintf(PRINT_IMPORTANT, _T("*** New counter value: %04X (%d).\n"), counter, counter);
|
||||
} else {
|
||||
bprintf(PRINT_IMPORTANT, _T("*** New counter value: %04X.\n"), counter);
|
||||
}
|
||||
break;
|
||||
case 'M':
|
||||
counter++;
|
||||
bprintf(PRINT_IMPORTANT, _T("*** New counter value: %04X.\n"), counter);
|
||||
if (counter < 0) {
|
||||
bprintf(PRINT_IMPORTANT, _T("*** New counter value: %04X (%d).\n"), counter, counter);
|
||||
} else {
|
||||
bprintf(PRINT_IMPORTANT, _T("*** New counter value: %04X.\n"), counter);
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
case VK_ESCAPE: {
|
||||
|
Loading…
Reference in New Issue
Block a user