mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Reorganize DebugInterface etc a bit.
KernelThreadDebugInterface no longer has a useless copy of a MIPSDebugInterface.
This commit is contained in:
1 parent
a858032e46
commit
20a17a0e8d
33 files changed
+167
-210
No files matched your search
@@ -135,14 +135,14 @@ bool BreakpointWindow::fetchDialogData(HWND hwnd)
|
||||
|
||||
// parse address
|
||||
GetWindowTextA(GetDlgItem(hwnd, IDC_BREAKPOINT_ADDRESS), str, 256);
|
||||
if (cpu->initExpression(str, exp) == false)
|
||||
if (initExpression(cpu, str, exp) == false)
|
||||
{
|
||||
snprintf(errorMessage, sizeof(errorMessage), "Invalid expression \"%s\": %s", str, getExpressionError());
|
||||
MessageBoxA(hwnd, errorMessage, "Error", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (cpu->parseExpression(exp, address) == false)
|
||||
if (parseExpression(cpu, exp, address) == false)
|
||||
{
|
||||
snprintf(errorMessage, sizeof(errorMessage), "Invalid expression \"%s\": %s", str, getExpressionError());
|
||||
MessageBoxA(hwnd, errorMessage, "Error", MB_OK);
|
||||
@@ -153,14 +153,14 @@ bool BreakpointWindow::fetchDialogData(HWND hwnd)
|
||||
{
|
||||
// parse size
|
||||
GetWindowTextA(GetDlgItem(hwnd, IDC_BREAKPOINT_SIZE), str, 256);
|
||||
if (cpu->initExpression(str, exp) == false)
|
||||
if (initExpression(cpu, str, exp) == false)
|
||||
{
|
||||
snprintf(errorMessage, sizeof(errorMessage), "Invalid expression \"%s\": %s", str, getExpressionError());
|
||||
MessageBoxA(hwnd, errorMessage, "Error", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (cpu->parseExpression(exp, size) == false)
|
||||
if (parseExpression(cpu, exp, size) == false)
|
||||
{
|
||||
snprintf(errorMessage, sizeof(errorMessage), "Invalid expression \"%s\": %s", str, getExpressionError());
|
||||
MessageBoxA(hwnd, errorMessage, "Error", MB_OK);
|
||||
@@ -175,7 +175,7 @@ bool BreakpointWindow::fetchDialogData(HWND hwnd)
|
||||
compiledCondition.clear();
|
||||
if (!condition.empty())
|
||||
{
|
||||
if (cpu->initExpression(condition.c_str(), compiledCondition) == false)
|
||||
if (initExpression(cpu, condition.c_str(), compiledCondition) == false)
|
||||
{
|
||||
snprintf(errorMessage, sizeof(errorMessage), "Invalid expression \"%s\": %s", condition.c_str(), getExpressionError());
|
||||
MessageBoxA(hwnd, errorMessage, "Error", MB_OK);
|
||||
|
||||
Reference in new issue
Block a user