docs: add data_root to punes

Qt's GenericConfigLocation is AppData/Local on Windows, so the notes now name %LOCALAPPDATA%/puNES (src/gui/qt.cpp:567-568).
This commit is contained in:
Abdessamad Derraz committed 2026-10-23 19:10:43 +02:00
1 parent 787fea07b4
commit bfcc2be752
1 file changed
+11 -1
+11 -1
View File
@@ -14,6 +14,16 @@ systems:
- nintendo-fds - nintendo-fds
mode: standalone mode: standalone
data_root:
windows:
path: "%LOCALAPPDATA%/puNES"
source_ref: "src/gui/qt.cpp:561-568"
note: "Qt's GenericConfigLocation. --portable moves it to the application directory."
linux:
path: "$XDG_DATA_HOME/puNES"
source_ref: "src/gui/qt.cpp:561-570"
note: "~/.local/share/puNES when XDG_DATA_HOME is unset. --portable moves it to the application directory."
notes: | notes: |
Qt emulator of the NES, the Famicom and the Family Computer Disk System, Qt emulator of the NES, the Famicom and the Family Computer Disk System,
also playing NSF and NSFE music files. A cartridge boots with nothing also playing NSF and NSFE music files. A cartridge boots with nothing
@@ -30,7 +40,7 @@ notes: |
(CMakeLists.txt:227-228). (CMakeLists.txt:227-228).
The data directory is the application directory under --portable, The data directory is the application directory under --portable,
%APPDATA%/puNES on Windows and ~/.local/share/puNES elsewhere %LOCALAPPDATA%/puNES on Windows and ~/.local/share/puNES elsewhere
(src/gui/qt.cpp:561-575), so the bios folder is ~/.local/share/puNES/bios. (src/gui/qt.cpp:561-575), so the bios folder is ~/.local/share/puNES/bios.
No length and no hash is ever compared. fds_load_bios computes a CRC32 of No length and no hash is ever compared. fds_load_bios computes a CRC32 of