Skip to content
Release v0.7.1 - Desktop Cycle-Accurate Execution Fix

Critical fix for desktop application to use cycle-accurate emulation mode,
matching the execution behavior of the 100%-passing test suite.

- Changed step_frame() → step_frame_accurate() in app.rs
- Desktop now uses cycle-perfect execution (1 CPU : 3 PPU : 1 APU)
- Mid-frame register updates work correctly
- Timing-sensitive effects (sprite 0 hit, scroll splits) render properly

- Added Bus::with_sample_rate() constructor
- Added Console::with_sample_rate() constructor
- APU generates samples at exact audio device rate
- Eliminates pitch shifting artifacts

- step_frame(): Batches entire instructions, then syncs PPU/APU (coarse)
- step_frame_accurate(): Executes 1 cycle at a time (cycle-perfect)
- Default sample rate: 48000 Hz (backward compatible)