From 0deeda54eefb18aaf6a62b8ec139cfe9bd21769c Mon Sep 17 00:00:00 2001 From: bunnei Date: Fri, 6 Jun 2014 00:06:33 -0400 Subject: Core: Cleaned up SingleStep(), updated default LCD refresh to assume each instruction is ~3 cycles --- src/core/hw/lcd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/hw') diff --git a/src/core/hw/lcd.h b/src/core/hw/lcd.h index 41baa51d0..7484f8f66 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; -- cgit v1.2.3