Previous 15994 Revisions Next

r3291 Friday 19th September, 2008 at 14:01:12 UTC by Curt Coder
BIOS selection from MESSUI is now possible. (bug #1681)
[src/osd/winui]properties.c

src/osd/winui/properties.c
r3290r3291
29122912               if (ROMENTRY_ISSYSTEM_BIOS(rom))
29132913               {
29142914                  const char *name = ROM_GETHASHDATA(rom);
2915                  const char *biosname = ROM_GETNAME(rom);
29152916                  t_s = tstring_from_utf8(name);
29162917                  if( !t_s )
29172918                     return;
29182919                  (void)ComboBox_InsertString(hCtrl, i, win_tstring_strdup(t_s));
2919                  (void)ComboBox_SetItemData( hCtrl, i++, name);
2920                  (void)ComboBox_SetItemData( hCtrl, i++, biosname);
29202921                  free(t_s);
29212922               }
29222923            }
r3290r3291
29402941            if (ROMENTRY_ISSYSTEM_BIOS(rom))
29412942            {
29422943               const char *name = ROM_GETHASHDATA(rom);
2944               const char *biosname = ROM_GETNAME(rom);
29432945               t_s = tstring_from_utf8(name);
29442946               if( !t_s )
29452947                  return;
29462948               (void)ComboBox_InsertString(hCtrl, i, win_tstring_strdup(t_s));
2947               (void)ComboBox_SetItemData( hCtrl, i++, name);
2949               (void)ComboBox_SetItemData( hCtrl, i++, biosname);
29482950               free(t_s);
29492951            }
29502952         }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team