mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
vba - set_registers
This commit is contained in:
parent
9a20ba1d3f
commit
4941f473a2
@ -320,6 +320,13 @@ def get_registers():
|
||||
Gb.getRegisters(register_array)
|
||||
return list(register_array)
|
||||
|
||||
def set_registers(registers):
|
||||
"""
|
||||
Applies the set of registers to the CPU.
|
||||
"""
|
||||
Gb.writeRegisters(registers)
|
||||
write_registers = set_registers
|
||||
|
||||
def get_rom():
|
||||
"""
|
||||
Returns the ROM in bytes.
|
||||
|
Loading…
Reference in New Issue
Block a user