mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-01 20:45:00 -06:00
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:
parent
e11f3da493
commit
ab6896a2ca
@ -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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user