mirror of
https://github.com/StudentBlake/XCI-Explorer
synced 2024-11-22 12:13:03 +00:00
Temporary fix; read comment
This commit is contained in:
parent
dfd6fc4eb1
commit
500ac275f4
1 changed files with 11 additions and 4 deletions
|
@ -320,10 +320,17 @@ namespace XCI_Explorer
|
|||
if (NACP.NACP_Strings[i].Check != 0)
|
||||
{
|
||||
CB_RegionName.Items.Add(Language[i]);
|
||||
using (Bitmap original = new Bitmap("data\\icon_" + Language[i].Replace(" ", "") + ".dat"))
|
||||
{
|
||||
Icons[i] = new Bitmap(original);
|
||||
}
|
||||
try
|
||||
{
|
||||
using (Bitmap original = new Bitmap("data\\icon_" + Language[i].Replace(" ", "") + ".dat"))
|
||||
{
|
||||
Icons[i] = new Bitmap(original);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
// using bad coding coding practices as a temp fix until someone can figure out the problem
|
||||
}
|
||||
PB_GameIcon.BackgroundImage = Icons[i];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue