# This file is overwritten after every install/update
# Persistent local customizations
include mgba.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/mgba
noblacklist ${HOME}/.local/share/mgba
noblacklist ${HOME}/games/Emulators/GBAGAMES

mkdir ${HOME}/.config/mgba
mkdir ${HOME}/.local/share/mgba
whitelist ${HOME}/.config/mgba
whitelist ${HOME}/.local/share/mgba
whitelist-ro ${HOME}/games/Emulators/GBAGAMES
include whitelist-common.inc

# # seccomp breaks integrated file manager on kde applications
# # due to syscall name_to_handle_at
seccomp !name_to_handle_at

# mgba requires input and protocol netlink for controller support
ignore noinput
protocol unix,netlink


ignore memory-deny-write-execute

include generic-game.inc