diff options
author | Patrick Mackinlay <pmackinlay@hotmail.com> | 2022-09-19 18:27:27 +0700 |
---|---|---|
committer | Patrick Mackinlay <pmackinlay@hotmail.com> | 2022-09-19 18:27:27 +0700 |
commit | 0055a33e81b60284c6390e9c73db9fcb19b8ce8b (patch) | |
tree | fbf043184a3c5a6a9dd7196116447accd06fbf86 /src/osd/modules/diagnostics/diagnostics_win32.cpp | |
parent | f7445c878b39c922d2a7f65730669b47a581022d (diff) |
diagnostics: ignore all but type 0x20 symbols
Diffstat (limited to '')
-rw-r--r-- | src/osd/modules/diagnostics/diagnostics_win32.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/osd/modules/diagnostics/diagnostics_win32.cpp b/src/osd/modules/diagnostics/diagnostics_win32.cpp index 5a01cbbf72d..4609673c66a 100644 --- a/src/osd/modules/diagnostics/diagnostics_win32.cpp +++ b/src/osd/modules/diagnostics/diagnostics_win32.cpp @@ -507,7 +507,10 @@ bool symbol_manager::parse_sym_line(const char *line, uintptr_t &address, std::s */ // first look for a (ty) entry - const char *type = strstr(line, "(ty "); + char *type = strstr(line, "(ty 20)"); + if (type == nullptr) + type = strstr(line, "(ty 20)"); + if (type == nullptr) return false; |