returns true if the event is handled
| 2032 | |
| 2033 | // returns true if the event is handled |
| 2034 | bool Core::DFH_SDL_Event(SDL_Event* ev) { |
| 2035 | uint32_t start_ms = p->getTickCount(); |
| 2036 | bool ret = doSdlInputEvent(ev); |
| 2037 | perf_counters.incCounter(perf_counters.total_keybinding_ms, start_ms); |
| 2038 | return ret; |
| 2039 | } |
| 2040 | |
| 2041 | void Core::DFH_SDL_Loop() { |
| 2042 | DFHack::runRenderThreadCallbacks(); |
no test coverage detected