From 8902e796dac53271f41b59421a768077fbb4f9b1 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sun, 22 Oct 2023 00:32:52 +0300 Subject: [PATCH] Fix derp --- src/hydra_core.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hydra_core.cpp b/src/hydra_core.cpp index 09016a0a4..24c6ed1b8 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