diff options
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/main.c | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/win32/main.c b/win32/main.c index 026250d..e3fb702 100644 --- a/win32/main.c +++ b/win32/main.c @@ -39,6 +39,10 @@ enum {    ID_CONFIG,  }; +enum { +  WM_PACC_RESET = WM_USER, +}; +  #define FMPLAYER_CLASSNAME L"myon_fmplayer_ym2608_win32"  #define FMPLAYER_CDSTAG 0xFD809800UL @@ -703,6 +707,9 @@ static LRESULT CALLBACK wndproc(        return DLGC_WANTMESSAGE;      }      break; +  case WM_PACC_RESET: +    // TODO +    break;    }    return DefWindowProc(hwnd, msg, wParam, lParam);  } @@ -789,7 +796,7 @@ int CALLBACK wWinMain(HINSTANCE hinst, HINSTANCE hpinst,      wr.right-wr.left, wr.bottom-wr.top,      0, 0, g.hinst, 0    ); -  g.pc = pacc_init_d3d9(g.fmdspwnd, render_cb, 0, &g.pacc, &g.pacc_win); +  g.pc = pacc_init_d3d9(g.fmdspwnd, render_cb, 0, &g.pacc, &g.pacc_win, WM_PACC_RESET, g.mainwnd);    if (!g.pc) {      MessageBox(g.mainwnd, L"Error", L"Cannot initialize Direct3D", MB_ICONSTOP);      return 0;  | 
