Cheats: Compiler warning fix

This commit is contained in:
Stenzek 2024-12-29 22:34:31 +10:00
parent d4e393f1a8
commit 468c907fd6
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -2111,7 +2111,7 @@ std::unique_ptr<Cheats::GamesharkCheatCode> Cheats::GamesharkCheatCode::Parse(Me
std::optional<u32> second;
if (next.find('?') != std::string_view::npos)
{
u8 option_bitpos, option_bitcount;
u8 option_bitpos = 0, option_bitcount = 0;
second = ParseHexOptionMask(next, &option_bitpos, &option_bitcount);
if (second.has_value())
{