From accb47b0137644ee7d3e455e3dc927bbc21cfc5a Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 28 Mar 2021 14:59:50 -0700 Subject: [PATCH] Python: Fix build --- include/mgba/gba/interface.h | 2 ++ include/mgba/internal/gba/sio.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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