1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2025-12-18 20:10:26 +01:00
Files
fs-uae-wrapper/fs_uae_wrapper/plain.py

25 lines
593 B
Python

"""
Simple class for executing fs-uae with specified parameters. This is a
failsafe class for running fs-uae.
"""
from fs_uae_wrapper import base, utils
class Wrapper(base.Base):
"""Simple class for running fs-uae"""
def run(self):
"""
Main function which run FS-UAE
"""
self._run_emulator()
def _run_emulator(self):
"""execute fs-uae"""
utils.run_command(['fs-uae', self.conf_file,
*self.fsuae_options.list()])
def clean(self):
"""Do the cleanup. Here - just do nothing"""
return