mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-05 18:23:39 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ void Directory::Read(Kernel::HLERequestContext& ctx) {
|
||||||
ctx.RunAsync(
|
ctx.RunAsync(
|
||||||
[this, async_data](Kernel::HLERequestContext& ctx) {
|
[this, async_data](Kernel::HLERequestContext& ctx) {
|
||||||
std::vector<FileSys::Entry> entries(async_data->count);
|
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
|
// Number of entries actually read
|
||||||
async_data->read = backend->Read(static_cast<u32>(entries.size()), entries.data());
|
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));
|
async_data->buffer->Write(entries.data(), 0, async_data->read * sizeof(FileSys::Entry));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue