Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions workspace/all/minarch/ma_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -1299,10 +1299,10 @@ char* gamepad_values[] = {

char* getScreenScalingDesc(void) {
if (GFX_supportsOverscan()) {
return "Native uses integer scaling. Aspect uses core nreported aspect ratio.\nAspect screen uses screen aspect ratio\n Fullscreen has non-square\npixels. Cropped is integer scaled then cropped.";
return "Native uses integer scaling. Aspect uses core\nreported aspect ratio. Aspect screen uses screen\naspect ratio. Fullscreen has non-square pixels.\nCropped is integer scaled then cropped.";
}
else {
return "Native uses integer scaling.\nAspect uses core reported aspect ratio.\nAspect screen uses screen aspect ratio\nFullscreen has non-square pixels.";
return "Native uses integer scaling.\nAspect uses core reported aspect ratio.\nAspect screen uses screen aspect ratio.\nFullscreen has non-square pixels.";
}
}
int getScreenScalingCount(void) {
Expand Down
5 changes: 5 additions & 0 deletions workspace/h700/platform/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,11 @@ void PLAT_updateInput(const SDL_Event *event) {
}
}

int PLAT_supportsOverscan(void) {
// Overscan is typically supported on square panels (e.g., 1:1 aspect ratio) - mostly Cube XX right now.
return panel_h == panel_w;
}

void PLAT_getBatteryStatus(int* is_charging, int* charge) {
PLAT_getBatteryStatusFine(is_charging, charge);

Expand Down
Loading