mirror of https://github.com/mgba-emu/mgba.git
GB: Properly initialize sramRealVf variable
This commit is contained in:
parent
7b3a712d69
commit
243cd08c2a
1
CHANGES
1
CHANGES
|
@ -26,6 +26,7 @@ Bugfixes:
|
||||||
- GBA: Only unhalt CPU if appropriate bit is set in IE
|
- GBA: Only unhalt CPU if appropriate bit is set in IE
|
||||||
- GB: Fix crash when masking savedata
|
- GB: Fix crash when masking savedata
|
||||||
- GB Audio: Fix serialization of channel 3 and NR52 properties
|
- GB Audio: Fix serialization of channel 3 and NR52 properties
|
||||||
|
- GB: Properly initialize sramRealVf variable
|
||||||
Misc:
|
Misc:
|
||||||
- PSP2: Improved controller rumble
|
- PSP2: Improved controller rumble
|
||||||
- GB, GBA: Prevent loading null ROMs
|
- GB, GBA: Prevent loading null ROMs
|
||||||
|
|
|
@ -68,9 +68,10 @@ static void GBInit(void* cpu, struct mCPUComponent* component) {
|
||||||
|
|
||||||
gb->model = GB_MODEL_AUTODETECT;
|
gb->model = GB_MODEL_AUTODETECT;
|
||||||
|
|
||||||
gb->biosVf = 0;
|
gb->biosVf = NULL;
|
||||||
gb->romVf = 0;
|
gb->romVf = NULL;
|
||||||
gb->sramVf = 0;
|
gb->sramVf = NULL;
|
||||||
|
gb->sramRealVf = NULL;
|
||||||
|
|
||||||
gb->pristineRom = 0;
|
gb->pristineRom = 0;
|
||||||
gb->pristineRomSize = 0;
|
gb->pristineRomSize = 0;
|
||||||
|
|
Loading…
Reference in New Issue