From 8d4390bace10c78ae7c55638bd60101f2bb622b7 Mon Sep 17 00:00:00 2001 From: mtabachenko Date: Wed, 6 Nov 2013 00:01:38 +0000 Subject: [PATCH] core: - fix R4 path; --- desmume/src/slot1.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/desmume/src/slot1.cpp b/desmume/src/slot1.cpp index d8593b460..74bebc8b4 100644 --- a/desmume/src/slot1.cpp +++ b/desmume/src/slot1.cpp @@ -54,12 +54,7 @@ static void scanDir() } VFAT vfat; - - char buf[MAX_PATH] = {0}; - if (slot1_R4_path_type) - path.getpath(path.ROMS, buf); - - if(vfat.build(slot1_R4_path_type?buf:fatDir.c_str(), 16)) + if(vfat.build(slot1_R4_path_type?path.RomDirectory.c_str():fatDir.c_str(), 16)) { fatImage = vfat.detach(); }