mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-22 02:52:38 +00:00
meh
This commit is contained in:
parent
2c393d35f0
commit
98c174edc4
520 changed files with 74815 additions and 58942 deletions
|
@ -158,7 +158,7 @@ public:
|
|||
if constexpr (is_preprocess)
|
||||
{
|
||||
auto& memory = system.GetMemory();
|
||||
const u8* const start_address = memory.GetPointer(address);
|
||||
const u8* const start_address = memory.GetPointerForRange(address, size);
|
||||
|
||||
system.GetFifo().PushFifoAuxBuffer(start_address, size);
|
||||
|
||||
|
@ -179,10 +179,10 @@ public:
|
|||
else
|
||||
{
|
||||
auto& memory = system.GetMemory();
|
||||
start_address = memory.GetPointer(address);
|
||||
start_address = memory.GetPointerForRange(address, size);
|
||||
}
|
||||
|
||||
// Avoid the crash if memory.GetPointer failed ..
|
||||
// Avoid the crash if memory.GetPointerForRange failed ..
|
||||
if (start_address != nullptr)
|
||||
{
|
||||
// temporarily swap dl and non-dl (small "hack" for the stats)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue