Skip to content

Commit

Permalink
Update capture.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Sep 26, 2024
1 parent f5062bd commit 071b814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/capture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ void CaptureScreen()
DrawAndBlit();

auto tempPalette = system_palette;

system_palette = orig_palette;
palette_update();

Expand All @@ -91,7 +92,6 @@ void CaptureScreen()
Log("Screenshot saved at {}", fileName);
PlaySFX(SfxID::MenuSelect);
}

system_palette = tempPalette;
palette_update();
RedrawEverything();
Expand Down

0 comments on commit 071b814

Please sign in to comment.