-- @/=[C]:-1 function devicePresent(...)
if GFXDevice.devicePresent() and not headless_mode then waitingForUIChangeToLoading = true