[Scummvm-git-logs] scummvm master -> 5645b973ccb81726ce16e40ae9b33baee6e5d0a1
Strangerke
Strangerke at scummvm.org
Sun Jun 14 23:51:14 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
5645b973cc KINGDOM: Initialize graphics for the 3DO version
Commit: 5645b973ccb81726ce16e40ae9b33baee6e5d0a1
https://github.com/scummvm/scummvm/commit/5645b973ccb81726ce16e40ae9b33baee6e5d0a1
Author: Strangerke (Strangerke at scummvm.org)
Date: 2020-06-15T00:51:00+01:00
Commit Message:
KINGDOM: Initialize graphics for the 3DO version
Changed paths:
engines/kingdom/kingdom.cpp
diff --git a/engines/kingdom/kingdom.cpp b/engines/kingdom/kingdom.cpp
index 4a371a6c15..703bea7363 100644
--- a/engines/kingdom/kingdom.cpp
+++ b/engines/kingdom/kingdom.cpp
@@ -158,7 +158,12 @@ bool KingdomGame::isDemo() const {
}
Common::Error KingdomGame::run() {
- initGraphics(320, 200);
+ if (_gameDescription->platform == Common::kPlatform3DO) {
+ Graphics::PixelFormat format = Graphics::PixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0);
+ initGraphics(320, 200, &format);
+ } else
+ initGraphics(320, 200);
+
_console = new Console(this);
_logic = new Logic(this);
More information about the Scummvm-git-logs
mailing list