lots more docs in the instructions

more speedups
This commit is contained in:
2024-10-16 16:04:45 -04:00
parent 128100c54e
commit 4cc56db489
5 changed files with 390 additions and 388 deletions
+1 -3
View File
@@ -64,7 +64,7 @@ fn main() {
// waiting for a keychange...
},
gemma::chip8::cpu_states::Chip8CpuStates::ExecutingInstruction => { // should never see this.
},
},
gemma::chip8::cpu_states::Chip8CpuStates::Error => {
panic!("System in undefined state.");
},
@@ -83,8 +83,6 @@ fn main() {
GemmaImguiSupport::registers_view(&system, ui);
}
if ui_state.show_memory {
let active_instruction = system.registers.peek_pc();
GemmaImguiSupport::hex_memory_display(system.memory.clone(), (0x100, 0x10), active_instruction as i16, ui);