refactor: Remove deprecated instruction logging feature

- Eliminated the kLogInstructions flag and associated logging functionality, as the DisassemblyViewer is now always active and utilizes a more efficient sparse address-map recording method.
- Updated relevant code across multiple files to reflect the removal of the deprecated feature, ensuring cleaner and more maintainable code.
- Adjusted UI elements and serialization methods to remove references to the obsolete logging feature, streamlining the user experience.
This commit is contained in:
scawful
2025-10-08 21:00:46 -04:00
parent 3125ff4b76
commit 268921f55e
8 changed files with 39 additions and 64 deletions

View File

@@ -59,8 +59,8 @@ struct FlagsMenu {
Checkbox("Enable Console Logging", &core::FeatureFlags::get().kLogToConsole);
Checkbox("Enable Performance Monitoring",
&core::FeatureFlags::get().kEnablePerformanceMonitoring);
Checkbox("Log Instructions to Emulator Debugger",
&core::FeatureFlags::get().kLogInstructions);
// REMOVED: "Log Instructions" - DisassemblyViewer is always active
// Use the viewer's UI controls to enable/disable recording if needed
Checkbox("Use Native File Dialog (NFD)",
&core::FeatureFlags::get().kUseNativeFileDialog);
}