mirror of
https://github.com/gryf/fs-uae-wrapper.git
synced 2025-12-18 20:10:26 +01:00
Normalize paths for config options
Removing _kickstart_option in favor of _normalize_options method to detect and replace relative paths with absolute ones. Dictionary with changed options lands as a commandline switches for fs-uae during execution.
This commit is contained in:
@@ -24,7 +24,6 @@ class Archive(base.ArchiveBase):
|
||||
"""
|
||||
Main function which accepts configuration file for FS-UAE
|
||||
It will do as follows:
|
||||
- set needed full path for asset files
|
||||
- extract archive file
|
||||
- copy configuration
|
||||
- run the emulation
|
||||
@@ -41,10 +40,6 @@ class Archive(base.ArchiveBase):
|
||||
if not self._copy_conf():
|
||||
return False
|
||||
|
||||
kick_opts = self._kickstart_option()
|
||||
if kick_opts:
|
||||
self.fsuae_options.update(kick_opts)
|
||||
|
||||
if not self._run_emulator(self.fsuae_options.list()):
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user