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

Add API versioning to idzio

This commit is contained in:
Tau 2021-06-12 12:43:42 -04:00
parent 38808740b4
commit 4ad30d65cf
2 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,11 @@ static const struct idz_io_backend *idz_io_backend;
static bool idz_io_coin;
static uint16_t idz_io_coins;
uint16_t idz_io_get_api_version(void)
{
return 0x0100;
}
HRESULT idz_io_jvs_init(void)
{
HINSTANCE inst;

View File

@ -24,6 +24,8 @@ struct idz_io_analog_state {
uint16_t brake;
};
uint16_t idz_io_get_api_version(void);
HRESULT idz_io_jvs_init(void);
void idz_io_jvs_read_analogs(struct idz_io_analog_state *out);