diff options
| author | Samuel Perrouault <samuel.perrouault@gmail.com> | 2025-03-26 22:58:05 +0100 |
|---|---|---|
| committer | Samuel Perrouault <samuel.perrouault@gmail.com> | 2025-03-26 22:58:05 +0100 |
| commit | ab5177eff4b938f080c67a524165462a56d0d352 (patch) | |
| tree | 7d219801e85acd655fff6557819b5a96a3059312 | |
| parent | be7c5c64c6a55660d1bdbb23cd5a2f93f4d3a3c8 (diff) | |
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -252,6 +252,10 @@ impl Chip8 { eprintln!("LD DT, V{}", x); self.delay_timer = self.v[x]; } + 0x0018 => { + eprintln!("LD ST, V{}", x); + self.sound_timer = self.v[x]; + } 0x001E => { eprintln!("ADD, I, V{}", x); self.i += self.v[x] as u16; |
