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

noblacklist ${HOME}/.config/desmume
noblacklist ${HOME}/games/Emulators/NDSGAMES

mkdir ${HOME}/.config/desmume
whitelist ${HOME}/.config/desmume
whitelist ${HOME}/games/Emulators/NDSGAMES
read-only ${HOME}/games/Emulators/NDSGAMES
include whitelist-common.inc

seccomp !name_to_handle_at

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

ignore memory-deny-write-execute

include generic-game.inc