Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
SybexX authored Oct 3, 2024
1 parent 551c0aa commit 2c2d7ef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions code/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -772,8 +772,7 @@ void migrateConfiguration(void) {
CamZoomOffsetY_value = (floor((CamZoomOffsetY_value - 360) / 8) * 8);
}

// 29 = (29 - (((1600 - 640) / 8 / 4) - 1))
CamZoomSize_value = 0;
CamZoomSize_value = 29;
}
else {
// mode1
Expand All @@ -794,8 +793,7 @@ void migrateConfiguration(void) {
CamZoomOffsetY_value = (floor(((CamZoomOffsetY_value - 60) * 2) / 8) * 8);
}

// CamZoomSize = (29 - (((800 - 640) / 8 / 4) - 1))
CamZoomSize_value = 25;
CamZoomSize_value = 9;
}

if (CamZoom_lines > 0) {
Expand Down

0 comments on commit 2c2d7ef

Please sign in to comment.