Skip to content

Commit 2de2f06

Browse files
committed
remove unused fn
1 parent 330d2c0 commit 2de2f06

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ impl Chip8Emulator {
116116
self.keyboard[idx] = pressed;
117117
}
118118

119-
pub fn clear_keys(&mut self) {
120-
self.keyboard = [false; NUM_KEYS];
121-
}
122-
123119
const fn read_opcode(&mut self) -> u16 {
124120
let op_byte_1 = self.memory[self.program_counter as usize] as u16;
125121
let op_byte_2 = self.memory[(self.program_counter + 1) as usize] as u16;

0 commit comments

Comments
 (0)