From c38d104d7a9c04ebdd6a8276a1aca64b141de9f7 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Sat, 18 Sep 2021 10:09:44 +0200 Subject: [PATCH] Show memory beyond 2MB line on developer info screen --- cgdoom/cgdoom.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cgdoom/cgdoom.c b/cgdoom/cgdoom.c index b40b313..b667eb6 100644 --- a/cgdoom/cgdoom.c +++ b/cgdoom/cgdoom.c @@ -753,6 +753,9 @@ int main(void) Layout_Spacing(&l, 12); Layout_Text(&l, "Index build time:", "%d ms", ms_index); Layout_Text(&l, "File mapping time:", "%d ms", ms_mmap); + Layout_Spacing(&l, 12); + Layout_Text(&l, "Memory beyond the 2MB line:", "%d kB", + CGD_2MBLineMemory >> 10); Bdisp_PutDisp_DD(); int key; GetKey(&key);