misc/coverity_model.c
author Wuzzy <Wuzzy2@mail.ru>
Mon, 16 Jul 2018 20:28:01 +0200
branch0.9.24
changeset 13547 214dde864805
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
Fix hwengine crash when using >1 controllers Reason: Data type mismatch for SDL_JoystickName, we wed in an index, but it expected a controller handle. Solution: Switch to SDL_JoystickNameForIndex.

void fpcrtl_halt(int num) {
    __coverity_panic__();
}

int fpcrtl_abs(int num) {
    return num >= 0 ? num : -num;
}