[Scummvm-git-logs] scummvm master -> 511a8913d0ed164276330a6d382e59e7d81a4cc1

ccawley2011 noreply at scummvm.org
Thu Jul 20 16:44:10 UTC 2023


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:
511a8913d0 DS: Fix building with the text console enabled


Commit: 511a8913d0ed164276330a6d382e59e7d81a4cc1
    https://github.com/scummvm/scummvm/commit/511a8913d0ed164276330a6d382e59e7d81a4cc1
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2023-07-20T17:43:32+01:00

Commit Message:
DS: Fix building with the text console enabled

Changed paths:
    backends/platform/ds/ds-graphics.cpp


diff --git a/backends/platform/ds/ds-graphics.cpp b/backends/platform/ds/ds-graphics.cpp
index c2a09944f21..0cf80d7601b 100644
--- a/backends/platform/ds/ds-graphics.cpp
+++ b/backends/platform/ds/ds-graphics.cpp
@@ -191,7 +191,7 @@ void OSystem_DS::initGraphics() {
 	_overlay.create(256, 192, _pfABGR1555);
 	_overlayScreen = new DS::Background(&_overlay, 2, false, 0, false);
 	_screen = nullptr;
-#ifndef DISABLE_TEXT_CONSOLE
+#ifdef DISABLE_TEXT_CONSOLE
 	_subScreen = nullptr;
 	_banner = nullptr;
 #endif




More information about the Scummvm-git-logs mailing list