Fix an issue where xbe logo images failed to load after a fix to Xbe section name length.

This commit is contained in:
Luke Usher 2017-10-20 23:23:50 +01:00
parent a62d73c109
commit 3ab96df510
1 changed files with 2 additions and 2 deletions

View File

@ -1332,9 +1332,9 @@ typedef struct {
void WndMain::LoadGameLogo() void WndMain::LoadGameLogo()
{ {
// Export Game Logo bitmap (XTIMAG or XSIMAG) // 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) { 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) { if (!pSection) {
return; return;
} }