mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-25 23:29:33 +00:00
ppcexec.cpp: fix compilation with Apple Clang 10.
This commit is contained in:
parent
073b8fd981
commit
524daa45a5
|
@ -277,9 +277,9 @@ void ppc_main_opcode()
|
||||||
OpcodeGrabber[(ppc_cur_instruction >> 26) & 0x3F]();
|
OpcodeGrabber[(ppc_cur_instruction >> 26) & 0x3F]();
|
||||||
}
|
}
|
||||||
|
|
||||||
static long long now_ns()
|
static long long now_ns() {
|
||||||
{
|
return std::chrono::duration_cast<std::chrono::nanoseconds>(
|
||||||
return duration_cast<std::chrono::nanoseconds>(std::chrono::high_resolution_clock::now().time_since_epoch()).count();
|
std::chrono::high_resolution_clock::now().time_since_epoch()).count();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t get_virt_time_ns()
|
uint64_t get_virt_time_ns()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user