Commit Graph

36 Commits

Author SHA1 Message Date
scawful
fdda77c172 Refactor ROM handling and remove SharedRom singleton for improved architecture
- Eliminated the SharedRom class to enhance modularity and reduce global state management.
- Updated various classes to directly manage ROM instances, improving clarity and encapsulation.
- Added new functions for loading messages and colors from ROM, enhancing functionality.
- Refactored Canvas and Editor classes to utilize direct ROM references, streamlining interactions.
- Improved documentation and comments for better code understanding and maintainability.
2025-08-03 17:52:02 -04:00
scawful
1031509e8a Refactor Emulator and Snes classes for improved memory access
- Updated Emulator class to remove inheritance from SharedRom and streamline ROM handling.
- Refactored memory access methods in Emulator and Snes classes to use consistent naming conventions.
- Enhanced DungeonObjectRenderer to utilize the updated Snes class for CPU and memory operations, improving clarity and maintainability.
- Cleaned up unnecessary comments and improved code formatting for better readability.
2025-05-15 22:53:37 -04:00
scawful
fcb6a46bb1 Refactor Renderer access and improve gesture handling in iOS and test files
- Replaced instances of Renderer::GetInstance() with Renderer::Get() for consistency across the codebase.
- Enhanced gesture handling in iOS by adding mouse position events for touch gestures.
- Streamlined test initialization for ImGui to align with recent renderer access changes.
2025-05-08 19:39:49 -04:00
scawful
33de8d2c77 Add "Load Last ROM" shortcut and streamline ROM asset loading in EditorManager 2025-03-11 14:04:13 -04:00
scawful
c8883a1e54 Remove unused includes and clean up header files 2025-01-16 03:44:37 -05:00
scawful
c23a2458c4 Refactor emulator code: update SNES references to Snes for consistency, clean up includes, and remove commented-out code 2024-12-30 07:50:37 -05:00
scawful
e05e7c35db remove app namespace 2024-12-28 21:28:51 -05:00
scawful
36e5f7a150 Refactor input handling in Emulator and Controller for improved key event management 2024-11-18 14:34:08 -05:00
scawful
e8e6ab00bf Refactor ImTextureID casting for SDL_Texture rendering 2024-10-09 01:59:15 -04:00
scawful
9bbb6c6114 chore: Refactor file_dialog.cc and file_dialog.h to use namespace aliases 2024-08-13 23:56:17 -04:00
scawful
9a2c8ae17a replace old renderer access pattern 2024-08-09 18:58:07 -04:00
scawful
7c708519ac standardize imgui headers as user instead of system 2024-07-30 23:33:12 -04:00
scawful
85bd48eafa housekeeping 2024-05-24 21:34:36 -04:00
scawful
d76525201f match cpu registers on reset to hardware, cleanup 2024-04-25 00:50:39 -04:00
scawful
953c9a5c7f Add load rom file to emulator ui 2024-04-24 23:38:00 -04:00
scawful
f6e610814d Add register info to emu ui, table view for mem space 2024-04-24 15:41:20 -04:00
scawful
bd6fc2e8f1 Play audio in emulator class, update class references from the SNES 2024-04-24 10:08:05 -04:00
scawful
3eb7743dee emu and memory refactoring 2024-04-23 14:01:56 -04:00
scawful
917cd26a6e Add SNES BBus, registers, input, nmi/irq, joypad handling, frame timing, cpu callbacks, etc 2024-04-22 15:53:17 -04:00
scawful
ecf9c7c415 Add opcode_to_cycle_count map, update emu layout 2024-04-19 19:04:41 -04:00
scawful
a825ac36b2 Increase NotifyObservers data arg to uint16_t from uint8_t 2024-04-19 17:55:52 -04:00
scawful
07feeac7c2 Update emulator instruction log filtering 2024-04-19 16:02:55 -04:00
scawful
a18b6db285 Remove Emulator::RenderCpuState 2024-04-17 20:34:37 -04:00
scawful
d14b2beec8 Condense emulator zeml layout, include function in zeml 2024-04-17 20:26:46 -04:00
scawful
a01e963efb Use zeml for emulator cpu state layout and emulator menu bar 2024-04-17 20:12:51 -04:00
scawful
ca076164ce Rename CPU to Cpu 2024-04-13 23:33:35 -05:00
scawful
394f1646e6 housekeeping 2024-01-22 03:31:33 -05:00
scawful
dad4a38f59 Add step mode to snes emulator 2023-12-05 03:47:06 -05:00
scawful
446734321c SNES, CPU, Emulator + tests updated 2023-11-30 02:12:11 -05:00
scawful
1633955177 Emulator housekeeping 2023-11-26 16:48:49 -05:00
scawful
c462d749e2 Emulator housekeeping 2023-11-25 22:44:27 -05:00
scawful
041e365416 Dungeon object updates 2023-11-22 12:23:02 -05:00
scawful
59e7dcc7f0 GUI Updates
Add DisplaySettings, replace ImGui style editor
Update Debugger interface with memory viewer
Decompose SNES initialization routines
Update DungeonObjectRenderer plan
Add DrawObjectRenderer UI mockup fofr DungeonEditor
2023-11-21 11:07:04 -05:00
scawful
ed7204b127 Emulator debugger GUI updates 2023-11-18 00:03:49 -05:00
scawful
299770922c Add Debugger interface, RoomObject class
- Log instructions to debugger using experiment flag
- Use BitmapManager for more functionality
- Draw framebuffer and integrated debugger
2023-11-13 14:51:01 -05:00
scawful
6ae969d345 Move Emulator to emu namespace 2023-11-12 10:17:25 -05:00