[nostalgia] Make core::shutdown return void and add GBA implementation

This commit is contained in:
2022-03-25 01:28:26 -05:00
parent 6eb4070d97
commit 053d35b31c
7 changed files with 21 additions and 9 deletions
+1 -2
View File
@@ -79,10 +79,9 @@ bool buttonDown(Context *ctx, Key key) noexcept {
return (id->keysDown >> static_cast<int>(key)) & 1;
}
ox::Error shutdown(Context *ctx) noexcept {
void shutdown(Context *ctx) noexcept {
const auto id = ctx->windowerData<GlfwImplData>();
glfwSetWindowShouldClose(id->window, true);
return OxError(0);
}
}