Просмотр исходного кода

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

bunnei 12 лет назад
Родитель
Сommit
46aef01d04
2 измененных файлов с 2 добавлено и 2 удалено
  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;
 
-static const u32 kFrameTicks = 268123480 / 60;  ///< 268MHz / 60 frames per second
-
 u64 g_last_ticks = 0; ///< Last CPU ticks
 
 /**

+ 2 - 0
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;