src/mess/osd/windows/menu.c
| r1389 | r1390 | |
| 1648 | 1648 | LONG_PTR ptr = GetWindowLongPtr(wnd, GWLP_USERDATA); |
| 1649 | 1649 | win_window_info *window = (win_window_info *)ptr; |
| 1650 | 1650 | |
| 1651 | // pause while invoking command |
| 1652 | winwindow_ui_pause_from_window_thread(TRUE); |
| 1653 | |
| 1651 | 1654 | switch(command) |
| 1652 | 1655 | { |
| 1653 | 1656 | case ID_FILE_LOADSTATE: |
| r1389 | r1390 | |
| 1871 | 1874 | } |
| 1872 | 1875 | break; |
| 1873 | 1876 | } |
| 1877 | |
| 1878 | // resume emulation |
| 1879 | winwindow_ui_pause_from_window_thread(FALSE); |
| 1880 | |
| 1874 | 1881 | return handled; |
| 1875 | 1882 | } |
| 1876 | 1883 | |