[Scummvm-git-logs] scummvm master -> 6c7467831d02cbb8cb40700f450c90de12ac91ef
digitall
noreply at scummvm.org
Mon Aug 28 22:14:55 UTC 2023
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:
a489921fd4 WII: Minor Formatting Fix in GDB Network Debugging Defines
6c7467831d WII: Add Console Message When Console is Shown / Hidden
Commit: a489921fd4f0a36bc3ff2d70ffef89869032b88a
https://github.com/scummvm/scummvm/commit/a489921fd4f0a36bc3ff2d70ffef89869032b88a
Author: D G Turner (digitall at scummvm.org)
Date: 2023-08-28T23:10:03+01:00
Commit Message:
WII: Minor Formatting Fix in GDB Network Debugging Defines
This does not work with the current libogc GDB stub on the Wii as the
GDB network stub support only works with the BBA (Broad Band Adapter)
for the Gamecube.
Changed paths:
backends/platform/wii/main.cpp
diff --git a/backends/platform/wii/main.cpp b/backends/platform/wii/main.cpp
index f3adb6fa413..d7606b3ab21 100644
--- a/backends/platform/wii/main.cpp
+++ b/backends/platform/wii/main.cpp
@@ -40,7 +40,7 @@
#ifdef USE_WII_DI
#include <di/di.h>
#endif
-#if defined(DEBUG_WII_GDB) || defined (DEBUG_WII_GDB_NETWORK)
+#if defined(DEBUG_WII_GDB) || defined(DEBUG_WII_GDB_NETWORK)
#include <debug.h>
#endif
#include <gxflux/gfx_con.h>
@@ -59,7 +59,7 @@ void reset_cb(u32, void *) {
#else
void reset_cb(void) {
#endif
-#if defined(DEBUG_WII_GDB) || defined (DEBUG_WII_GDB_NETWORK)
+#if defined(DEBUG_WII_GDB) || defined(DEBUG_WII_GDB_NETWORK)
printf("attach gdb now\n");
_break();
#else
@@ -88,7 +88,7 @@ static void show_console(int code) {
for (i = 0; i < 60 * 3; ++i)
VIDEO_WaitVSync();
-#if defined(DEBUG_WII_GDB) || defined (DEBUG_WII_GDB_NETWORK)
+#if defined(DEBUG_WII_GDB) || defined(DEBUG_WII_GDB_NETWORK)
printf("attach gdb now\n");
_break();
#endif
Commit: 6c7467831d02cbb8cb40700f450c90de12ac91ef
https://github.com/scummvm/scummvm/commit/6c7467831d02cbb8cb40700f450c90de12ac91ef
Author: D G Turner (digitall at scummvm.org)
Date: 2023-08-28T23:12:20+01:00
Commit Message:
WII: Add Console Message When Console is Shown / Hidden
It is possible to toggle showing the text console as an overlay on the
screen by holding the Up direction arrow on the Wiimote and pressing
Button 1. This shows messages printed out via printf() / debug() and thus
can be used as a basic mechanism for debug output.
Changed paths:
backends/platform/wii/osystem_events.cpp
diff --git a/backends/platform/wii/osystem_events.cpp b/backends/platform/wii/osystem_events.cpp
index f2f50147dbd..975c443d15f 100644
--- a/backends/platform/wii/osystem_events.cpp
+++ b/backends/platform/wii/osystem_events.cpp
@@ -337,6 +337,7 @@ bool OSystem_Wii::pollEvent(Common::Event &event) {
if (bd & PADS_R) {
_consoleVisible = !_consoleVisible;
+ printf("Console %s...\n", _consoleVisible ? "Shown" : "Hidden");
return false;
}
More information about the Scummvm-git-logs
mailing list