mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-12 19:30:44 +02:00
Log which address was invalidated
This commit is contained in:
parent
55330bfebb
commit
ad4cbe9b5d
@ -2,6 +2,7 @@
|
||||
|
||||
#include "Core/PrimeHack/AddressDB.h"
|
||||
#include "Core/PrimeHack/HackManager.h"
|
||||
#include "Common/Logging/Log.h"
|
||||
|
||||
#include "Core/PowerPC/MMU.h"
|
||||
|
||||
@ -23,6 +24,7 @@ void PrimeMod::apply_instruction_changes(bool invalidate) {
|
||||
for (CodeChange const& change : active_changes) {
|
||||
PowerPC::HostWrite_U32(change.var, change.address);
|
||||
if (invalidate) {
|
||||
WARN_LOG_FMT(POWERPC, "Invalidating the address {:#x}", change.address);
|
||||
PowerPC::ScheduleInvalidateCacheThreadSafe(change.address);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user