mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 10:48:18 +08:00
Allow toggling INT 21h and file I/O logging from menu
This commit is contained in:
@@ -6552,7 +6552,14 @@ bool dos_debug_menu_callback(DOSBoxMenu * const menu,DOSBoxMenu::item * const me
|
||||
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user