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.
This commit is contained in:
Wunk 2026-05-17 06:15:21 -07:00 committed by GitHub
parent e11f3da493
commit ab6896a2ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,7 @@ void Directory::Read(Kernel::HLERequestContext& ctx) {
ctx.RunAsync(
[this, async_data](Kernel::HLERequestContext& ctx) {
std::vector<FileSys::Entry> 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<u32>(entries.size()), entries.data());
async_data->buffer->Write(entries.data(), 0, async_data->read * sizeof(FileSys::Entry));