Commit cd9c476
committed
refactor(renderer): 优化帧率计数器数据类型和移除未使用变量
- 将FPS计数器从int类型改为uint16_t类型以节省内存
- 移除egl_bridge.c中的溢出检查逻辑
- 更新getFps函数中变量的数据类型匹配
- 移除GameMenu.java中未使用的time变量1 parent c91142c commit cd9c476
File tree
2 files changed
+2
-5
lines changed- FCLauncher/src/main/jni/pojav
- FCL/src/main/java/com/tungsten/fcl/control
2 files changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | 137 | | |
140 | 138 | | |
141 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | 177 | | |
179 | 178 | | |
180 | 179 | | |
| |||
228 | 227 | | |
229 | 228 | | |
230 | 229 | | |
231 | | - | |
| 230 | + | |
232 | 231 | | |
233 | 232 | | |
234 | 233 | | |
0 commit comments