summaryrefslogtreecommitdiff
path: root/profiles/mgba.profile
blob: c5344f1cdcd98a544a44dcffc1f132d86baefad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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

# mgba requires liblua 5.3
noblacklist /usr/lib/liblua*
noblacklist /usr/lib64/liblua*

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