GBA: Fix mbVf initialization

This commit is contained in:
Vicki Pfau 2022-05-12 00:22:01 -07:00
parent 8410ea8b5f
commit cbe5c305b6
1 changed files with 7 additions and 6 deletions

View File

@ -92,13 +92,14 @@ static void GBAInit(void* cpu, struct mCPUComponent* component) {
gba->keysActive = 0;
gba->keysLast = 0x400;
gba->rotationSource = 0;
gba->luminanceSource = 0;
gba->rtcSource = 0;
gba->rumble = 0;
gba->rotationSource = NULL;
gba->luminanceSource = NULL;
gba->rtcSource = NULL;
gba->rumble = NULL;
gba->romVf = 0;
gba->biosVf = 0;
gba->romVf = NULL;
gba->mbVf = NULL;
gba->biosVf = NULL;
gba->stream = NULL;
gba->keyCallback = NULL;