feat(apu): add timer/sequencer/LFSR fields for channel output tracking

This commit is contained in:
2026-03-13 16:06:37 +03:00
parent 6f81eb4b08
commit cd0a99a813
4 changed files with 66 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
pub const FRAME_WIDTH: usize = 256;
pub const FRAME_HEIGHT: usize = 240;
pub const FRAME_RGBA_BYTES: usize = FRAME_WIDTH * FRAME_HEIGHT * 4;
pub const SAVE_STATE_VERSION: u32 = 1;
pub const SAVE_STATE_VERSION: u32 = 2;
pub(crate) const SAVE_STATE_MAGIC: &[u8; 8] = b"NESRT001";