diff --git a/mame.ini b/mame.ini
index ac1d304..354f5e8 100644
--- a/mame.ini
+++ b/mame.ini
@@ -31,3 +31,8 @@ share_directory $HOME/.mame/share
# OSD VIDEO OPTIONS
#
video opengl
+
+#
+# BGFX POST-PROCESSING OPTIONS
+#
+bgfx_path /app/share/mame/bgfx
diff --git a/org.mamedev.MAME.metainfo.xml b/org.mamedev.MAME.metainfo.xml
index 07c2861..85ddac0 100644
--- a/org.mamedev.MAME.metainfo.xml
+++ b/org.mamedev.MAME.metainfo.xml
@@ -27,6 +27,7 @@
https://www.mamedev.org
org.mamedev.MAME.desktop
+
diff --git a/org.mamedev.MAME.yaml b/org.mamedev.MAME.yaml
index 1672929..4a922a7 100644
--- a/org.mamedev.MAME.yaml
+++ b/org.mamedev.MAME.yaml
@@ -1,6 +1,6 @@
id: org.mamedev.MAME
runtime: org.kde.Platform
-runtime-version: 5.15-22.08
+runtime-version: 5.15-23.08
sdk: org.kde.Sdk
command: mame
separate-locales: false
@@ -11,6 +11,7 @@ finish-args:
- --filesystem=host:ro
- --share=network
- --share=ipc
+ - --socket=x11
- --socket=fallback-x11
- --socket=pulseaudio
- --socket=wayland
@@ -25,6 +26,7 @@ modules:
- make
-j ${FLATPAK_BUILDER_N_JOBS}
CFLAGS+=-Wno-error=restrict
+ USE_WAYLAND=1
USE_SYSTEM_LIB_FLAC=1
SDL_INI_PATH='$$HOME/.APP_NAME;/app/share/APP_NAME/ini'
LDOPTS=-Wl,-s
@@ -57,8 +59,8 @@ modules:
- cp -r samples/ ${FLATPAK_DEST}/share/mame/
sources:
- type: archive
- url: https://github.com/mamedev/mame/archive/refs/tags/mame0260.tar.gz
- sha256: 104ca8daab3ce7bb9637e19f1dc60a08ac6856db730ab544275567addb9541cd
+ url: https://github.com/mamedev/mame/archive/refs/tags/mame0261.tar.gz
+ sha256: 51d5ce1563897709ceb7a924c31a70cc5ff2bec466aab8d0cc9ff3cc72b38899
- type: file
path: mame16x16.png
- type: file