namespace update
This commit is contained in:
parent
3602864523
commit
51dda8e8a5
|
@ -121,7 +121,7 @@ bool FlipQueue::flip(u32 micros) {
|
|||
m_done_cond.notify_one();
|
||||
|
||||
request->cfg->m_flip_status.count++;
|
||||
request->cfg->m_flip_status.processTime = Core::Libraries::sceKernelGetProcessTime();
|
||||
request->cfg->m_flip_status.processTime = Core::Libraries::LibKernel::sceKernelGetProcessTime();
|
||||
request->cfg->m_flip_status.tsc = HLE::Libs::LibKernel::sceKernelReadTsc();
|
||||
request->cfg->m_flip_status.submitTsc = request->submit_tsc;
|
||||
request->cfg->m_flip_status.flipArg = request->flip_arg;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "emuTimer.h"
|
||||
|
||||
namespace Core::Libraries {
|
||||
namespace Core::Libraries::LibKernel {
|
||||
u64 sceKernelGetProcessTime() {
|
||||
return static_cast<u64>(Emulator::emuTimer::getTimeMsec() * 1000.0); // return time in microseconds
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "types.h"
|
||||
#include "Core/PS4/Loader/SymbolsResolver.h"
|
||||
|
||||
namespace Core::Libraries {
|
||||
namespace Core::Libraries::LibKernel {
|
||||
u64 sceKernelGetProcessTime();
|
||||
|
||||
void timeSymbolsRegister(SymbolsResolver* sym);
|
||||
|
|
|
@ -40,7 +40,7 @@ void GameController::addState(const State& state) {
|
|||
void GameController::checKButton(int id, u32 button, bool isPressed) {
|
||||
std::scoped_lock lock{m_mutex};
|
||||
auto state = getLastState();
|
||||
state.time = Core::Libraries::sceKernelGetProcessTime();
|
||||
state.time = Core::Libraries::LibKernel::sceKernelGetProcessTime();
|
||||
if (isPressed) {
|
||||
state.buttonsState |= button;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue