summaryrefslogtreecommitdiffstats
path: root/src/core/hw
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-06-06 06:06:33 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-13 15:51:09 +0200
commit0deeda54eefb18aaf6a62b8ec139cfe9bd21769c (patch)
tree8c39407c4f6b9fa711dd8f525ca0efe5c2682f87 /src/core/hw
parentCore: Changed HW update/thread reschedule to occur more frequently (assume each instruction is ~3 cycles) (diff)
downloadyuzu-0deeda54eefb18aaf6a62b8ec139cfe9bd21769c.tar
yuzu-0deeda54eefb18aaf6a62b8ec139cfe9bd21769c.tar.gz
yuzu-0deeda54eefb18aaf6a62b8ec139cfe9bd21769c.tar.bz2
yuzu-0deeda54eefb18aaf6a62b8ec139cfe9bd21769c.tar.lz
yuzu-0deeda54eefb18aaf6a62b8ec139cfe9bd21769c.tar.xz
yuzu-0deeda54eefb18aaf6a62b8ec139cfe9bd21769c.tar.zst
yuzu-0deeda54eefb18aaf6a62b8ec139cfe9bd21769c.zip
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 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;