Fix an issue where xbe logo images failed to load after a fix to Xbe section name length.
This commit is contained in:
parent
a62d73c109
commit
3ab96df510
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue