ppsspp/Windows/Debugger/Debugger_MemoryDlg.h
Diogo Franco (Kovensky) 6108e36ae9 Several fixes to build under stricter C++11
Add missing #include to various files.

strings.h isn't provided by MSVC so we don't include it there; it's needed
for other OSes/compilers.

Get rid of pre-ISO-C malloc.h includes; malloc is provided by stdlib.h.

Fixes some linuxisms.

Prepend __builtin_ to __clear_cache, calling it without the prefix is a
GNU extension.
2012-11-21 14:33:50 -03:00

37 lines
690 B
C++

// 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 "../../Core/MemMap.h"
#include "../../Core/CPU.h"
#include "../../Core/Debugger/DebugInterface.h"
#include <windows.h>
class CMemoryDlg : public Dialog
{
private:
DebugInterface *cpu;
static RECT slRect;
BOOL DlgProc(UINT message, WPARAM wParam, LPARAM lParam);
public:
int index; //helper
// constructor
CMemoryDlg(HINSTANCE _hInstance, HWND _hParent, DebugInterface *_cpu);
// destructor
~CMemoryDlg(void);
void Goto(u32 addr);
void Update(void);
void NotifyMapLoaded();
void Size(void);
};