1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-23 21:10:57 +01:00

Add API versioning to idzio

This commit is contained in:
Tau 2021-06-12 12:43:42 -04:00
parent bead904f1e
commit 7d15f65818
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);