ppcexec.cpp: fix compilation with Apple Clang 10.

This commit is contained in:
Maxim Poliakovski 2024-04-07 20:38:46 +02:00
parent 073b8fd981
commit 524daa45a5

View File

@ -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()