From aa8813a2e57f1b710f9a296cfa66713056e515cb Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sat, 24 Oct 2026 00:50:29 +0200 Subject: [PATCH] feat: add xemu data root SDL_GetPrefPath in ui/xemu-settings.cc:51-63, or the executable folder when xemu.toml sits there. --- emulators/xemu.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/emulators/xemu.yml b/emulators/xemu.yml index f99c0328..99feba5c 100644 --- a/emulators/xemu.yml +++ b/emulators/xemu.yml @@ -19,6 +19,20 @@ cores: systems: - microsoft-xbox +data_root: + windows: + path: "%APPDATA%/xemu/xemu" + source_ref: "ui/xemu-settings.cc:51-63, 73-92" + note: "xemu.toml beside xemu.exe makes its folder the root" + macos: + path: "~/Library/Application Support/xemu/xemu" + source_ref: "ui/xemu-settings.cc:51-63, 73-92" + note: "xemu.toml beside the executable makes its folder the root" + linux: + path: "$XDG_DATA_HOME/xemu/xemu, else ~/.local/share/xemu/xemu" + source_ref: "ui/xemu-settings.cc:51-63, 73-92" + note: "xemu.toml beside the executable makes its folder the root" + notes: | Full-system Xbox emulator built on QEMU. One tree builds the standalone application and, with the libretro build option, a core in which a shim