Fix a null check exception when a GBA bios fails to load

This commit is contained in:
adelikat 2013-05-04 02:57:28 +00:00
parent 7f3e01e3b3
commit b4e3d864e3
1 changed files with 1 additions and 1 deletions

View File

@ -2443,7 +2443,7 @@ namespace BizHawk.MultiClient
} }
else else
{ {
MessageBox.Show("Unable to find the required GBA BIOS file - \n" + gbabios, "Unable to load BIOS", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("Unable to find the required GBA BIOS file - \n" + gbabiospath, "Unable to load BIOS", MessageBoxButtons.OK, MessageBoxIcon.Error);
throw new Exception(); throw new Exception();
} }
GBA gba = new GBA(nextComm); GBA gba = new GBA(nextComm);