src/osd/winui/properties.c
| r3290 | r3291 | |
| 2912 | 2912 | if (ROMENTRY_ISSYSTEM_BIOS(rom)) |
| 2913 | 2913 | { |
| 2914 | 2914 | const char *name = ROM_GETHASHDATA(rom); |
| 2915 | const char *biosname = ROM_GETNAME(rom); |
| 2915 | 2916 | t_s = tstring_from_utf8(name); |
| 2916 | 2917 | if( !t_s ) |
| 2917 | 2918 | return; |
| 2918 | 2919 | (void)ComboBox_InsertString(hCtrl, i, win_tstring_strdup(t_s)); |
| 2919 | | (void)ComboBox_SetItemData( hCtrl, i++, name); |
| 2920 | (void)ComboBox_SetItemData( hCtrl, i++, biosname); |
| 2920 | 2921 | free(t_s); |
| 2921 | 2922 | } |
| 2922 | 2923 | } |
| r3290 | r3291 | |
| 2940 | 2941 | if (ROMENTRY_ISSYSTEM_BIOS(rom)) |
| 2941 | 2942 | { |
| 2942 | 2943 | const char *name = ROM_GETHASHDATA(rom); |
| 2944 | const char *biosname = ROM_GETNAME(rom); |
| 2943 | 2945 | t_s = tstring_from_utf8(name); |
| 2944 | 2946 | if( !t_s ) |
| 2945 | 2947 | return; |
| 2946 | 2948 | (void)ComboBox_InsertString(hCtrl, i, win_tstring_strdup(t_s)); |
| 2947 | | (void)ComboBox_SetItemData( hCtrl, i++, name); |
| 2949 | (void)ComboBox_SetItemData( hCtrl, i++, biosname); |
| 2948 | 2950 | free(t_s); |
| 2949 | 2951 | } |
| 2950 | 2952 | } |