| 766 | } |
| 767 | |
| 768 | void LoadRecentRom(int slot) |
| 769 | { |
| 770 | char*& fname = recent_files[slot]; |
| 771 | if(fname) |
| 772 | { |
| 773 | if (!ALoad(fname)) |
| 774 | { |
| 775 | int result = MessageBox(hAppWnd, "Remove from list?", "Could Not Open Recent File", MB_YESNO); |
| 776 | if (result == IDYES) |
| 777 | { |
| 778 | RemoveRecentItem(slot, recent_files, MAX_NUMBER_OF_RECENT_FILES); |
| 779 | UpdateRMenu(recentmenu, recent_files, MENU_RECENT_FILES, MENU_FIRST_RECENT_FILE); |
| 780 | } |
| 781 | } |
| 782 | } |
| 783 | } |
| 784 | |
| 785 | void UpdateLuaRMenu(HMENU menu, char **strs, unsigned int mitem, unsigned int baseid) |
| 786 | { |
no test coverage detected