aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2023-01-02 12:33:51 +0530
committerAaditya Dhruv <[email protected]>2023-01-02 12:33:58 +0530
commitb8544d8c81d69b27d3c6e8dd222a09bf4706084a (patch)
tree9cf273a458c178b43767207f01a9b71d4f3e605e
parentbe6a96af45e7e1691d08343c2536326303710ce2 (diff)
lowercase fix
-rw-r--r--src/lib.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 587fe49..244201f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -113,12 +113,12 @@ impl Chip {
match self.instr {
- 0x00E0 => { self.CLS_00E0() },
- 0x1000..=0x1FFF => { self.JMP_1NNN() },
- 0x6000..=0x6FFF => { self.LD_6XKK() },
- 0x7000..=0x7FFF => { self.ADD_7XKK() },
- 0xA000..=0xAFFF => { self.LD_ANNN() },
- 0xD000..=0xDFFF => { self.DRW_DXYN() },
+ 0x00e0 => { self.cls_00e0() },
+ 0x1000..=0x1fff => { self.jmp_1nnn() },
+ 0x6000..=0x6fff => { self.ld_6xkk() },
+ 0x7000..=0x7fff => { self.add_7xkk() },
+ 0xa000..=0xafff => { self.ld_annn() },
+ 0xd000..=0xdfff => { self.drw_dxyn() },
_ => { println!("Doing nothing!"); }
}