1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2025-12-18 12:00:28 +01:00
Files
fs-uae-wrapper/fs_uae_wrapper/plain.py
2024-09-14 09:22:41 +02:00

25 lines
595 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