Reorganize DebugInterface etc a bit.

KernelThreadDebugInterface no longer has a useless copy of a MIPSDebugInterface.
This commit is contained in:
Henrik Rydgård committed 2024-12-12 18:54:46 +01:00
1 parent a858032e46
commit 20a17a0e8d
33 files changed
+167 -210

No files matched your search

+2 -2
View File
@@ -91,12 +91,12 @@ LRESULT CALLBACK FuncListProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lPa
static constexpr UINT_PTR IDT_UPDATE = 0xC0DE0042;
static constexpr UINT UPDATE_DELAY = 1000 / 60;
CDisasm::CDisasm(HINSTANCE _hInstance, HWND _hParent, DebugInterface *_cpu) : Dialog((LPCSTR)IDD_DISASM, _hInstance, _hParent) {
CDisasm::CDisasm(HINSTANCE _hInstance, HWND _hParent, MIPSDebugInterface *_cpu) : Dialog((LPCSTR)IDD_DISASM, _hInstance, _hParent) {
cpu = _cpu;
lastTicks_ = PSP_IsInited() ? CoreTiming::GetTicks() : 0;
breakpoints_ = &g_breakpoints;
SetWindowText(m_hDlg, ConvertUTF8ToWString(_cpu->GetName()).c_str());
SetWindowText(m_hDlg, L"R4");
RECT windowRect;
GetWindowRect(m_hDlg,&windowRect);