Skip to content

Commit

Permalink
Fixed bug in parseEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkwhoffmann committed Nov 3, 2024
1 parent 4061fc5 commit df73d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Emulator/Utilities/Parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ template <typename Enum> long parsePartialEnum(const string& key, std::function<

if (!accept(i)) continue;

auto enumkey = string(Enum::key(i));
auto enumkey = string(Enum::rawkey(i));

// Check if the full key matches
if (enumkey == upper) return i;
Expand Down

0 comments on commit df73d46

Please sign in to comment.