From caadb3ae5d642586de4e7ae2d7fea5e0c0e6c464 Mon Sep 17 00:00:00 2001 From: PabloMK7 Date: Tue, 29 Jun 2021 01:20:38 +0200 Subject: [PATCH] loader: fix fileOpen argument order --- sysmodules/loader/source/patcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysmodules/loader/source/patcher.c b/sysmodules/loader/source/patcher.c index fe5e1d3..6d98fe8 100644 --- a/sysmodules/loader/source/patcher.c +++ b/sysmodules/loader/source/patcher.c @@ -30,7 +30,7 @@ static u32 patchMemory(u8 *start, u32 size, const void *pattern, u32 patSize, s3 static Result fileOpen(IFile *file, FS_ArchiveID archiveId, const char *path, u32 flags) { - return IFile_Open(file, archiveId, fsMakePath(PATH_ASCII, path), fsMakePath(PATH_EMPTY, ""), flags); + return IFile_Open(file, archiveId, fsMakePath(PATH_EMPTY, ""), fsMakePath(PATH_ASCII, path), flags); } static bool dirCheck(FS_ArchiveID archiveId, const char *path)