]> Shamusworld >> Repos - virtualjaguar/commitdiff
Removed Doom kludge
authorShamus Hammons <jlhamm@acm.org>
Sun, 18 Jan 2004 23:59:57 +0000 (23:59 +0000)
committerShamus Hammons <jlhamm@acm.org>
Sun, 18 Jan 2004 23:59:57 +0000 (23:59 +0000)
src/tom.cpp

index 0757601f732e920a05be5c45576cddb19029d7db..27f0a45387abdf58f0618c15cde9f37688f3c621 100644 (file)
@@ -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