mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #3627 from Tilka/bits_n_bytes_may_break_my_strides_but_strings_will_never_hurt_me
MMIO: correct error message
This commit is contained in:
commit
e92fe2e0f3
@ -197,7 +197,7 @@ template <typename T>
|
||||
ReadHandlingMethod<T>* InvalidRead()
|
||||
{
|
||||
return ComplexRead<T>([](u32 addr) {
|
||||
ERROR_LOG(MEMMAP, "Trying to read %zu bytes from an invalid MMIO (addr=%08x)",
|
||||
ERROR_LOG(MEMMAP, "Trying to read %zu bits from an invalid MMIO (addr=%08x)",
|
||||
8 * sizeof(T), addr);
|
||||
return -1;
|
||||
});
|
||||
@ -206,7 +206,7 @@ template <typename T>
|
||||
WriteHandlingMethod<T>* InvalidWrite()
|
||||
{
|
||||
return ComplexWrite<T>([](u32 addr, T val) {
|
||||
ERROR_LOG(MEMMAP, "Trying to write %zu bytes to an invalid MMIO (addr=%08x, val=%08x)",
|
||||
ERROR_LOG(MEMMAP, "Trying to write %zu bits to an invalid MMIO (addr=%08x, val=%08x)",
|
||||
8 * sizeof(T), addr, (u32)val);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user