1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2026-02-12 20:05:44 +01:00

Make wrapper_archiver option mandatory in savestare module

This commit is contained in:
2017-01-07 09:43:53 +01:00
parent c5ce27e637
commit 6d84fc4b8a
3 changed files with 31 additions and 9 deletions

View File

@@ -8,6 +8,19 @@ class SaveState(base.Base):
"""
Preserve save state.
"""
def __init__(self, conf_file, fsuae_options, configuration):
"""
Params:
conf_file: a relative path to provided configuration file
fsuae_options: is an CmdOption object created out of command line
parameters
configuration: is config dictionary created out of config file
"""
super(SaveState, self).__init__(conf_file, fsuae_options,
configuration)
self.arch_filepath = None
self.all_options['wrapper_save_state'] = '1'
def run(self):
"""
Main function which accepts configuration file for FS-UAE