mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 14:00:27 +02:00
Introduce a memory shutdown lock.
This allows the debugger to access memory in a safe way that should never crash.
This commit is contained in:
1 parent
45e5f642da
commit
55403e42c2
8 files changed
+83
-2
No files matched your search
@@ -69,6 +69,10 @@ INT_PTR CALLBACK DumpMemoryWindow::dlgFunc(HWND hwnd, UINT iMsg, WPARAM wParam,
|
||||
case IDOK:
|
||||
if (bp->fetchDialogData(hwnd))
|
||||
{
|
||||
auto memLock = Memory::Lock();
|
||||
if (!PSP_IsInited())
|
||||
break;
|
||||
|
||||
FILE* output = fopen(bp->fileName,"wb");
|
||||
if (output == NULL)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user