mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 09:09:49 +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.
43 lines
867 B
C++
43 lines
867 B
C++
// NOTE: Apologies for the quality of this code, this is really from pre-opensource Dolphin - that is, 2003.
|
|
|
|
#ifndef _DISASM_H
|
|
#define _DISASM_H
|
|
|
|
#include "../W32Util/DialogManager.h"
|
|
#include "CtrlDisasmView.h"
|
|
#include "../../Core/MIPS/MIPSDebugInterface.h"
|
|
#include "CPURegsInterface.h"
|
|
#include "../../Globals.h"
|
|
#include "../../Core/CPU.h"
|
|
|
|
#include <windows.h>
|
|
|
|
class CDisasm : public Dialog
|
|
{
|
|
private:
|
|
RECT minRect;
|
|
RECT regRect;
|
|
RECT disRect;
|
|
|
|
DebugInterface *cpu;
|
|
|
|
BOOL DlgProc(UINT message, WPARAM wParam, LPARAM lParam);
|
|
|
|
public:
|
|
int index; //helper
|
|
|
|
CDisasm(HINSTANCE _hInstance, HWND _hParent, DebugInterface *cpu);
|
|
~CDisasm();
|
|
//
|
|
// --- tools ---
|
|
//
|
|
// Update Dialog
|
|
void UpdateDialog(bool _bComplete = false);
|
|
// SetDebugMode
|
|
void SetDebugMode(bool _bDebug);
|
|
// show dialog
|
|
void Goto(u32 addr);
|
|
void NotifyMapLoaded();
|
|
};
|
|
|
|
#endif |