Skip to content

Commit

Permalink
Merge pull request #129 from kloptops/main
Browse files Browse the repository at this point in the history
Fixed a few things on EmuELEC.
  • Loading branch information
kloptops committed Apr 26, 2024
2 parents 9fff62b + 6cf397f commit 298a215
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
13 changes: 13 additions & 0 deletions PortMaster/mod_EmuELEC.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

## Modular - EmuELEC
#
# A modular file that is sourced for specific script lines required by ports running on Batocera.
#
# usage `[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"`

# Use for Godot 2
GODOT2_OPTS="-r ${DISPLAY_WIDTH}x${DISPLAY_HEIGHT} -f"

# Use for Godot 3+
GODOT_OPTS="--resolution ${DISPLAY_WIDTH}x${DISPLAY_HEIGHT} -f"
4 changes: 3 additions & 1 deletion PortMaster/pylibs/harbourmaster/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ class PlatformBase():
'genre': 'genre',
}

XML_PATH_FIX = ['path', 'image']
XML_PATH_FIX = [
'image',
]

BLANK_GAMELIST_XML = """<?xml version='1.0' encoding='utf-8'?>\n<gameList />\n"""

Expand Down

0 comments on commit 298a215

Please sign in to comment.