Merge from AW's master.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
57b2c670ab
commit
ae33493da7
5 changed files with 27 additions and 33 deletions
|
@ -289,7 +289,7 @@ void Game::keyboardEmulation()
|
|||
|
||||
video.Config_Save_Video();
|
||||
video.VideoReinitialize();
|
||||
GetFrame().VideoRedrawScreen();
|
||||
video.VideoRedrawScreen();
|
||||
updateWindowTitle();
|
||||
}
|
||||
if (checkButtonPressed(RETRO_DEVICE_ID_JOYPAD_L))
|
||||
|
@ -301,7 +301,7 @@ void Game::keyboardEmulation()
|
|||
|
||||
video.Config_Save_Video();
|
||||
video.VideoReinitialize();
|
||||
GetFrame().VideoRedrawScreen();
|
||||
video.VideoRedrawScreen();
|
||||
updateWindowTitle();
|
||||
}
|
||||
if (checkButtonPressed(RETRO_DEVICE_ID_JOYPAD_START))
|
||||
|
|
|
@ -323,7 +323,7 @@ void setAppleWinPreferences(const PreferenceData & currentData, const Preference
|
|||
|
||||
video.Config_Save_Video();
|
||||
video.VideoReinitialize();
|
||||
GetFrame().VideoRedrawScreen();
|
||||
video.VideoRedrawScreen();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -576,7 +576,7 @@ void QApple::on_actionNext_video_mode_triggered()
|
|||
|
||||
video.Config_Save_Video();
|
||||
video.VideoReinitialize();
|
||||
GetFrame().VideoRedrawScreen();
|
||||
video.VideoRedrawScreen();
|
||||
}
|
||||
|
||||
void QApple::loadStateFile(const QString & filename)
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace
|
|||
|
||||
video.Config_Save_Video();
|
||||
video.VideoReinitialize();
|
||||
GetFrame().VideoRedrawScreen();
|
||||
video.VideoRedrawScreen();
|
||||
|
||||
updateWindowTitle(win);
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ namespace
|
|||
|
||||
video.Config_Save_Video();
|
||||
video.VideoReinitialize();
|
||||
GetFrame().VideoRedrawScreen();
|
||||
video.VideoRedrawScreen();
|
||||
|
||||
updateWindowTitle(win);
|
||||
}
|
||||
|
|
|
@ -17,33 +17,34 @@
|
|||
#ifndef _WINDEF_
|
||||
#define _WINDEF_
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef BASETYPES
|
||||
#define BASETYPES
|
||||
typedef unsigned /*long*/int ULONG;
|
||||
typedef uint32_t ULONG; // 32 bit long in VS
|
||||
typedef ULONG *PULONG;
|
||||
typedef unsigned short USHORT;
|
||||
typedef USHORT *PUSHORT;
|
||||
typedef uint16_t USHORT;
|
||||
typedef unsigned char UCHAR;
|
||||
typedef UCHAR *PUCHAR;
|
||||
typedef char *PSZ;
|
||||
#endif /* !BASETYPES */
|
||||
|
||||
typedef int16_t INT16;
|
||||
typedef uint16_t UINT16;
|
||||
|
||||
typedef signed short INT16; // why there was char instead of short? --bb ??????????????????
|
||||
typedef unsigned short UINT16; // why there was char instead of short? --bb ??????????????????? 0_0
|
||||
#define __int64 long long
|
||||
|
||||
typedef unsigned __int64 UINT_PTR, *PUINT_PTR;
|
||||
typedef intptr_t INT_PTR;
|
||||
typedef uintptr_t UINT_PTR;
|
||||
|
||||
typedef long long LONGLONG;
|
||||
|
||||
typedef unsigned int UINT32;
|
||||
typedef unsigned char UINT8;
|
||||
typedef int INT32;
|
||||
//#define __stdcall _cdecl
|
||||
typedef uint32_t UINT32;
|
||||
typedef uint8_t UINT8;
|
||||
typedef int32_t INT32;
|
||||
|
||||
|
||||
#define MAX_PATH 260
|
||||
|
@ -96,29 +97,24 @@ typedef int INT32;
|
|||
#define CONST const
|
||||
#endif
|
||||
|
||||
typedef unsigned /*long*/int DWORD;
|
||||
typedef int BOOL;
|
||||
typedef uint32_t DWORD;
|
||||
typedef int32_t BOOL;
|
||||
typedef unsigned char BYTE;
|
||||
typedef unsigned short WORD;
|
||||
typedef uint16_t WORD;
|
||||
typedef float FLOAT;
|
||||
typedef FLOAT *PFLOAT;
|
||||
typedef BOOL near *PBOOL;
|
||||
typedef BOOL far *LPBOOL;
|
||||
typedef BYTE near *PBYTE;
|
||||
typedef BYTE far *LPBYTE;
|
||||
typedef int near *PINT;
|
||||
typedef int far *LPINT;
|
||||
typedef WORD near *PWORD;
|
||||
typedef WORD far *LPWORD;
|
||||
typedef long far *LPLONG;
|
||||
typedef DWORD near *PDWORD;
|
||||
typedef DWORD far *LPDWORD;
|
||||
typedef void far *LPVOID;
|
||||
typedef CONST void far *LPCVOID;
|
||||
|
||||
typedef int INT;
|
||||
typedef unsigned int UINT;
|
||||
typedef unsigned int *PUINT;
|
||||
typedef int32_t INT;
|
||||
typedef uint32_t UINT;
|
||||
|
||||
#define MAKEWORD(a, b) ((WORD)(((BYTE)(a)) | ((WORD)((BYTE)(b))) << 8))
|
||||
#define MAKELONG(a, b) ((LONG)(((WORD)(a)) | ((DWORD)((WORD)(b))) << 16))
|
||||
|
@ -132,24 +128,22 @@ typedef DWORD *LPCOLORREF;
|
|||
|
||||
|
||||
////////////////////////// WINNT ///////////////////////////////
|
||||
#ifndef VOID
|
||||
#define VOID void
|
||||
typedef char CHAR;
|
||||
typedef short SHORT;
|
||||
typedef /*long*/int LONG;
|
||||
typedef int32_t /*long*/ LONG;
|
||||
typedef SHORT *PSHORT;
|
||||
typedef LONG *PLONG;
|
||||
typedef wchar_t WCHAR;
|
||||
#endif
|
||||
|
||||
typedef LONG HRESULT;
|
||||
typedef long LONG_PTR;
|
||||
typedef unsigned long ULONG_PTR;
|
||||
typedef intptr_t LONG_PTR;
|
||||
typedef uintptr_t ULONG_PTR;
|
||||
typedef LONG_PTR LRESULT;
|
||||
|
||||
typedef DWORD LCID, *PLCID;
|
||||
|
||||
typedef unsigned __int64 UINT64, *PUINT64;
|
||||
typedef uint64_t UINT64, *PUINT64;
|
||||
|
||||
//
|
||||
// ANSI (Multi-byte Character) types
|
||||
|
|
Loading…
Add table
Reference in a new issue