feat: Enhance emulator UI and performance features

- Added new UI components for the emulator, including dedicated panels for CPU and APU debugging, improving user interaction and debugging capabilities.
- Implemented a caching mechanism for rendered objects in the DungeonCanvasViewer to optimize performance and reduce rendering time.
- Updated the CMake configuration to include new UI source files, ensuring proper organization and build management.
- Enhanced the theme manager with improved color definitions for better visibility and consistency across the UI.
- Refactored the emulator interface to delegate rendering tasks to the UI layer, streamlining the codebase and improving maintainability.
This commit is contained in:
scawful
2025-10-08 23:38:20 -04:00
parent d2dab43358
commit b5ec0cb637
10 changed files with 1025 additions and 900 deletions

View File

@@ -37,7 +37,7 @@ class DungeonTestHarness {
auto& ppu = snes.ppu();
// Run emulator until the main game loop is reached
int max_cycles = 5000000; // 5 million cycles should be plenty
int max_cycles = 15000000; // 15 million cycles should be plenty
int cycles = 0;
while (cycles < max_cycles) {
snes.RunCycle();