fix: windows64 only falling back to 720 & update 4JLibs
This commit is contained in:
1 parent
344fd63488
commit
78f192ed76
5 files changed
+35
-7
No files matched your search
@@ -6257,6 +6257,7 @@ void CMinecraftApp::InitialiseTips()
|
||||
ZeroMemory(m_TipIDA,sizeof(UINT)*MAX_TIPS_GAMETIP+MAX_TIPS_TRIVIATIP);
|
||||
|
||||
// Make the first tip tell you that you can play splitscreen in HD modes if you are in SD
|
||||
//str1k3r - this doesnt work on Windows64, can someone help me with this? please.
|
||||
if(!RenderManager.IsHiDef())
|
||||
{
|
||||
m_GameTipA[0].uiStringID=IDS_TIPS_GAMETIP_0;
|
||||
|
||||
@@ -2036,11 +2036,7 @@ void CGameNetworkManager::ServerStoppedWait()
|
||||
RenderManager.Tick();
|
||||
ui.tick();
|
||||
ui.render();
|
||||
#ifdef _WINDOWS64
|
||||
RenderManager.Present(g_iScreenWidth, g_iScreenWidth);
|
||||
#else
|
||||
RenderManager.Present();
|
||||
#endif
|
||||
} while( result == WAIT_TIMEOUT );
|
||||
}
|
||||
else
|
||||
|
||||
@@ -320,11 +320,36 @@ void UIScene::loadMovie()
|
||||
|
||||
if(!app.hasArchiveFile(moviePath))
|
||||
{
|
||||
//str1k3r - if were on Windows64 we have more fallbacks dont just report a FatalLoadError, try those other swfs before reporting a FatalLoadError
|
||||
#ifndef _WINDOWS64
|
||||
app.DebugPrintf("ERROR: Could not find any iggy movie for %ls!\n", moviePath.c_str());
|
||||
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
__debugbreak();
|
||||
#endif
|
||||
app.FatalLoadError();
|
||||
#else
|
||||
app.DebugPrintf("WARNING: Could not find iggy movie %ls, falling back on 480\n", moviePath.c_str());
|
||||
|
||||
moviePath = getMoviePath();
|
||||
moviePath.append(L"480.swf");
|
||||
m_loadedResolution = eSceneResolution_480;
|
||||
|
||||
//str1k3r - while 480 & Vita share basically all the same skins its just a extra fallback :D
|
||||
if(!app.hasArchiveFile(moviePath))
|
||||
{
|
||||
app.DebugPrintf("WARNING: Could not find iggy movie %ls, falling back on Vita\n", moviePath.c_str());
|
||||
|
||||
moviePath = getMoviePath();
|
||||
moviePath.append(L"Vita.swf");
|
||||
m_loadedResolution = eSceneResolution_Vita;
|
||||
|
||||
if(!app.hasArchiveFile(moviePath))
|
||||
{
|
||||
app.FatalLoadError();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user