From a3bab14b2657582675b2a94c99e55ae3148e93eb Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 22 Sep 2013 01:28:06 -0500 Subject: weird, why was there no shutdown command? --- pokemontools/vba/vba.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pokemontools/vba/vba.py') diff --git a/pokemontools/vba/vba.py b/pokemontools/vba/vba.py index 1b33ba7..3c8c084 100644 --- a/pokemontools/vba/vba.py +++ b/pokemontools/vba/vba.py @@ -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. -- cgit v1.2.3