mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-10 17:00:33 +01:00
[fmt] use {#:x} instead of 0x{:#x} (#4170)
continuation of #309 but applying to even more files than before :) also makes them lowercase because `0xfafafa` is better as `0XFAFAFA` Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4170 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Maufeat <sahyno1996@gmail.com>
This commit is contained in:
parent
7b13113fbe
commit
58dee53305
76 changed files with 282 additions and 275 deletions
|
|
@ -142,7 +142,7 @@ public:
|
|||
if (boost::icl::contains(mapped_ranges, vaddr)) {
|
||||
memory.ReadBlock(vaddr, &ret, sizeof(T));
|
||||
} else if (vaddr + sizeof(T) > local_memory.size()) {
|
||||
LOG_CRITICAL(Service_JIT, "plugin: unmapped read @ 0x{:016x}", vaddr);
|
||||
LOG_CRITICAL(Service_JIT, "plugin: unmapped read @ {:#016x}", vaddr);
|
||||
} else {
|
||||
std::memcpy(&ret, local_memory.data() + vaddr, sizeof(T));
|
||||
}
|
||||
|
|
@ -154,7 +154,7 @@ public:
|
|||
if (boost::icl::contains(mapped_ranges, vaddr)) {
|
||||
memory.WriteBlock(vaddr, &value, sizeof(T));
|
||||
} else if (vaddr + sizeof(T) > local_memory.size()) {
|
||||
LOG_CRITICAL(Service_JIT, "plugin: unmapped write @ 0x{:016x}", vaddr);
|
||||
LOG_CRITICAL(Service_JIT, "plugin: unmapped write @ {:#016x}", vaddr);
|
||||
} else {
|
||||
std::memcpy(local_memory.data() + vaddr, &value, sizeof(T));
|
||||
}
|
||||
|
|
@ -416,7 +416,7 @@ void DynarmicCallbacks64::CallSVC(u32 swi) {
|
|||
LOG_CRITICAL(Service_JIT, "plugin panicked!");
|
||||
parent.jit->HaltExecution();
|
||||
} else {
|
||||
LOG_CRITICAL(Service_JIT, "plugin issued syscall at unknown address 0x{:x}", pc);
|
||||
LOG_CRITICAL(Service_JIT, "plugin issued syscall at unknown address {:#x}", pc);
|
||||
parent.jit->HaltExecution();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue