示例#1
0
文件: rom.py 项目: Atari2/WhiteSnake
 def pointer_pc(self, address: int, size: int = 3, bank: int = 0x00):
     return Pointer.from_snes(
         get_pointer(self.fulldata, address, size, bank))
示例#2
0
文件: rom.py 项目: Atari2/WhiteSnake
 def pointer_snes(self,
                  address: int,
                  size: int = 3,
                  bank: int = 0x00) -> Pointer:
     return Pointer.from_snes(
         get_pointer(self.fulldata, self.snes_to_pc(address), size, bank))