Enhance EditorManager and TestManager with improved ROM handling and testing features
- Added logging to track ROM changes in EditorManager, ensuring TestManager is updated with the current ROM. - Implemented real-time ROM status checks in TestManager for better debugging and user feedback. - Introduced a dialog for creating and managing test ROM sessions, allowing users to open modified ROMs easily. - Enhanced the testing framework with methods for creating test ROM copies and generating filenames with timestamps. - Improved the overall user interface of the TestManager, including a more informative dashboard and session management options.
This commit is contained in:
@@ -405,6 +405,8 @@ void DrawMenu(Menu& menu) {
|
||||
if (ImGui::MenuItem(each_subitem.name.c_str(),
|
||||
each_subitem.shortcut.c_str())) {
|
||||
if (each_subitem.callback) each_subitem.callback();
|
||||
} else if (each_subitem.name == kSeparator) {
|
||||
ImGui::Separator();
|
||||
}
|
||||
}
|
||||
ImGui::EndMenu();
|
||||
@@ -416,6 +418,8 @@ void DrawMenu(Menu& menu) {
|
||||
each_item.shortcut.c_str(),
|
||||
each_item.enabled_condition())) {
|
||||
if (each_item.callback) each_item.callback();
|
||||
} else if (each_item.name == kSeparator) {
|
||||
ImGui::Separator();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user