Skip to content

Commit

Permalink
Fix derp
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat committed Oct 21, 2023
1 parent 9178afe commit 8902e79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hydra_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand All @@ -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]; }
}

0 comments on commit 8902e79

Please sign in to comment.