mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-27 12:31:19 +01:00
[common] remove ptr indirection on WallClock
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
77ed5e250a
commit
0cf9dede20
11 changed files with 285 additions and 387 deletions
|
|
@ -578,7 +578,7 @@ void Patcher::WriteMsrHandler(ModuleDestLabel module_dest, oaknut::XReg src_reg,
|
|||
}
|
||||
|
||||
void Patcher::WriteCntpctHandler(ModuleDestLabel module_dest, oaknut::XReg dest_reg, oaknut::VectorCodeGenerator& cg) {
|
||||
static Common::Arm64::NativeClock clock{};
|
||||
static Common::WallClock clock{};
|
||||
const auto factor = clock.GetGuestCNTFRQFactor();
|
||||
const auto raw_factor = std::bit_cast<std::array<u64, 2>>(factor);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue