1
0
Fork 0
forked from len0rd/rockbox

xworld: Use ROCKBOX_DIR for data/save paths.

Hardcoded /.rockbox causing issues.

Change-Id: I13bfcda753afda33700ff2d88dfac6d607d3a9dd
This commit is contained in:
Hairo R. Carela 2025-07-29 23:09:09 -04:00 committed by Solomon Peachy
parent 8e9125ee28
commit fd9ab93178

View file

@ -34,8 +34,8 @@ enum plugin_status plugin_start(const void* parameter)
(void) parameter;
/* no trailing slashes */
const char *dataPath = "/.rockbox/xworld";
const char *savePath = "/.rockbox/xworld";
const char *dataPath = ROCKBOX_DIR "/xworld";
const char *savePath = ROCKBOX_DIR "/xworld";
g_debugMask = XWORLD_DEBUGMASK;
engine_create(&e, &sys, dataPath, savePath);