mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-07 05:03:35 +02:00
Fix a crash in the GE debugger on matrix tab.
This commit is contained in:
@@ -343,7 +343,7 @@ CtrlMatrixList::CtrlMatrixList(HWND hwnd)
|
||||
}
|
||||
|
||||
void CtrlMatrixList::GetColumnText(wchar_t *dest, int row, int col) {
|
||||
if (row < 0 || row >= MATRIXLIST_ROW_COUNT || col < 0 || col >= MATRIXLIST_COL_COUNT) {
|
||||
if (!gpuDebug || row < 0 || row >= MATRIXLIST_ROW_COUNT || col < 0 || col >= MATRIXLIST_COL_COUNT) {
|
||||
wcscpy(dest, L"Invalid");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user