summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-07-22 23:26:28 -0400
committerGravatar bunnei2014-08-05 23:58:00 -0400
commit4e9f305ed214ef0fbffd83042c86f41cd233ec3b (patch)
tree51787c34f01a244d28ee3b41bdbfc0b93c38bbff /src/core/hw/gpu.cpp
parentGSP: Removed unnecessary GX_FinishCommand function. (diff)
downloadyuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.gz
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.xz
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.zip
GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.
- Various other cleanups.
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r--src/core/hw/gpu.cpp4
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__);