ImDebugger: Add basic filesystem browser. Add partial support for "save file dialogs" to System.

This commit is contained in:
Henrik Rydgård committed 2024-11-25 23:03:15 +01:00
1 parent 20c4649963
commit 47d8e292eb
13 files changed
+165 -43

No files matched your search

+1 -2
View File
@@ -813,7 +813,7 @@ namespace MainWindow {
case ID_DEBUG_MEMORYBASE:
{
W32Util::CopyTextToClipboard(hWnd, ConvertUTF8ToWString(StringFromFormat("%016llx", (uint64_t)(uintptr_t)Memory::base)));
System_CopyStringToClipboard(StringFromFormat("%016llx", (uint64_t)(uintptr_t)Memory::base));
break;
}
@@ -823,7 +823,6 @@ namespace MainWindow {
if (!InputBox_GetString(hInst, hWnd, L"Disc filename", filename, filename)) {
break;
}
const char *lastSlash = strrchr(filename.c_str(), '/');
if (lastSlash) {
fn = lastSlash + 1;