# 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 ${HOME}/games/Emulators/GBAGAMES
read-only ${HOME}/games/Emulators/GBAGAMES
include whitelist-common.inc

seccomp !name_to_handle_at

# private-dev breaks joysticks
ignore private-dev

ignore memory-deny-write-execute

include generic-game.inc