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

noblacklist ${HOME}/.config/dolphin-emu
noblacklist ${HOME}/.local/share/dolphin-emu
noblacklist ${HOME}/games/Emulators/GCNGAMES

mkdir ${HOME}/.config/dolphin-emu
mkdir ${HOME}/.local/share/dolphin-emu
whitelist ${HOME}/.config/dolphin-emu
whitelist ${HOME}/.local/share/dolphin-emu
whitelist ${HOME}/games/Emulators/GCNGAMES
read-only ${HOME}/games/Emulators/GCNGAMES
include whitelist-common.inc

# machine-id, obs, and alsa don't get along
#ignore machine-id

protocol unix,netlink
seccomp !name_to_handle_at

# private-dev breaks joysticks
ignore private-dev

ignore memory-deny-write-execute

include generic-game.inc