diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-16 14:44:59 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-23 01:23:16 +0100 |
commit | f85b5e99edfb2e1b9a4563cacc96892195eee379 (patch) | |
tree | e8c670366d80e62776b0856466625b50af97c0c7 /src/skel/win | |
parent | fix config.h (diff) | |
download | re3-f85b5e99edfb2e1b9a4563cacc96892195eee379.tar re3-f85b5e99edfb2e1b9a4563cacc96892195eee379.tar.gz re3-f85b5e99edfb2e1b9a4563cacc96892195eee379.tar.bz2 re3-f85b5e99edfb2e1b9a4563cacc96892195eee379.tar.lz re3-f85b5e99edfb2e1b9a4563cacc96892195eee379.tar.xz re3-f85b5e99edfb2e1b9a4563cacc96892195eee379.tar.zst re3-f85b5e99edfb2e1b9a4563cacc96892195eee379.zip |
Diffstat (limited to 'src/skel/win')
-rw-r--r-- | src/skel/win/win.cpp | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 84a010de..242a3fe2 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -2,7 +2,6 @@ #define _WIN32_WINDOWS 0x0500 #define WINVER 0x0500 -#define DIRECTINPUT_VERSION 0x0800 #include <winerror.h> #include <windows.h> @@ -20,13 +19,7 @@ #pragma warning( push ) #pragma warning( disable : 4005) -#ifdef USE_D3D9 -#include <d3d9.h> -#else -#include <d3d8.h> -#endif #include <ddraw.h> -#include <dinput.h> #include <DShow.h> #pragma warning( pop ) @@ -41,6 +34,9 @@ #pragma comment( lib, "strmiids.lib" ) #pragma comment( lib, "dinput8.lib" ) +#define WITHD3D +#define WITHDINPUT +#include "common.h" #if (defined(_MSC_VER)) #include <tchar.h> #endif /* (defined(_MSC_VER)) */ @@ -81,7 +77,6 @@ static psGlobalType PsGlobal; #define JIF(x) if (FAILED(hr=(x))) \ {debug(TEXT("FAILED(hr=0x%x) in ") TEXT(#x) TEXT("\n"), hr); return;} -#include "common.h" #include "main.h" #include "FileMgr.h" #include "Text.h" @@ -92,12 +87,14 @@ static psGlobalType PsGlobal; #include "Frontend.h" #include "Game.h" #include "PCSave.h" -#include "MemoryCard.h" -#include "Sprite2d.h" #include "AnimViewer.h" -#include "Font.h" #include "MemoryMgr.h" +#ifdef PS2_MENU +#include "MemoryCard.h" +#include "Font.h" +#endif + VALIDATE_SIZE(psGlobalType, 0x28); // DirectShow interfaces |