From b6db86ef0a00aaf054fca141218e2a769308f54d Mon Sep 17 00:00:00 2001 From: helixhorned Date: Mon, 1 Oct 2012 17:52:49 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/menus.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/polymer/eduke32/source/menus.c b/polymer/eduke32/source/menus.c index 9607b78d9..6717543f1 100644 --- a/polymer/eduke32/source/menus.c +++ b/polymer/eduke32/source/menus.c @@ -664,11 +664,15 @@ static void Menus_LoadSave_DisplayCommon1(void) if (ud.savegame[probey][20] == 32) { - menutext(40,70,0,0,"Old Version"); - Bsprintf(tempbuf,"Saved: %d.%d.%d", savehead.majorver, savehead.minorver, savehead.bytever); - mgametext(40,82,tempbuf,0,2+8+16); - Bsprintf(tempbuf,"Our: %d.%d.%d", SV_MAJOR_VER, SV_MINOR_VER, BYTEVERSION); - mgametext(40+16,92,tempbuf,0,2+8+16); + menutext(53,70,0,0,"Version"); + menutext(48,90,0,0,"Mismatch"); + + Bsprintf(tempbuf,"Saved: %d.%d.%d %d-bit", savehead.majorver, savehead.minorver, + 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); } }