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:
parent
38808740b4
commit
4ad30d65cf
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user