mirror of https://github.com/snes9xgit/snes9x.git
Merge branch 'master' of git://github.com/snes9xgit/snes9x
Conflicts: win32/_tfwopen.cpp win32/_tfwopen.h
This commit is contained in:
commit
480807389d
|
@ -3547,7 +3547,9 @@ void CMemory::ApplyROMFixes (void)
|
|||
match_na ("MSPACMAN") || // Ms Pacman
|
||||
match_na ("THE MASK") || // The Mask
|
||||
match_na ("PRIMAL RAGE") || // Primal Rage
|
||||
match_na ("PORKY PIGS HAUNTED") ||
|
||||
match_na ("PORKY PIGS HAUNTED") || // Porky Pig's Haunted Holiday
|
||||
match_na ("Big Sky Trooper") || // Big Sky Trooper
|
||||
match_id ("A35") || // Mechwarrior 3050 / Battle Tech 3050
|
||||
match_na ("DOOM TROOPERS")) // Doom Troopers
|
||||
Timings.APUAllowTimeOverflow = TRUE;
|
||||
}
|
||||
|
|
|
@ -270,11 +270,11 @@ public:
|
|||
|
||||
#define fopen _tfwopen
|
||||
#undef remove
|
||||
__inline int remove(const char *filename) {
|
||||
__forceinline int remove(const char *filename) {
|
||||
return _twremove(filename);
|
||||
}
|
||||
#undef open
|
||||
__inline int open(const char *filename, int oflag, int pmode) {
|
||||
__forceinline int open(const char *filename, int oflag, int pmode) {
|
||||
return _twopen(filename, oflag, pmode);
|
||||
}
|
||||
#define _access _twaccess
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -5520,7 +5520,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);
|
||||
|
|
Loading…
Reference in New Issue