src/mess/osd/winui/softwarelist.c
| r8547 | r8548 | |
| 43 | 43 | char file_name[MAX_PATH]; |
| 44 | 44 | char publisher[MAX_PATH]; |
| 45 | 45 | char year[10]; |
| 46 | | |
| 46 | char full_name[MAX_PATH*2]; |
| 47 | |
| 47 | 48 | char device[MAX_PATH]; |
| 48 | 49 | }; |
| 49 | 50 | |
| r8547 | r8548 | |
| 83 | 84 | pPickerInfo = GetSoftwareListInfo(hwndPicker); |
| 84 | 85 | if ((nIndex < 0) || (nIndex >= pPickerInfo->file_index_length)) |
| 85 | 86 | return NULL; |
| 86 | | return pPickerInfo->file_index[nIndex]->file_name; |
| 87 | return pPickerInfo->file_index[nIndex]->full_name; |
| 87 | 88 | } |
| 88 | 89 | |
| 89 | 90 | LPCSTR SoftwareList_LookupDevice(HWND hwndPicker, int nIndex) |
| r8547 | r8548 | |
| 157 | 158 | strcpy(pInfo->publisher, pszPublisher); |
| 158 | 159 | strcpy(pInfo->year, pszYear); |
| 159 | 160 | strcpy(pInfo->device, pszDevice); |
| 161 | sprintf(pInfo->full_name,"%s:%s", pszListname,pszName); |
| 162 | |
| 160 | 163 | |
| 161 | 164 | ppNewIndex = (file_info**)malloc((pPickerInfo->file_index_length + 1) * sizeof(*pPickerInfo->file_index)); |
| 162 | 165 | memcpy(ppNewIndex,pPickerInfo->file_index,pPickerInfo->file_index_length * sizeof(*pPickerInfo->file_index)); |