From 3e5606b067152768044d035863be184d721897e1 Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Sun, 18 Jan 2004 23:59:57 +0000 Subject: [PATCH] Removed Doom kludge --- src/tom.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tom.cpp b/src/tom.cpp index 0757601..27f0a45 100644 --- a/src/tom.cpp +++ b/src/tom.cpp @@ -917,10 +917,10 @@ uint32 tom_getVideoModeWidth(void) // To make it easier to make a quasi-fixed display size, we restrict the viewing // area to an arbitrary range of the Horizontal Count. uint16 pwidth = ((GET16(tom_ram_8, VMODE) & PWIDTH) >> 9) + 1; -// return (RIGHT_VISIBLE_HC - LEFT_VISIBLE_HC) / pwidth; + return (RIGHT_VISIBLE_HC - LEFT_VISIBLE_HC) / pwidth; //Temporary, for testing Doom... - return (RIGHT_VISIBLE_HC - LEFT_VISIBLE_HC) / (pwidth == 8 ? 4 : pwidth); -// return (RIGHT_VISIBLE_HC - LEFT_VISIBLE_HC) / (pwidth == 4 ? 8 : pwidth); +// return (RIGHT_VISIBLE_HC - LEFT_VISIBLE_HC) / (pwidth == 8 ? 4 : pwidth); +//// return (RIGHT_VISIBLE_HC - LEFT_VISIBLE_HC) / (pwidth == 4 ? 8 : pwidth); // More speculating... // According to the JTRM, the number of potential pixels across is given by the -- 2.37.2