Remove unused {get,set}_r16

This commit is contained in:
John 2024-07-09 01:12:10 -05:00
parent 268d41be59
commit 9106d9727f

View File

@ -930,12 +930,7 @@ impl CPU {
_ => self[r8].0 = data,
}
}
pub fn get_r16(&self, r16: R16) -> u16 {
self[r16].0
}
pub fn set_r16(&mut self, r16: R16, data: u16) {
self[r16].0 = data;
}
pub fn get_r16ind_addr(&mut self, r16: R16Indirect) -> u16 {
match r16 {
R16Indirect::BC => self.bc.wide().0,