forked from CoreELEC/CoreELEC
-
-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bug Fix] GameForce chi - Retrorun-go2 - Rotation Fix. (#1267)
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...ects/Rockchip/devices/GameForce/patches/retrorun/flycast_gameforce_chi_rotation_fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/src/video.cpp b/src/video.cpp | ||
index d168eda..4ea5733 100755 | ||
--- a/src/video.cpp | ||
+++ b/src/video.cpp | ||
@@ -762,8 +762,8 @@ void core_video_refresh(const void *data, unsigned width, unsigned height, size_ | ||
printf("-RR- Color format:%s\n", color_format == DRM_FORMAT_RGBA5551 ? "DRM_FORMAT_RGBA5551" : "NOT DRM_FORMAT_RGBA5551"); | ||
|
||
real_aspect_ratio = aspect_ratio; | ||
- _351BlitRotation = isTate ? GO2_ROTATION_DEGREES_270 : GO2_ROTATION_DEGREES_0; | ||
- _351Rotation = isTate ? GO2_ROTATION_DEGREES_180 : GO2_ROTATION_DEGREES_270; | ||
+ _351BlitRotation = GO2_ROTATION_DEGREES_0; | ||
+ _351Rotation = GO2_ROTATION_DEGREES_270; | ||
first_video_refresh = false; | ||
} | ||
if (height != currentHeight || width != currentWidth) |