mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-28 16:15:34 +02:00
[common] remove ptr indirection on WallClock
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
08e8f51f00
commit
e4df8475ef
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