Merge pull request #53 from georgemoralis/pad

pad implementation
This commit is contained in:
georgemoralis
2023-10-13 20:42:15 +03:00
committed by GitHub
17 changed files with 329 additions and 107 deletions

View File

@@ -78,7 +78,7 @@ bool FlipQueue::flip(u32 micros) {
auto* buffer = request.cfg->buffers[request.index].buffer_render;
Emulator::DrawBuffer(buffer);
Emu::DrawBuffer(buffer);
m_mutex.LockMutex();

View File

@@ -64,7 +64,7 @@ class VideoOutCtx {
Lib::LockMutexGuard lock(m_mutex);
if (m_graphic_ctx == nullptr) {
m_graphic_ctx = Emulator::getGraphicCtx();
m_graphic_ctx = Emu::getGraphicCtx();
}
return m_graphic_ctx;

View File

@@ -8,7 +8,7 @@ static thread_local GPU::CommandPool g_command_pool;
void GPU::renderCreateCtx() {
auto* render_ctx = Singleton<RenderCtx>::Instance();
render_ctx->setGraphicCtx(Emulator::getGraphicCtx());
render_ctx->setGraphicCtx(Emu::getGraphicCtx());
}
void GPU::CommandBuffer::allocateBuffer() {

View File

@@ -164,7 +164,7 @@ s32 PS4_SYSV_ABI sceVideoOutRegisterBuffers(s32 handle, s32 startIndex, void* co
int registration_index = ctx->buffers_registration_index++;
Emulator::checkAndWaitForGraphicsInit();
Emu::checkAndWaitForGraphicsInit();
GPU::renderCreateCtx();
// try to calculate buffer size

View File

@@ -91,7 +91,7 @@ namespace HLE::Libs::LibSceGnmDriver {
void sceGnmDriverTriggerCapture(){}
void sceGnmEndWorkload(){}
void sceGnmFlushGarlic() { PRINT_FUNCTION_NAME();
GPU::flushGarlic(Emulator::getGraphicCtx());
GPU::flushGarlic(Emu::getGraphicCtx());
}
void sceGnmGetEqEventType(){}
void sceGnmGetEqTimeStamp(){}