mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-27 14:30:49 +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:
parent
e918795445
commit
daff661b30
12
idzio/di.c
12
idzio/di.c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user