Skip to content

Commit

Permalink
Fix Bug Where Built-In Save To Ini
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleCoaks committed Mar 5, 2024
1 parent 780a953 commit ee1fcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/GeckoCodeConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ static std::string MakeGeckoCodeTitle(const GeckoCode& code)
// used by the SaveGeckoCodes function
static void SaveGeckoCode(std::vector<std::string>& lines, const GeckoCode& gcode)
{
if (!gcode.user_defined)
if (!gcode.user_defined || gcode.built_in_code)
return;

lines.push_back(MakeGeckoCodeTitle(gcode));
Expand Down

0 comments on commit ee1fcd8

Please sign in to comment.