1
0
mirror of https://gitea.tendokyu.moe/Hay1tsme/segatools.git synced 2024-11-24 17:30:11 +01:00

idzio/di.c: Fix callback calling convention

This only matters for 32-bit builds (which aren't going to get
used for this DLL, ever) but let's not be sloppy.
This commit is contained in:
Tau 2019-10-15 15:09:53 -04:00
parent e918795445
commit daff661b30

View File

@ -23,8 +23,10 @@ struct idz_di_axis {
static HRESULT idz_di_config_apply(const struct idz_di_config *cfg);
static const struct idz_di_axis *idz_di_get_axis(const wchar_t *name);
static BOOL idz_di_enum_callback(const DIDEVICEINSTANCEW *dev, void *ctx);
static BOOL idz_di_enum_callback_shifter(
static BOOL CALLBACK idz_di_enum_callback(
const DIDEVICEINSTANCEW *dev,
void *ctx);
static BOOL CALLBACK idz_di_enum_callback_shifter(
const DIDEVICEINSTANCEW *dev,
void *ctx);
static void idz_di_jvs_read_buttons(uint8_t *gamebtn_out);
@ -309,7 +311,9 @@ static const struct idz_di_axis *idz_di_get_axis(const wchar_t *name)
return NULL;
}
static BOOL idz_di_enum_callback(const DIDEVICEINSTANCEW *dev, void *ctx)
static BOOL CALLBACK idz_di_enum_callback(
const DIDEVICEINSTANCEW *dev,
void *ctx)
{
const struct idz_di_config *cfg;
HRESULT hr;
@ -335,7 +339,7 @@ static BOOL idz_di_enum_callback(const DIDEVICEINSTANCEW *dev, void *ctx)
return DIENUM_STOP;
}
static BOOL idz_di_enum_callback_shifter(
static BOOL CALLBACK idz_di_enum_callback_shifter(
const DIDEVICEINSTANCEW *dev,
void *ctx)
{