Remove unused {get,set}_r16
This commit is contained in:
parent
268d41be59
commit
9106d9727f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user