mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-08-28 05:04:13 -05:00
weird, why was there no shutdown command?
This commit is contained in:
@@ -56,6 +56,12 @@ class crystal(object):
|
||||
if not os.path.exists(self.config.rom_path):
|
||||
raise Exception("rom_path is not configured properly; edit vba_config.py? " + str(rom_path))
|
||||
|
||||
def shutdown(self):
|
||||
"""
|
||||
Reset the emulator.
|
||||
"""
|
||||
self.vba.shutdown()
|
||||
|
||||
def save_state(self, name, state=None, override=False):
|
||||
"""
|
||||
Saves the given state to save_state_path.
|
||||
|
||||
Reference in New Issue
Block a user