summaryrefslogtreecommitdiff
path: root/src/core/hw
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hw')
-rw-r--r--src/core/hw/gpu.cpp2
-rw-r--r--src/core/hw/gpu.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index ec2d0e156..f0ca4eada 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.cpp
@@ -17,8 +17,6 @@ namespace GPU {
17 17
18Registers g_regs; 18Registers g_regs;
19 19
20static const u32 kFrameTicks = 268123480 / 60; ///< 268MHz / 60 frames per second
21
22u64 g_last_ticks = 0; ///< Last CPU ticks 20u64 g_last_ticks = 0; ///< Last CPU ticks
23 21
24/** 22/**
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h
index f26f25e98..3314ba989 100644
--- a/src/core/hw/gpu.h
+++ b/src/core/hw/gpu.h
@@ -8,6 +8,9 @@
8 8
9namespace GPU { 9namespace GPU {
10 10
11static const u32 kFrameCycles = 268123480 / 60; ///< 268MHz / 60 frames per second
12static const u32 kFrameTicks = kFrameCycles / 3; ///< Approximate number of instructions/frame
13
11struct Registers { 14struct Registers {
12 enum Id : u32 { 15 enum Id : u32 {
13 FramebufferTopLeft1 = 0x1EF00468, // Main LCD, first framebuffer for 3D left 16 FramebufferTopLeft1 = 0x1EF00468, // Main LCD, first framebuffer for 3D left