mirror of https://github.com/mgba-emu/mgba.git
Core: Initialize keys
This commit is contained in:
parent
52152a3a12
commit
47062deb9f
|
@ -36,6 +36,7 @@ static bool _GBCoreInit(struct mCore* core) {
|
|||
|
||||
GBVideoSoftwareRendererCreate(&gbcore->renderer);
|
||||
|
||||
gbcore->keys = 0;
|
||||
gb->keySource = &gbcore->keys;
|
||||
|
||||
#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2
|
||||
|
|
|
@ -45,6 +45,7 @@ static bool _GBACoreInit(struct mCore* core) {
|
|||
|
||||
GBAVideoSoftwareRendererCreate(&gbacore->renderer);
|
||||
|
||||
gbacore->keys = 0;
|
||||
gba->keySource = &gbacore->keys;
|
||||
|
||||
#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2
|
||||
|
|
Loading…
Reference in New Issue