[nostalgia/core] Rename event handler to update handler

This commit is contained in:
2022-03-19 20:11:53 -05:00
parent 8e660f6b15
commit 2223fe7863
9 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -20,7 +20,7 @@ constexpr int NanoSecond = 1000000000;
constexpr int MilliSecond = 1000;
constexpr int TicksMs59ns = 65535 - (NanoSecond / MilliSecond) / 59.59;
extern event_handler g_eventHandler;
extern UpdateHandler g_updateHandler;
extern volatile gba_timer_t g_timerMs;
@@ -47,8 +47,8 @@ ox::Result<ox::UniquePtr<Context>> init(ox::UniquePtr<ox::FileSystem> fs, const
return ctx;
}
void setEventHandler(Context*, event_handler h) noexcept {
g_eventHandler = h;
void setUpdateHandler(Context*, UpdateHandler h) noexcept {
g_updateHandler = h;
}
uint64_t ticksMs(Context*) noexcept {