aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/protonlauncher.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/src/protonlauncher.cpp b/src/src/protonlauncher.cpp
index f6059e3..e8c2a89 100644
--- a/src/src/protonlauncher.cpp
+++ b/src/src/protonlauncher.cpp
@@ -169,6 +169,14 @@ bool shouldExposeMountPointToPressureVessel(const QString& mountPoint,
const QString& fsType,
const QString& source)
{
+ // Always expose our VFS FUSE mount explicitly. pressure-vessel's default
+ // sharing of /run/media (and home) uses non-recursive bind mounts that do
+ // not propagate FUSE submounts into the container — games on SD card end up
+ // writing to the real game directory and bypassing the VFS entirely.
+ if (fsType == QStringLiteral("fuse.mo2linux")) {
+ return !mountPoint.isEmpty() && mountPoint != "/";
+ }
+
if (mountPoint.isEmpty() || mountPoint == "/" ||
pressureVesselSharesByDefault(mountPoint) ||
isSystemRootPath(mountPoint)) {