Allow toggling INT 21h and file I/O logging from menu

This commit is contained in:
Jonathan Campbell
2020-03-01 11:52:38 -08:00
parent be2adc6d15
commit 4ca05ed70d

View File

@@ -6552,7 +6552,14 @@ bool dos_debug_menu_callback(DOSBoxMenu * const menu,DOSBoxMenu::item * const me
const auto &ts = menuitem->get_name(); const auto &ts = menuitem->get_name();
// TODO if (ts == "debug_logint21") {
log_int21 = !log_int21;
mainMenu.get_item("debug_logint21").check(log_int21).refresh_item(mainMenu);
}
else if (ts == "debug_logfileio") {
log_fileio = !log_fileio;
mainMenu.get_item("debug_logfileio").check(log_fileio).refresh_item(mainMenu);
}
return true; return true;
} }