From fba6fa66f00db4baf0c4e92f293bf783f8c18f23 Mon Sep 17 00:00:00 2001 From: superp00t Date: Mon, 14 Aug 2023 21:25:29 -0400 Subject: [PATCH] fix(system/file): explicitly call System_File::Stacked::Read/Write --- bc/system/file/win/Stacked.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bc/system/file/win/Stacked.cpp b/bc/system/file/win/Stacked.cpp index b093f92..5ddf004 100644 --- a/bc/system/file/win/Stacked.cpp +++ b/bc/system/file/win/Stacked.cpp @@ -581,11 +581,11 @@ bool Read(File::StreamRecord* file, void* data, int64_t offset, size_t* bytes) { } bool Read(FileParms* parms) { - return System_File::Read(parms->stream, parms->param, -1, &parms->size); + return System_File::Stacked::Read(parms->stream, parms->param, -1, &parms->size); } bool ReadP(FileParms* parms) { - return System_File::Read(parms->stream, parms->param, parms->position, &parms->size); + return System_File::Stacked::Read(parms->stream, parms->param, parms->position, &parms->size); } bool RemoveDirectory(FileParms* parms) {