mirror of
https://github.com/FranLMSP/snes.git
synced 2026-10-03 16:05:18 -04:00
read_external function
This commit is contained in:
@@ -164,6 +164,10 @@ impl PPURegisters {
|
||||
self.data[(address as usize) - 0x2100] = value;
|
||||
}
|
||||
|
||||
pub fn read_external(&self, address: u16) -> u8 {
|
||||
self._read(address)
|
||||
}
|
||||
|
||||
pub fn read(&mut self, address: u16) -> u8 {
|
||||
let result = self._read(address);
|
||||
match address {
|
||||
|
||||
Reference in New Issue
Block a user