[Scummvm-git-logs] scummvm master -> 0390cfe649ab784a18d52b2dbcd190a868207734
sev-
sev at scummvm.org
Sun Oct 6 12:50:02 CEST 2019
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cf87c64635 GCW0: The hardware has its own downscaler, do not use half-scaler
0390cfe649 GCW0: Clarify where to put binary on the device
Commit: cf87c64635af28b7f9bda681200348f4074b7dab
https://github.com/scummvm/scummvm/commit/cf87c64635af28b7f9bda681200348f4074b7dab
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2019-10-06T12:48:38+02:00
Commit Message:
GCW0: The hardware has its own downscaler, do not use half-scaler
Changed paths:
backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
index a7dbed1..f44fd99 100644
--- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
+++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
@@ -112,11 +112,14 @@ void DINGUXSdlGraphicsManager::initSize(uint w, uint h, const Graphics::PixelFor
_videoMode.screenWidth = w;
_videoMode.screenHeight = h;
+
+#ifndef GCW0
if (w > 320 || h > 240) {
setGraphicsMode(GFX_HALF);
setGraphicsModeIntern();
_window->toggleMouseGrab();
}
+#endif
_transactionDetails.sizeChanged = true;
}
@@ -130,7 +133,7 @@ void DINGUXSdlGraphicsManager::drawMouse() {
SDL_Rect dst;
int scale;
int hotX, hotY;
-
+
const Common::Point virtualCursor = convertWindowToVirtual(_cursorX, _cursorY);
if (_videoMode.mode == GFX_HALF && !_overlayVisible) {
@@ -413,11 +416,14 @@ bool DINGUXSdlGraphicsManager::loadGFXMode() {
_videoMode.aspectRatioCorrection = false;
}
+#ifndef GCW0
if (_videoMode.screenWidth > 320 || _videoMode.screenHeight > 240) {
_videoMode.aspectRatioCorrection = false;
setGraphicsMode(GFX_HALF);
debug("GraphicsMode set to HALF");
- } else {
+ } else
+#endif
+ {
setGraphicsMode(GFX_NORMAL);
debug("GraphicsMode set to NORMAL");
}
Commit: 0390cfe649ab784a18d52b2dbcd190a868207734
https://github.com/scummvm/scummvm/commit/0390cfe649ab784a18d52b2dbcd190a868207734
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2019-10-06T12:49:20+02:00
Commit Message:
GCW0: Clarify where to put binary on the device
Changed paths:
backends/platform/dingux/README.GCW0
diff --git a/backends/platform/dingux/README.GCW0 b/backends/platform/dingux/README.GCW0
index 9543808..d51a062 100644
--- a/backends/platform/dingux/README.GCW0
+++ b/backends/platform/dingux/README.GCW0
@@ -14,7 +14,7 @@ Controls
Installation from binaries
==========================
-Copy over scummvm.opk file
+Copy over scummvm.opk file to /media/data/apps directory on the device.
Building from binaries
======================
More information about the Scummvm-git-logs
mailing list