Skip to content

Commit 5ed21d2

Browse files
committed
Fixed bug in parseEnum
1 parent cacc875 commit 5ed21d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Emulator/Utilities/Parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ template <typename Enum> long parsePartialEnum(const string& key, std::function<
7373

7474
if (!accept(i)) continue;
7575

76-
auto enumkey = string(Enum::key(i));
76+
auto enumkey = string(Enum::rawkey(i));
7777

7878
// Check if the full key matches
7979
if (enumkey == upper) return i;

0 commit comments

Comments
 (0)