Previous 15994 Revisions Next

r2521 Friday 2nd May, 2008 at 02:24:51 UTC by Nathan Woods
[Windows GUI] Sync with MAMEUI; possibly fixing bug #1591?
[src/osd/winui]properties.c

src/osd/winui/properties.c
r2520r2521
27272727      if (g_nGame == GLOBAL_OPTIONS)
27282728      {
27292729         (void)ComboBox_InsertString(hCtrl, i, TEXT("None"));
2730         (void)ComboBox_SetItemData( hCtrl, i++, "none");
2730         (void)ComboBox_SetItemData( hCtrl, i++, "");
27312731         return;
27322732      }
27332733      if (g_nGame == FOLDER_OPTIONS) //Folder Options
r2520r2521
27362736         if (DriverHasOptionalBIOS(g_nFolderGame) == FALSE)
27372737         {
27382738            (void)ComboBox_InsertString(hCtrl, i, TEXT("None"));
2739            (void)ComboBox_SetItemData( hCtrl, i++, "default");
2739            (void)ComboBox_SetItemData( hCtrl, i++, "");
27402740            return;
27412741         }
27422742         (void)ComboBox_InsertString(hCtrl, i, TEXT("Default"));
2743         (void)ComboBox_SetItemData( hCtrl, i++, "default");
2743         (void)ComboBox_SetItemData( hCtrl, i++, "");
27442744
27452745         if (gamedrv->rom != NULL)
27462746         {
r2520r2521
27642764      if (DriverHasOptionalBIOS(g_nGame) == FALSE)
27652765      {
27662766         (void)ComboBox_InsertString(hCtrl, i, TEXT("None"));
2767         (void)ComboBox_SetItemData( hCtrl, i++, "none");
2767         (void)ComboBox_SetItemData( hCtrl, i++, "");
27682768         return;
27692769      }
27702770      (void)ComboBox_InsertString(hCtrl, i, TEXT("Default"));
2771      (void)ComboBox_SetItemData( hCtrl, i++, "default");
2771      (void)ComboBox_SetItemData( hCtrl, i++, "");
27722772
27732773      if (gamedrv->rom != NULL)
27742774      {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team