| 162 | } |
| 163 | |
| 164 | static CC_INLINE void TickReducedPerformance(void) { |
| 165 | Thread_Sleep(100); /* 10 FPS */ |
| 166 | |
| 167 | if (Gfx.ReducedPerfMode) return; |
| 168 | Gfx.ReducedPerfMode = true; |
| 169 | Chat_AddOf(&Gfx_LowPerfMessage, MSG_TYPE_EXTRASTATUS_2); |
| 170 | } |
| 171 | |
| 172 | static CC_INLINE void EndReducedPerformance(void) { |
| 173 | if (!Gfx.ReducedPerfMode) return; |
no test coverage detected