소스 검색

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

bunnei 12 년 전
부모
커밋
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;