From ab6896a2caaaaac0b2b657f490713d2d48f08ffb Mon Sep 17 00:00:00 2001 From: Wunk Date: Sun, 17 May 2026 06:15:21 -0700 Subject: [PATCH] core: Fix debug compile error (#2132) Fixes a compilation error when building in Debug mode. `count` should be `async_data->count` in this log message. --- src/core/hle/service/fs/directory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/fs/directory.cpp b/src/core/hle/service/fs/directory.cpp index 13f011b5c..1a029635b 100644 --- a/src/core/hle/service/fs/directory.cpp +++ b/src/core/hle/service/fs/directory.cpp @@ -60,7 +60,7 @@ void Directory::Read(Kernel::HLERequestContext& ctx) { ctx.RunAsync( [this, async_data](Kernel::HLERequestContext& ctx) { std::vector entries(async_data->count); - LOG_TRACE(Service_FS, "Read {}: count={}", GetName(), count); + LOG_TRACE(Service_FS, "Read {}: count={}", GetName(), async_data->count); // Number of entries actually read async_data->read = backend->Read(static_cast(entries.size()), entries.data()); async_data->buffer->Write(entries.data(), 0, async_data->read * sizeof(FileSys::Entry));