diff options
Diffstat (limited to 'src/core/hw/gpu.cpp')
| -rw-r--r-- | src/core/hw/gpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp index 41976d989..93b871470 100644 --- a/src/core/hw/gpu.cpp +++ b/src/core/hw/gpu.cpp | |||
| @@ -256,7 +256,7 @@ void Update() { | |||
| 256 | 256 | ||
| 257 | // Synchronize line... | 257 | // Synchronize line... |
| 258 | if ((current_ticks - g_last_ticks) >= GPU::kFrameTicks / 400) { | 258 | if ((current_ticks - g_last_ticks) >= GPU::kFrameTicks / 400) { |
| 259 | GSP_GPU::SignalInterrupt(GSP_GPU::GXInterruptId::PDC0); | 259 | GSP_GPU::SignalInterrupt(GSP_GPU::InterruptId::PDC0); |
| 260 | g_cur_line++; | 260 | g_cur_line++; |
| 261 | g_last_ticks = current_ticks; | 261 | g_last_ticks = current_ticks; |
| 262 | } | 262 | } |
| @@ -264,7 +264,7 @@ void Update() { | |||
| 264 | // Synchronize frame... | 264 | // Synchronize frame... |
| 265 | if (g_cur_line >= 400) { | 265 | if (g_cur_line >= 400) { |
| 266 | g_cur_line = 0; | 266 | g_cur_line = 0; |
| 267 | GSP_GPU::SignalInterrupt(GSP_GPU::GXInterruptId::PDC1); | 267 | GSP_GPU::SignalInterrupt(GSP_GPU::InterruptId::PDC1); |
| 268 | VideoCore::g_renderer->SwapBuffers(); | 268 | VideoCore::g_renderer->SwapBuffers(); |
| 269 | Kernel::WaitCurrentThread(WAITTYPE_VBLANK); | 269 | Kernel::WaitCurrentThread(WAITTYPE_VBLANK); |
| 270 | HLE::Reschedule(__func__); | 270 | HLE::Reschedule(__func__); |