diff --git a/include/mgba/gba/interface.h b/include/mgba/gba/interface.h index 612afc383..aedd8895d 100644 --- a/include/mgba/gba/interface.h +++ b/include/mgba/gba/interface.h @@ -78,6 +78,8 @@ struct GBASIODriver { uint16_t (*writeRegister)(struct GBASIODriver* driver, uint32_t address, uint16_t value); }; +void GBASIOJOYCreate(struct GBASIODriver* sio); + enum GBASIOBattleChipGateFlavor { GBA_FLAVOR_BATTLECHIP_GATE = 4, GBA_FLAVOR_PROGRESS_GATE = 5, diff --git a/include/mgba/internal/gba/sio.h b/include/mgba/internal/gba/sio.h index e5656da0c..2c06af698 100644 --- a/include/mgba/internal/gba/sio.h +++ b/include/mgba/internal/gba/sio.h @@ -82,7 +82,6 @@ void GBASIOWriteRCNT(struct GBASIO* sio, uint16_t value); void GBASIOWriteSIOCNT(struct GBASIO* sio, uint16_t value); uint16_t GBASIOWriteRegister(struct GBASIO* sio, uint32_t address, uint16_t value); -void GBASIOJOYCreate(struct GBASIODriver* sio); int GBASIOJOYSendCommand(struct GBASIODriver* sio, enum GBASIOJOYCommand command, uint8_t* data); CXX_GUARD_END