mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-25 21:31:08 +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
|
|
@ -224,7 +224,7 @@ void ExecuteA32Instruction(u32 instruction) {
|
|||
fmt::print("value: ");
|
||||
if (const auto value = get_value()) {
|
||||
*(iter->second) = *value;
|
||||
fmt::print("> {} = 0x{:08x}\n", reg_name, *value);
|
||||
fmt::print("> {} = {:#08x}\n", reg_name, *value);
|
||||
}
|
||||
} else if (reg_name.starts_with("m")) {
|
||||
fmt::print("address: ");
|
||||
|
|
@ -232,7 +232,7 @@ void ExecuteA32Instruction(u32 instruction) {
|
|||
fmt::print("value: ");
|
||||
if (const auto value = get_value()) {
|
||||
env.MemoryWrite32(*address, *value);
|
||||
fmt::print("> mem[0x{:08x}] = 0x{:08x}\n", *address, *value);
|
||||
fmt::print("> mem[{:#08x}] = {:#08x}\n", *address, *value);
|
||||
}
|
||||
}
|
||||
} else if (reg_name == "exit" || reg_name == "end" || reg_name.starts_with("q")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue