weird, why was there no shutdown command?

This commit is contained in:
Bryan Bishop
2013-09-22 01:28:06 -05:00
parent bf20b9982b
commit a3bab14b26

View File

@@ -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.