Dreamcast: Try to fix not using right path on SD card

This commit is contained in:
UnknownShadow200 2024-06-22 21:25:25 +10:00
parent a36ea8380c
commit 92ac33c2df
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ static void* gfx_vertices;
extern framebuffer_t fb_colors[2]; extern framebuffer_t fb_colors[2];
extern zbuffer_t fb_depth; extern zbuffer_t fb_depth;
static float vp_hwidth, vp_hheight; static float vp_hwidth, vp_hheight;
static int vp_originX, vp_originY; static float vp_originX, vp_originY;
static cc_bool stateDirty, formatDirty; static cc_bool stateDirty, formatDirty;
typedef struct Matrix VU0_MATRIX __attribute__((aligned(16))); typedef struct Matrix VU0_MATRIX __attribute__((aligned(16)));

View File

@ -543,7 +543,7 @@ static void InitSDCard(void) {
Platform_LogConst("Failed to mount SD card"); return; Platform_LogConst("Failed to mount SD card"); return;
} }
root_path = String_FromReadonly("/sd/ClassiCube"); root_path = String_FromReadonly("/sd/ClassiCube/");
fs_mkdir("/sd/ClassiCube"); fs_mkdir("/sd/ClassiCube");
Platform_ReadonlyFilesystem = false; Platform_ReadonlyFilesystem = false;
} }