Default Wii saves to SD card, store saves next to dusk.dsk/EBOOT.PBP
Wii NAND save storage is blocked by Dolphin's IOS ticket-rights check for homebrew (documented earlier this session as a known, non-code limitation), so Wii now defaults DUSK_SAVE_WII_METHOD to SD instead of NAND. Also: asset_t gains ASSET.baseDirectory, populated by each platform's asset loader with the real directory dusk.dsk was opened from (or, on PSP, the directory EBOOT.PBP itself lives in, since dusk.dsk is embedded inside it). Wii SD and PSP now write their single combined save file directly into that directory instead of a separate hardcoded path, and no longer need to create it (it's already known to exist). Linux now uses a `saves/` subdirectory of that same directory instead of ~/.dusk/saves, since it keeps multiple files (settings + one per slot). Wii NAND and GameCube/Wii memory-card storage are unaffected - neither has a real filesystem-path concept this applies to. Built and verified on Linux, PSP (Docker), GameCube (Docker) and Wii (Docker) - confirmed via the compiler invocation that Wii now compiles with DUSK_SAVE_WII_METHOD_SD. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
@@ -5,7 +5,7 @@ target_compile_definitions(${DUSK_LIBRARY_TARGET_NAME} PUBLIC
|
||||
)
|
||||
|
||||
# Wii save storage method - see src/duskdolphin/save/savedeviceplatform.h.
|
||||
set(DUSK_SAVE_WII_METHOD "NAND" CACHE STRING
|
||||
set(DUSK_SAVE_WII_METHOD "SD" CACHE STRING
|
||||
"Wii save storage: NAND (internal storage via ISFS), CARD (GameCube-\
|
||||
compatible memory card emulation), or SD (SD card via libfat)"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user