Delete coin blocker exports from IO DLLs

These never get called at the moment, so we have no way of
guaranteeing that any existing implementations are even correct. If
we do decide to start emulating the coin blocker then we will need
to advance the API versions, which will (hopefully) force any
third-party devs to test their coin blocker code before opting in.
This commit is contained in:
Tau 2021-06-12 12:55:49 -04:00
parent 72c6bc7b1d
commit 26cf9aa4a7
10 changed files with 0 additions and 27 deletions

View File

@ -18,9 +18,6 @@ const struct dll_bind_sym chuni_dll_syms[] = {
}, {
.sym = "chuni_io_jvs_read_coin_counter",
.off = offsetof(struct chuni_dll, jvs_read_coin_counter),
}, {
.sym = "chuni_io_jvs_set_coin_blocker",
.off = offsetof(struct chuni_dll, jvs_set_coin_blocker),
}, {
.sym = "chuni_io_slider_init",
.off = offsetof(struct chuni_dll, slider_init),

View File

@ -9,7 +9,6 @@ struct chuni_dll {
HRESULT (*jvs_init)(void);
void (*jvs_poll)(uint8_t *opbtn, uint8_t *beams);
void (*jvs_read_coin_counter)(uint16_t *total);
void (*jvs_set_coin_blocker)(bool open);
HRESULT (*slider_init)(void);
void (*slider_start)(chuni_io_slider_callback_t callback);
void (*slider_stop)(void);

View File

@ -16,7 +16,6 @@ EXPORTS
chuni_io_jvs_init
chuni_io_jvs_poll
chuni_io_jvs_read_coin_counter
chuni_io_jvs_set_coin_blocker
chuni_io_slider_init
chuni_io_slider_set_leds
chuni_io_slider_start

View File

@ -75,9 +75,6 @@ void chuni_io_jvs_poll(uint8_t *opbtn, uint8_t *beams)
}
}
void chuni_io_jvs_set_coin_blocker(bool open)
{}
HRESULT chuni_io_slider_init(void)
{
return S_OK;

View File

@ -68,11 +68,6 @@ void chuni_io_jvs_poll(uint8_t *opbtn, uint8_t *beams);
void chuni_io_jvs_read_coin_counter(uint16_t *total);
/* Set the state of the coin blocker. Parameter is true if the blocker is
disengaged (i.e. coins can be inserted) and false if the blocker is engaged
(i.e. the coin slot should be physically blocked). */
void chuni_io_jvs_set_coin_blocker(bool open);
/* Initialize touch slider emulation. This function will be called before any
other chuni_io_slider_*() function calls.

View File

@ -18,9 +18,6 @@ const struct dll_bind_sym diva_dll_syms[] = {
}, {
.sym = "diva_io_jvs_read_coin_counter",
.off = offsetof(struct diva_dll, jvs_read_coin_counter),
}, {
.sym = "diva_io_jvs_set_coin_blocker",
.off = offsetof(struct diva_dll, jvs_set_coin_blocker),
}, {
.sym = "diva_io_slider_init",
.off = offsetof(struct diva_dll, slider_init),

View File

@ -9,7 +9,6 @@ struct diva_dll {
HRESULT (*jvs_init)(void);
void (*jvs_poll)(uint8_t *opbtn, uint8_t *beams);
void (*jvs_read_coin_counter)(uint16_t *total);
void (*jvs_set_coin_blocker)(bool open);
HRESULT (*slider_init)(void);
void (*slider_start)(diva_io_slider_callback_t callback);
void (*slider_stop)(void);

View File

@ -16,7 +16,6 @@ EXPORTS
diva_io_jvs_init
diva_io_jvs_poll
diva_io_jvs_read_coin_counter
diva_io_jvs_set_coin_blocker
diva_io_slider_init
diva_io_slider_set_leds
diva_io_slider_start

View File

@ -72,9 +72,6 @@ void diva_io_jvs_read_coin_counter(uint16_t *out)
*out = diva_io_coins;
}
void diva_io_jvs_set_coin_blocker(bool open)
{}
HRESULT diva_io_slider_init(void)
{
return S_OK;

View File

@ -47,12 +47,6 @@ void diva_io_jvs_poll(uint8_t *opbtn, uint8_t *gamebtn);
void diva_io_jvs_read_coin_counter(uint16_t *out);
/* Set the state of the coin blocker. Parameter is true if the blocker is
disengaged (i.e. coins can be inserted) and false if the blocker is engaged
(i.e. the coin slot should be physically blocked). */
void diva_io_jvs_set_coin_blocker(bool open);
/* Initialize touch slider emulation. This function will be called before any
other diva_io_slider_*() function calls.