mirror of https://github.com/pret/pokecrystal.git
vba - set_registers
This commit is contained in:
parent
9a20ba1d3f
commit
4941f473a2
|
@ -320,6 +320,13 @@ def get_registers():
|
||||||
Gb.getRegisters(register_array)
|
Gb.getRegisters(register_array)
|
||||||
return list(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():
|
def get_rom():
|
||||||
"""
|
"""
|
||||||
Returns the ROM in bytes.
|
Returns the ROM in bytes.
|
||||||
|
|
Loading…
Reference in New Issue