summaryrefslogtreecommitdiff
path: root/src/core/hw
diff options
context:
space:
mode:
authorGravatar bunnei2014-06-06 00:06:33 -0400
committerGravatar bunnei2014-06-13 09:51:09 -0400
commit0deeda54eefb18aaf6a62b8ec139cfe9bd21769c (patch)
tree8c39407c4f6b9fa711dd8f525ca0efe5c2682f87 /src/core/hw
parentCore: Changed HW update/thread reschedule to occur more frequently (assume ea... (diff)
downloadyuzu-0deeda54eefb18aaf6a62b8ec139cfe9bd21769c.tar.gz
yuzu-0deeda54eefb18aaf6a62b8ec139cfe9bd21769c.tar.xz
yuzu-0deeda54eefb18aaf6a62b8ec139cfe9bd21769c.zip
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 41baa51d0..7484f8f66 100644
--- a/src/core/hw/lcd.h
+++ b/src/core/hw/lcd.h
@@ -8,7 +8,8 @@
8 8
9namespace LCD { 9namespace LCD {
10 10
11static const u32 kFrameTicks = 268123480 / 60; ///< 268MHz / 60 frames per second 11static const u32 kFrameCycles = 268123480 / 60; ///< 268MHz / 60 frames per second
12static const u32 kFrameTicks = kFrameCycles / 3; ///< Approximate number of instructions/frame
12 13
13struct Registers { 14struct Registers {
14 u32 framebuffer_top_left_1; 15 u32 framebuffer_top_left_1;