diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-28 21:19:13 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-28 21:19:13 -0400 |
commit | 46aef01d0431253a4aa17b31b85cb35603a036ec (patch) | |
tree | 76801e49e200c19a6c2d5a17bd300e64d759b077 /src | |
parent | 70af9d620b8c1ebbc203c3601aad7c746fddff76 (diff) |
lcd: moved kFrameTicks to lcd.h for use in other modules
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hw/lcd.cpp | 2 | ||||
-rw-r--r-- | src/core/hw/lcd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/lcd.cpp b/src/core/hw/lcd.cpp index b57563a73..6cbce14ed 100644 --- a/src/core/hw/lcd.cpp +++ b/src/core/hw/lcd.cpp @@ -17,8 +17,6 @@ namespace LCD { Registers g_regs; -static const u32 kFrameTicks = 268123480 / 60; ///< 268MHz / 60 frames per second - u64 g_last_ticks = 0; ///< Last CPU ticks /** diff --git a/src/core/hw/lcd.h b/src/core/hw/lcd.h index 2dd3b4adc..41baa51d0 100644 --- a/src/core/hw/lcd.h +++ b/src/core/hw/lcd.h @@ -8,6 +8,8 @@ namespace LCD { +static const u32 kFrameTicks = 268123480 / 60; ///< 268MHz / 60 frames per second + struct Registers { u32 framebuffer_top_left_1; u32 framebuffer_top_left_2; |