diff options
| author | 2014-06-06 00:06:33 -0400 | |
|---|---|---|
| committer | 2014-06-13 09:51:09 -0400 | |
| commit | 0deeda54eefb18aaf6a62b8ec139cfe9bd21769c (patch) | |
| tree | 8c39407c4f6b9fa711dd8f525ca0efe5c2682f87 /src/core/hw | |
| parent | Core: Changed HW update/thread reschedule to occur more frequently (assume ea... (diff) | |
| download | yuzu-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.h | 3 |
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 | ||
| 9 | namespace LCD { | 9 | namespace LCD { |
| 10 | 10 | ||
| 11 | static const u32 kFrameTicks = 268123480 / 60; ///< 268MHz / 60 frames per second | 11 | static const u32 kFrameCycles = 268123480 / 60; ///< 268MHz / 60 frames per second |
| 12 | static const u32 kFrameTicks = kFrameCycles / 3; ///< Approximate number of instructions/frame | ||
| 12 | 13 | ||
| 13 | struct Registers { | 14 | struct Registers { |
| 14 | u32 framebuffer_top_left_1; | 15 | u32 framebuffer_top_left_1; |