mirror of https://github.com/mgba-emu/mgba.git
GBA BIOS: Initialize a variable that may be uninitialized in very rare cases
This commit is contained in:
parent
ec14557a1e
commit
179f12bf09
1
CHANGES
1
CHANGES
|
@ -49,6 +49,7 @@ Bugfixes:
|
||||||
- GBA: Handle out-of-bounds I/O access
|
- GBA: Handle out-of-bounds I/O access
|
||||||
- GBA: Fix bounds-checking on EEPROM access
|
- GBA: Fix bounds-checking on EEPROM access
|
||||||
- ARM7: Make illegal instruction decoding consistent between ARM and Thumb
|
- ARM7: Make illegal instruction decoding consistent between ARM and Thumb
|
||||||
|
- GBA BIOS: Initialize a variable that may be uninitialized in very rare cases
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Show multiplayer numbers in window title
|
- Qt: Show multiplayer numbers in window title
|
||||||
- Qt: Handle saving input settings better
|
- Qt: Handle saving input settings better
|
||||||
|
|
|
@ -331,7 +331,7 @@ static void _unLz77(struct GBA* gba, int width) {
|
||||||
uint32_t disp;
|
uint32_t disp;
|
||||||
int bytes;
|
int bytes;
|
||||||
int byte;
|
int byte;
|
||||||
int halfword;
|
int halfword = 0;
|
||||||
while (remaining > 0) {
|
while (remaining > 0) {
|
||||||
if (blocksRemaining) {
|
if (blocksRemaining) {
|
||||||
if (blockheader & 0x80) {
|
if (blockheader & 0x80) {
|
||||||
|
|
Loading…
Reference in New Issue