Mercurial > repos > blastem
diff blastem.c @ 1583:430dd12e4010
Refactor to split device bindings from IO emulation code
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 05 May 2018 23:30:40 -0700 |
parents | a74db49fa6b1 |
children | 31effaadf877 |
line wrap: on
line diff
--- a/blastem.c Wed May 02 09:41:05 2018 -0700 +++ b/blastem.c Sat May 05 23:30:40 2018 -0700 @@ -23,6 +23,7 @@ #include "terminal.h" #include "arena.h" #include "config.h" +#include "bindings.h" #include "menu.h" #include "zip.h" #ifndef DISABLE_NUKLEAR @@ -562,6 +563,7 @@ render_init(width, height, "BlastEm", fullscreen); render_set_drag_drop_handler(on_drag_drop); } + set_bindings(); uint8_t menu = !loaded; uint8_t use_nuklear = 0;