Skip to content

Commit

Permalink
Correct screen modes and margins are set in menu.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
fhoedemakers committed Dec 26, 2024
1 parent e0f8826 commit 1197950
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,15 +454,10 @@ int main()
tusb_init();
isFatalError = !Frens::initAll(selectedRom, CPUFreqKHz, MARGINTOP, MARGINBOTTOM );
bool showSplash = true;

while (true)
{
if (strlen(selectedRom) == 0 || reset == true)
{
// reset margin to give menu more screen space
dvi_->getBlankSettings().top = 4 * 2;
dvi_->getBlankSettings().bottom = 4 * 2;
scaleMode8_7_ = Frens::applyScreenMode(ScreenMode::NOSCANLINE_8_7);
menu("Pico-SMS+", ErrorMessage, isFatalError, showSplash, ".sms .gg"); // never returns, but reboots upon selecting a game
}
reset = false;
Expand Down

0 comments on commit 1197950

Please sign in to comment.