1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2025-12-19 04:20:23 +01:00

Refactor wrapper modules to have a main class with the same name

This commit is contained in:
2017-01-07 13:13:18 +01:00
parent 8892940339
commit ab4042f880
6 changed files with 18 additions and 19 deletions

View File

@@ -11,7 +11,7 @@ name.
from fs_uae_wrapper import base
class CD32(base.ArchiveBase):
class Wrapper(base.ArchiveBase):
"""
Class for performing extracting archive, copying emulator files, and
cleaning it back again
@@ -28,7 +28,7 @@ class CD32(base.ArchiveBase):
- run the emulation
- archive save state
"""
super(CD32, self).run()
super(Wrapper, self).run()
if not self._validate_options():
return False
@@ -51,7 +51,7 @@ class CD32(base.ArchiveBase):
def run(config_file, fsuae_options, configuration):
"""Run fs-uae with provided config file and options"""
runner = CD32(config_file, fsuae_options, configuration)
runner = Wrapper(config_file, fsuae_options, configuration)
try:
return runner.run()
finally: