mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-14 04:28:42 +00:00
6108e36ae9
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.
37 lines
690 B
C++
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);
|
|
};
|
|
|
|
|