GB: Properly initialize sramRealVf variable

This commit is contained in:
Jeffrey Pfau 2016-12-20 18:04:31 -08:00
parent 5ba2d00504
commit b5c62da070
2 changed files with 5 additions and 3 deletions

View File

@ -37,6 +37,7 @@ Bugfixes:
- GBA Video: Fix out of bounds sprite transforms
- GB: Fix crash when masking savedata
- GB Audio: Fix serialization of channel 3 and NR52 properties
- GB: Properly initialize sramRealVf variable
Misc:
- SDL: Remove scancode key input
- GBA Video: Clean up unused timers

View File

@ -70,9 +70,10 @@ static void GBInit(void* cpu, struct mCPUComponent* component) {
gb->model = GB_MODEL_AUTODETECT;
gb->biosVf = 0;
gb->romVf = 0;
gb->sramVf = 0;
gb->biosVf = NULL;
gb->romVf = NULL;
gb->sramVf = NULL;
gb->sramRealVf = NULL;
gb->pristineRom = 0;
gb->pristineRomSize = 0;