1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2025-02-21 04:48:42 +01:00

iidxhook8: Fixup some missed renaming from struct cleanup

This commit is contained in:
Will Xyen 2019-10-13 11:50:56 -04:00
parent 03a9beae41
commit d60a1e0c0f
2 changed files with 3 additions and 3 deletions

View File

@ -198,7 +198,7 @@ static void bio2_emu_bi2a_send_state(struct ac_io_emu *emu, const struct ac_io_m
return bio2_emu_bi2a_send_status(emu, req, 0);
}
body = (struct bio2_bi2a_state *)&resp.cmd.raw;
body = (struct bi2a_iidx_state_out *)&resp.cmd.raw;
memset(body, 0, sizeof(struct bi2a_iidx_state_out));
// IIDX25 polls really really fast, this limits it to 1000Hz

View File

@ -106,8 +106,8 @@ struct bi2a_iidx_state_in {
struct bi2a_iidx_light SPOTLIGHT2[4];
uint8_t UNK3[7];
};
_Static_assert(sizeof(struct bi2a_iidx_state_in) == 48, "bio2_bi2a_state_in is the wrong size");
_Static_assert(sizeof(struct bi2a_iidx_state_out) == 46, "bio2_bi2a_state_out is the wrong size");
_Static_assert(sizeof(struct bi2a_iidx_state_in) == 48, "bi2a_iidx_state_in is the wrong size");
_Static_assert(sizeof(struct bi2a_iidx_state_out) == 46, "bi2a_iidx_state_out is the wrong size");
#pragma pack(pop)
void bio2_emu_bi2a_init(struct bio2emu_port *in, bool disable_poll_limiter);