From 92ac33c2dfd4aec7b9e587ef8ab823e33078056c Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 22 Jun 2024 21:25:25 +1000 Subject: [PATCH] Dreamcast: Try to fix not using right path on SD card --- src/Graphics_PS2.c | 2 +- src/Platform_Dreamcast.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Graphics_PS2.c b/src/Graphics_PS2.c index 2348a31ec..05d8301fe 100644 --- a/src/Graphics_PS2.c +++ b/src/Graphics_PS2.c @@ -19,7 +19,7 @@ static void* gfx_vertices; extern framebuffer_t fb_colors[2]; extern zbuffer_t fb_depth; static float vp_hwidth, vp_hheight; -static int vp_originX, vp_originY; +static float vp_originX, vp_originY; static cc_bool stateDirty, formatDirty; typedef struct Matrix VU0_MATRIX __attribute__((aligned(16))); diff --git a/src/Platform_Dreamcast.c b/src/Platform_Dreamcast.c index 636cd7d17..d373873c5 100644 --- a/src/Platform_Dreamcast.c +++ b/src/Platform_Dreamcast.c @@ -543,7 +543,7 @@ static void InitSDCard(void) { Platform_LogConst("Failed to mount SD card"); return; } - root_path = String_FromReadonly("/sd/ClassiCube"); + root_path = String_FromReadonly("/sd/ClassiCube/"); fs_mkdir("/sd/ClassiCube"); Platform_ReadonlyFilesystem = false; }