GBA BIOS: Initialize a variable that may be uninitialized in very rare cases

This commit is contained in:
Jeffrey Pfau 2015-05-09 00:29:52 -07:00
parent 0cb0c185ff
commit f19c39946f
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ Bugfixes:
- GBA: Handle out-of-bounds I/O access
- GBA: Fix bounds-checking on EEPROM access
- ARM7: Make illegal instruction decoding consistent between ARM and Thumb
- GBA BIOS: Initialize a variable that may be uninitialized in very rare cases
Misc:
- Qt: Show multiplayer numbers in window title
- Qt: Solar sensor can have shortcuts set

View File

@ -331,7 +331,7 @@ static void _unLz77(struct GBA* gba, int width) {
uint32_t disp;
int bytes;
int byte;
int halfword;
int halfword = 0;
while (remaining > 0) {
if (blocksRemaining) {
if (blockheader & 0x80) {