mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 16:40:40 +00:00
In Load Game menu, show 32- or 64-bitness of save game on mismatch.
git-svn-id: https://svn.eduke32.com/eduke32@3048 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
57348c1fdc
commit
b6db86ef0a
1 changed files with 9 additions and 5 deletions
|
@ -664,11 +664,15 @@ static void Menus_LoadSave_DisplayCommon1(void)
|
||||||
|
|
||||||
if (ud.savegame[probey][20] == 32)
|
if (ud.savegame[probey][20] == 32)
|
||||||
{
|
{
|
||||||
menutext(40,70,0,0,"Old Version");
|
menutext(53,70,0,0,"Version");
|
||||||
Bsprintf(tempbuf,"Saved: %d.%d.%d", savehead.majorver, savehead.minorver, savehead.bytever);
|
menutext(48,90,0,0,"Mismatch");
|
||||||
mgametext(40,82,tempbuf,0,2+8+16);
|
|
||||||
Bsprintf(tempbuf,"Our: %d.%d.%d", SV_MAJOR_VER, SV_MINOR_VER, BYTEVERSION);
|
Bsprintf(tempbuf,"Saved: %d.%d.%d %d-bit", savehead.majorver, savehead.minorver,
|
||||||
mgametext(40+16,92,tempbuf,0,2+8+16);
|
savehead.bytever, 8*savehead.ptrsize);
|
||||||
|
mgametext(31,104,tempbuf,0,2+8+16);
|
||||||
|
Bsprintf(tempbuf,"Our: %d.%d.%d %d-bit", SV_MAJOR_VER, SV_MINOR_VER, BYTEVERSION,
|
||||||
|
(int32_t)(8*sizeof(intptr_t)));
|
||||||
|
mgametext(31+16,114,tempbuf,0,2+8+16);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue