From 0103d43f3aee74f535327ba5f4eb52d3a0911b66 Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Sat, 10 Jan 2015 11:24:27 -0800 Subject: [PATCH] Added debug option for alt NTSC 512x4 table --- source/NTSC.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/NTSC.cpp b/source/NTSC.cpp index 39a77d49..6c9af47c 100644 --- a/source/NTSC.cpp +++ b/source/NTSC.cpp @@ -30,6 +30,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "NTSC.h" #include "NTSC_CharSet.cpp" +#define ALT_TABLE 0 +#if ALT_TABLE + #include "ntsc_rgb.h" +#endif + //LPBYTE MemGetMainPtr(const WORD); //LPBYTE MemGetBankPtr(const UINT nBank); @@ -1408,6 +1413,10 @@ uint32_t*NTSC_VideoGetChromaTable( bool bHueTypeMonochrome, bool bMonitorTypeCol if( bMonitorTypeColorTV ) return (uint32_t*) g_aHueColorTV; else +#if ALT_TABLE + g_nChromaSize = sizeof(T_NTSC); + return (uint32_t*)T_NTSC; +#endif return (uint32_t*) g_aHueMonitor; } }