From 3ab96df5106b28ae9ba845f0ffd47b498e78166c Mon Sep 17 00:00:00 2001 From: Luke Usher Date: Fri, 20 Oct 2017 23:23:50 +0100 Subject: [PATCH] Fix an issue where xbe logo images failed to load after a fix to Xbe section name length. --- src/Cxbx/WndMain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cxbx/WndMain.cpp b/src/Cxbx/WndMain.cpp index 3480774ab..96dba6db5 100644 --- a/src/Cxbx/WndMain.cpp +++ b/src/Cxbx/WndMain.cpp @@ -1332,9 +1332,9 @@ typedef struct { void WndMain::LoadGameLogo() { // Export Game Logo bitmap (XTIMAG or XSIMAG) - uint8 *pSection = (uint8 *)m_Xbe->FindSection("$$XTIMAG"); // Check for XTIMAGE + uint8 *pSection = (uint8 *)m_Xbe->FindSection("$$XTIMAGE"); // Check for XTIMAGE if (!pSection) { - pSection = (uint8 *)m_Xbe->FindSection("$$XSIMAG"); // if XTIMAGE isn't present, check for XSIMAGE (smaller) + pSection = (uint8 *)m_Xbe->FindSection("$$XSIMAGE"); // if XTIMAGE isn't present, check for XSIMAGE (smaller) if (!pSection) { return; }