mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-03 11:37:20 +00:00
Fix a crash in the GE debugger on matrix tab.
This commit is contained in:
parent
982f0416a2
commit
95e4e04f8d
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user