Expand description
Read-only debug snapshots for the frontend’s egui debugger UI.
Plain-data structs the UI can hold for the lifetime of a frame
without borrowing into the emulator. The accessors on crate::Nes
produce these once per visible frame at 60 Hz; a few KiB of cloning
is cheap compared to actually running a frame.
Determinism contract: opening the debugger must NOT alter the emulator’s deterministic state. Every method in this module is read-only.
Structs§
- ApuDebug
View - Snapshot of APU channel outputs and frame counter.
- CpuDebug
View - Snapshot of CPU register file.
- Mapper
Debug Info - Read-only debug snapshot of mapper-internal state for the UI.
- PpuDebug
View - Snapshot of PPU state.
Enums§
- RomSpace
- v3.7.0 (
T-HACK-BPS-RECORDER, live ROM writes) — which ROM section of the cartridge image a debugger ROM read or write addresses. - RomWrite
Error - Why a debugger ROM write (
Nes::debug_poke_rom) changed nothing.
Type Aliases§
- Mapper
Debug View - Snapshot of mapper state — alias for
rustynes_mappers::MapperDebugInfo.