Skip to content

Commit

Permalink
Fix new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Oct 29, 2023
1 parent 1c501ac commit 8b6008e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hydra_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void HydraCore::removeCheat(u32 id) { emulator->getCheats().removeCheat(id); }
void HydraCore::enableCheat(u32 id) { emulator->getCheats().enableCheat(id); }
void HydraCore::disableCheat(u32 id) { emulator->getCheats().disableCheat(id); }

HC_API hydra::IBase* createEmulator() { return new HydraCore; }
HC_API hydra::IBase* createEmulator() { return new HydraCore(); }
HC_API void destroyEmulator(hydra::IBase* emulator) { delete emulator; }

HC_API const char* getInfo(hydra::InfoType type) {
Expand Down

0 comments on commit 8b6008e

Please sign in to comment.