diff --git a/src/hydra_core.cpp b/src/hydra_core.cpp index 09016a0a..24c6ed1b 100644 --- a/src/hydra_core.cpp +++ b/src/hydra_core.cpp @@ -114,6 +114,9 @@ void HydraCore::setFbo(unsigned handle) { renderer->setFBO(handle); } void HydraCore::setPollInputCallback(void (*callback)()) { pollInputCallback = callback; } void HydraCore::setCheckButtonCallback(int32_t (*callback)(uint32_t player, hydra::ButtonType button)) { checkButtonCallback = callback; } +hydra::Size HydraCore::getIconSize() { return {HYDRA_ICON_WIDTH, HYDRA_ICON_HEIGHT}; } +const u8* HydraCore::getIconData() { return &HYDRA_ICON_DATA[0]; } + HC_API hydra::IBase* createEmulator() { return new HydraCore; } HC_API void destroyEmulator(hydra::IBase* emulator) { delete emulator; } @@ -130,7 +133,4 @@ HC_API const char* getInfo(hydra::InfoType type) { case hydra::InfoType::Firmware: return ""; default: return nullptr; } -} - -HC_API hydra::Size getIconSize() { return {HYDRA_ICON_WIDTH, HYDRA_ICON_HEIGHT}; } -HC_API const u8* getIconData() { return &HYDRA_ICON_DATA[0]; } \ No newline at end of file +} \ No newline at end of file