aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hw
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-06-06 00:06:33 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-13 09:51:09 -0400
commit0deeda54eefb18aaf6a62b8ec139cfe9bd21769c (patch)
tree8c39407c4f6b9fa711dd8f525ca0efe5c2682f87 /src/core/hw
parent3449aaa35066b9a4bd784fe86a303666713076bf (diff)
Core: Cleaned up SingleStep(), updated default LCD refresh to assume each instruction is ~3 cycles
Diffstat (limited to 'src/core/hw')
-rw-r--r--src/core/hw/lcd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hw/lcd.h b/src/core/hw/lcd.h
index 41baa51d..7484f8f6 100644
--- a/src/core/hw/lcd.h
+++ b/src/core/hw/lcd.h
@@ -8,7 +8,8 @@
namespace LCD {
-static const u32 kFrameTicks = 268123480 / 60; ///< 268MHz / 60 frames per second
+static const u32 kFrameCycles = 268123480 / 60; ///< 268MHz / 60 frames per second
+static const u32 kFrameTicks = kFrameCycles / 3; ///< Approximate number of instructions/frame
struct Registers {
u32 framebuffer_top_left_1;