[nostalgia/core/gba] Add IRQ system

This commit is contained in:
2020-06-21 11:48:18 -05:00
parent d664979868
commit 89aadfb606
8 changed files with 96 additions and 11 deletions
+6 -1
View File
@@ -8,12 +8,17 @@
#include <SDL.h>
#include <nostalgia/core/core.hpp>
#include <nostalgia/core/gfx.hpp>
namespace nostalgia::core {
void draw(Context *ctx);
ox::Error init(Context *ctx) {
oxReturnError(initGfx(ctx));
return OxError(0);
}
ox::Error run(Context *ctx) {
for (auto running = true; running;) {
SDL_Event event;