Lazy fix for gamepad buttons showing funny numbers
[AROS.git] / arch / m68k-amiga / lowlevel / remtimerint.c
blobcebb6783b6cbf672e9bfab74b377ae440477bf9f
1 /*
2 Copyright © 2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/libcall.h>
8 #include <proto/cia.h>
10 #include <exec/types.h>
11 #include <libraries/lowlevel.h>
13 #include "lowlevel_intern.h"
15 AROS_LH1(VOID, RemTimerInt,
16 AROS_LHA(APTR, intHandle, A1),
17 struct LowLevelBase *, LowLevelBase, 14, LowLevel)
19 AROS_LIBFUNC_INIT
21 if (LowLevelBase->ll_CIA.llciat_Base && intHandle)
23 RemICRVector(LowLevelBase->ll_CIA.llciat_Base, LowLevelBase->ll_CIA.llciat_iCRBit, intHandle);
24 LowLevelBase->ll_CIA.llciat_Int.is_Code = NULL;
25 LowLevelBase->ll_CIA.llciat_iCRBit = -1;
28 return;
30 AROS_LIBFUNC_EXIT