diff --git a/win32/win32_display.cpp b/win32/win32_display.cpp index 5abecf61..8fb317cc 100644 --- a/win32/win32_display.cpp +++ b/win32/win32_display.cpp @@ -605,7 +605,7 @@ void ToggleFullScreen () if(GetMenu(GUI.hWnd)!=NULL) SetMenu(GUI.hWnd,NULL); SetWindowLong (GUI.hWnd, GWL_STYLE, WS_POPUP|WS_VISIBLE); - SetWindowPos (GUI.hWnd, HWND_TOP, 0, 0, GUI.FullscreenMode.width, GUI.FullscreenMode.height, SWP_DRAWFRAME|SWP_FRAMECHANGED); + SetWindowPos (GUI.hWnd, HWND_TOPMOST, 0, 0, GUI.FullscreenMode.width, GUI.FullscreenMode.height, SWP_DRAWFRAME|SWP_FRAMECHANGED); if(!S9xDisplayOutput->SetFullscreen(true)) GUI.FullScreen = false; } diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index be1acce7..d7d81f12 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -5519,7 +5519,7 @@ INT_PTR CALLBACK DlgMultiROMProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lPar SetCurrentDirectory(S9xGetDirectoryT(BIOS_DIR)); _tfullpath(path, TEXT("stbios.bin"), MAX_PATH); SetDlgItemText(hDlg, IDC_MULTICART_BIOSEDIT, path); - FILE* ftemp = fopen(_tToChar(path), "rb"); + FILE* ftemp = _tfopen(path, TEXT("rb")); if(ftemp) { fclose(ftemp);