Windows: Fix improper case or missing includes.

As per mingw errors/warnings.
This commit is contained in:
Unknown W. Brackets 2021-02-14 09:25:20 -08:00
parent acd496b6c2
commit 2c165c9b6d
16 changed files with 24 additions and 16 deletions

View File

@ -25,6 +25,7 @@
#include "ppsspp_config.h"
#include <cstring>
#include <ctime>
#include <memory>
#include "Common/Log.h"

View File

@ -14,10 +14,10 @@
#include "Common/Log.h"
#include <cfloat>
#include <D3DCommon.h>
#include <D3Dcommon.h>
#include <d3d11.h>
#include <d3d11_1.h>
#include <d3dcompiler.h>
#include <D3Dcompiler.h>
#ifdef __MINGW32__
#undef __uuidof

View File

@ -12,7 +12,7 @@
#endif
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <d3dcommon.h>
#include <D3Dcommon.h>
struct IDirect3DDevice9;
struct IDirect3D9;
struct IDirect3DDevice9Ex;

View File

@ -19,6 +19,7 @@
#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L
#endif
#include <ctime>
#include <thread>
#include "Common/Data/Text/I18n.h"

View File

@ -18,6 +18,7 @@
#include "ppsspp_config.h"
#include <algorithm>
#include <ctime>
#include <limits>
#include "Common/Data/Text/I18n.h"

View File

@ -16,6 +16,7 @@
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "ppsspp_config.h"
#include <ctime>
#include "Common/File/FileUtil.h"
#include "Common/StringUtils.h"

View File

@ -17,6 +17,7 @@
#pragma once
#include <cstddef>
#include "Common/CommonTypes.h"
// This bool is the key to having the HD remasters work.

View File

@ -17,9 +17,9 @@
#include "Core/HLE/HLE.h"
#include "Core/HLE/FunctionWrappers.h"
#include "Core/HLE/proAdhoc.h"
#include "Core/HLE/sceOpenPSID.h"
#include "Core/MemMapHelpers.h"
#include <Core/HLE/proAdhoc.h>
SceOpenPSID dummyOpenPSID = { 0x10, 0x02, 0xA3, 0x44, 0x13, 0xF5, 0x93, 0xB0, 0xCC, 0x6E, 0xD1, 0x32, 0x27, 0x85, 0x0F, 0x9D };

View File

@ -18,7 +18,7 @@
#include "ppsspp_config.h"
#include <d3d11.h>
#include <d3dcompiler.h>
#include <D3Dcompiler.h>
#include <map>

View File

@ -4,7 +4,9 @@
#include "WindowsAudio.h"
#include <mmreg.h>
#include <dsound.h>
struct IDirectSound8;
struct IDirectSoundBuffer;
class DSoundAudioBackend : public WindowsAudioBackend {
public:

View File

@ -2,7 +2,7 @@
#include "Core/Config.h"
#include "Core/MemMap.h"
#include "Windows/Resource.h"
#include "Windows/resource.h"
#include "Windows/InputBox.h"
#include "Core/Debugger/Breakpoints.h"

View File

@ -4,7 +4,7 @@
#include "Windows/W32Util/DialogManager.h"
#include "Windows/W32Util/TabControl.h"
#include "Windows/Debugger/CtrlDisasmView.h"
#include "Windows/Debugger/CtrlDisAsmView.h"
#include "Windows/Debugger/Debugger_Lists.h"
#include "Windows/Debugger/CPURegsInterface.h"
#include "Core/MIPS/MIPSDebugInterface.h"

View File

@ -19,15 +19,15 @@
#include <limits.h>
#include <algorithm>
#include <mmsystem.h>
#include <XInput.h>
#include "Core/HLE/sceCtrl.h"
#include "DinputDevice.h"
#include "Core/Config.h"
#include "Common/Input/InputState.h"
#include "Common/System/NativeApp.h"
#include "Common/Input/KeyCodes.h"
#include "Common/System/NativeApp.h"
#include "Core/Config.h"
#include "Core/HLE/sceCtrl.h"
#include "Core/Reporting.h"
#include "Xinput.h"
#include "Windows/DinputDevice.h"
#pragma comment(lib,"dinput8.lib")
#ifdef min

View File

@ -2,7 +2,7 @@
#include "Windows/GEDebugger/CtrlDisplayListView.h"
#include "Windows/GEDebugger/GEDebugger.h"
#include "Windows/InputBox.h"
#include "Windows/Main.h"
#include "Windows/main.h"
#include "Core/Config.h"
#include "GPU/Debugger/Breakpoints.h"
#include "GPU/GPUState.h"

View File

@ -15,6 +15,7 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include <cmath>
#include <functional>
#include <set>
#include <string>

View File

@ -1,8 +1,8 @@
#pragma once
#include "InputDevice.h"
#include "Xinput.h"
#include <XInput.h>
#include "Core/HLE/sceCtrl.h"
#include "Windows/InputDevice.h"
class XinputDevice final : public InputDevice {
public: