GTK: Fixed bug #3201910

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1011 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
bgk 2011-03-12 08:51:23 +00:00
parent 11619472f3
commit 879ddd06ed
1 changed files with 2 additions and 1 deletions

View File

@ -926,7 +926,8 @@ void Window::vApplyPerGameConfig()
if (oKeyFile.has_key(csGameID, "flashSize"))
{
int iFlashSize = oKeyFile.get_integer(csGameID, "flashSize");
Glib::ustring sFlashSize = oKeyFile.get_string(csGameID, "flashSize");
int iFlashSize = atoi(sFlashSize.c_str());
if (iFlashSize == 0x10000 || iFlashSize == 0x20000)
flashSetSize(iFlashSize);
}