mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Remove non-existent -joy option in Osmose
This commit is contained in:
parent
8ef6c506e0
commit
4783767045
|
@ -20,6 +20,7 @@ class osmose(Runner):
|
|||
'option': 'main_file',
|
||||
'type': 'file',
|
||||
'label': 'ROM file',
|
||||
'default_path': 'game_path',
|
||||
'help': ("The game data, commonly called a ROM image.\n"
|
||||
"Supported formats: SMS and GG files. ZIP compressed "
|
||||
"ROMs are supported.")
|
||||
|
@ -30,11 +31,6 @@ class osmose(Runner):
|
|||
'option': 'fullscreen',
|
||||
'type': 'bool',
|
||||
'label': 'Fullscreen'
|
||||
},
|
||||
{
|
||||
'option': 'joy',
|
||||
'type': 'bool',
|
||||
'label': 'Use joystick'
|
||||
}
|
||||
]
|
||||
|
||||
|
@ -50,8 +46,6 @@ class osmose(Runner):
|
|||
def play(self):
|
||||
"""Run Sega Master System game"""
|
||||
arguments = [self.get_executable()]
|
||||
if self.runner_config.get('joy'):
|
||||
arguments.append('-joy')
|
||||
rom = self.game_config.get('main_file') or ''
|
||||
if not os.path.exists(rom):
|
||||
return {'error': 'FILE_NOT_FOUND', 'file': rom}
|
||||
|
|
Loading…
Reference in a new issue