mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Fix some includes on Windows/etc.
This commit is contained in:
1 parent
be74da8f3c
commit
db77dcd149
17 files changed
+33
-10
No files matched your search
@@ -17,6 +17,7 @@
|
||||
|
||||
#pragma once
|
||||
#include "Globals.h"
|
||||
#include "Core/Debugger/SymbolMap.h"
|
||||
#include "Core/MIPS/MIPSAnalyst.h"
|
||||
|
||||
enum DisassemblyLineType { DISTYPE_OPCODE, DISTYPE_MACRO, DISTYPE_DATA, DISTYPE_OTHER };
|
||||
|
||||
@@ -15,11 +15,18 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include "Core/Host.h"
|
||||
#include "Core/Debugger/SymbolMap.h"
|
||||
|
||||
Host *host;
|
||||
|
||||
int PMixer::Mix(short *stereoout, int numSamples) {
|
||||
memset(stereoout, 0, numSamples * 2 * sizeof(short));
|
||||
return numSamples;
|
||||
}
|
||||
|
||||
bool Host::AttemptLoadSymbolMap() {
|
||||
symbolMap.Clear();
|
||||
return false;
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ class PMixer {
|
||||
public:
|
||||
PMixer() {}
|
||||
virtual ~PMixer() {}
|
||||
virtual int Mix(short *stereoout, int numSamples) {memset(stereoout,0,numSamples*2*sizeof(short)); return numSamples;}
|
||||
virtual int Mix(short *stereoout, int numSamples);
|
||||
};
|
||||
|
||||
class Host {
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include <set>
|
||||
|
||||
#include "Core/MemMap.h"
|
||||
#include "Core/Host.h"
|
||||
#include "Core/Config.h"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
#include "Core/MemMap.h"
|
||||
#include "Core/Reporting.h"
|
||||
@@ -26,6 +27,7 @@
|
||||
#include "GPU/Directx9/FramebufferDX9.h"
|
||||
#include "GPU/Common/TextureDecoder.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/Host.h"
|
||||
|
||||
#include "ext/xxhash.h"
|
||||
#include "math/math_util.h"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
#include "Core/Host.h"
|
||||
#include "Core/MemMap.h"
|
||||
@@ -27,6 +28,7 @@
|
||||
#include "GPU/GLES/Framebuffer.h"
|
||||
#include "GPU/Common/TextureDecoder.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/Host.h"
|
||||
|
||||
#include "ext/xxhash.h"
|
||||
#include "math/math_util.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Core/CPU.h"
|
||||
|
||||
#include "Core/Core.h"
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "../main.h"
|
||||
|
||||
static const int numCPUs = 1;
|
||||
|
||||
//#include "DbgHelp.h"
|
||||
extern HMENU g_hPopupMenus;
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "Windows/WndMainWindow.h"
|
||||
|
||||
#include "Core/Core.h"
|
||||
#include "Core/CPU.h"
|
||||
#include "Core/HLE/HLE.h"
|
||||
#include "Core/CoreTiming.h"
|
||||
#include "Core/MIPS/MIPSAnalyst.h"
|
||||
@@ -36,6 +35,8 @@
|
||||
#include <windowsx.h>
|
||||
#include <commctrl.h>
|
||||
|
||||
static const int numCPUs = 1;
|
||||
|
||||
// How long (max) to wait for Core to pause before clearing temp breakpoints.
|
||||
const int TEMP_BREAKPOINT_WAIT_MS = 100;
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include "Windows/Debugger/Debugger_Lists.h"
|
||||
#include "Windows/Debugger/CPURegsInterface.h"
|
||||
#include "Globals.h"
|
||||
#include "Core/CPU.h"
|
||||
#include "Core/MIPS/MIPSDebugInterface.h"
|
||||
#include "Core/Debugger/Breakpoints.h"
|
||||
#include <vector>
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#include "../../Core/HLE/sceKernelThread.h"
|
||||
#include "util/text/utf8.h"
|
||||
|
||||
static const int numCPUs = 1;
|
||||
|
||||
enum { TL_NAME, TL_PROGRAMCOUNTER, TL_ENTRYPOINT, TL_PRIORITY, TL_STATE, TL_WAITTYPE, TL_COLUMNCOUNT };
|
||||
enum { BPL_TYPE, BPL_OFFSET, BPL_SIZELABEL, BPL_OPCODE, BPL_CONDITION, BPL_HITS, BPL_ENABLED, BPL_COLUMNCOUNT };
|
||||
enum { SF_ENTRY, SF_ENTRYNAME, SF_CURPC, SF_CUROPCODE, SF_CURSP, SF_FRAMESIZE, SF_COLUMNCOUNT };
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "Windows/W32Util/DialogManager.h"
|
||||
|
||||
#include "Core/MemMap.h"
|
||||
#include "Core/CPU.h"
|
||||
|
||||
#include "Core/Debugger/DebugInterface.h"
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// NOTE: Apologies for the quality of this code, this is really from pre-opensource Dolphin - that is, 2003.
|
||||
|
||||
#pragma once
|
||||
#include "../W32Util/DialogManager.h"
|
||||
#include "Windows/W32Util/DialogManager.h"
|
||||
|
||||
#include "../../Core/MemMap.h"
|
||||
#include "../../Core/CPU.h"
|
||||
#include "Core/MemMap.h"
|
||||
#include "Core/Core.h"
|
||||
|
||||
#include "../../Core/Debugger/DebugInterface.h"
|
||||
#include "Core/Debugger/DebugInterface.h"
|
||||
|
||||
class CVFPUDlg : public Dialog
|
||||
{
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
#include "GPU/Debugger/Breakpoints.h"
|
||||
#include <algorithm>
|
||||
|
||||
static const int numCPUs = 1;
|
||||
|
||||
const PTCHAR CtrlDisplayListView::windowClass = _T("CtrlDisplayListView");
|
||||
|
||||
const int POPUP_SUBMENU_ID_DISPLAYLISTVIEW = 8;
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "gfx_es2/glsl_program.h"
|
||||
#include "Windows/GEDebugger/GEDebugger.h"
|
||||
#include "Windows/GEDebugger/SimpleGLWindow.h"
|
||||
#include "Core/System.h"
|
||||
#include "GPU/GPUInterface.h"
|
||||
#include "GPU/Common/GPUDebugInterface.h"
|
||||
#include "GPU/GPUState.h"
|
||||
|
||||
@@ -56,6 +56,8 @@
|
||||
#include "Common/StringUtils.h"
|
||||
#include "main.h"
|
||||
|
||||
static const int numCPUs = 1;
|
||||
|
||||
static PMixer *curMixer;
|
||||
|
||||
float mouseDeltaX = 0;
|
||||
|
||||
@@ -77,6 +77,8 @@
|
||||
|
||||
#define ENABLE_TOUCH 0
|
||||
|
||||
static const int numCPUs = 1;
|
||||
|
||||
int verysleepy__useSendMessage = 1;
|
||||
|
||||
const UINT WM_VERYSLEEPY_MSG = WM_APP + 0x3117;
|
||||
|
||||
Reference in new issue
Block a user