diff options
author | 2025-06-01 20:29:46 +0100 | |
---|---|---|
committer | 2025-06-01 20:29:46 +0100 | |
commit | a5372622f33f44ac83f28bc09ff8b79cb2676ef5 (patch) | |
tree | ff323f8e701db296ab537d1dbd0542d1a1986d47 /src/rinput.c | |
parent | 0f6864be9339835b7187077a6b960dbf9f055535 (diff) | |
download | sst-a5372622f33f44ac83f28bc09ff8b79cb2676ef5.tar.gz sst-a5372622f33f44ac83f28bc09ff8b79cb2676ef5.zip |
Fix bad returns missed in the feature init rewrite
Diffstat (limited to 'src/rinput.c')
-rw-r--r-- | src/rinput.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rinput.c b/src/rinput.c index f4e498e..1e957b0 100644 --- a/src/rinput.c +++ b/src/rinput.c @@ -126,8 +126,8 @@ static uint VCALLCONV hook_GetRawMouseAccumulators(void *this, int *x, int *y) { INIT { bool has_rawinput = !!con_findvar("m_rawinput"); if (has_rawinput) { - if (!has_vtidx_GetRawMouseAccumulators) return false; - if (!inputsystem) return false; + if (!has_vtidx_GetRawMouseAccumulators) return FEAT_INCOMPAT; + if (!inputsystem) return FEAT_INCOMPAT; vtable_insys = mem_loadptr(inputsystem); // XXX: this is kind of duping nosleep, but that won't always init... if_cold (!os_mprot(vtable_insys + vtidx_GetRawMouseAccumulators, |