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 cacc875 commit 5ed21d2
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 @@ -73,7 +73,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 5ed21d2

Please sign in to comment.