Explorar el Código

lcd: moved kFrameTicks to lcd.h for use in other modules

bunnei hace 12 años
padre
commit
46aef01d04
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 0 2
      src/core/hw/lcd.cpp
  2. 2 0
      src/core/hw/lcd.h

+ 0 - 2
src/core/hw/lcd.cpp

@@ -17,8 +17,6 @@ namespace LCD {
 
 
 Registers g_regs;
 Registers g_regs;
 
 
-static const u32 kFrameTicks = 268123480 / 60;  ///< 268MHz / 60 frames per second
-
 u64 g_last_ticks = 0; ///< Last CPU ticks
 u64 g_last_ticks = 0; ///< Last CPU ticks
 
 
 /**
 /**

+ 2 - 0
src/core/hw/lcd.h

@@ -8,6 +8,8 @@
 
 
 namespace LCD {
 namespace LCD {
 
 
+static const u32 kFrameTicks = 268123480 / 60;  ///< 268MHz / 60 frames per second
+
 struct Registers {
 struct Registers {
     u32 framebuffer_top_left_1;
     u32 framebuffer_top_left_1;
     u32 framebuffer_top_left_2;
     u32 framebuffer_top_left_2;