Commit fc41e50a authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Get rid of TARGET_WIN - not used even on Windows targets?

parent c113d466
...@@ -42,11 +42,7 @@ SoundChip toneChip; ...@@ -42,11 +42,7 @@ SoundChip toneChip;
SoundChip noiseChip; SoundChip noiseChip;
/* ==== DAC */ /* ==== DAC */
#ifdef TARGET_WIN
#define DAC_BUFFERSIZE (2560 * 1024) /* at (256 * 1024) the PC version will crash on MS2 intro */
#else
#define DAC_BUFFERSIZE (256 * 1024) /* at (256 * 1024) the PC version will crash on MS2 intro */ #define DAC_BUFFERSIZE (256 * 1024) /* at (256 * 1024) the PC version will crash on MS2 intro */
#endif
int dacLBufferRead, dacLBufferWrite, dacLBufferCount; int dacLBufferRead, dacLBufferWrite, dacLBufferCount;
_u16 dacBufferL[DAC_BUFFERSIZE]; _u16 dacBufferL[DAC_BUFFERSIZE];
......
...@@ -2159,11 +2159,6 @@ int ldir() // LDIR (XDE+),(XHL+) 10000011 00010001 ...@@ -2159,11 +2159,6 @@ int ldir() // LDIR (XDE+),(XHL+) 10000011 00010001
} }
else else
{ {
#ifdef TARGET_WIN
//dbg_print("ldir: invalid dst=0x%06X or src=0x%06X addr cnt=0x%04X\n", dst, src, cnt);
//dbg_print("ldir: XIX=0x%06X XIY=0x%06X\n", gen_regsXIX, gen_regsXIY);
//dbg_print("ldir: *cregsL[4]=0x%06X *cregsL[5]=0x%06X\n", *cregsL[4], *cregsL[5]);
#endif
if(dst) if(dst)
memset(dst, 0xFF, cnt); memset(dst, 0xFF, cnt);
} }
...@@ -2237,11 +2232,6 @@ int ldirw() // LDIRW (XDE+),(XHL+) 10010011 00010001 ...@@ -2237,11 +2232,6 @@ int ldirw() // LDIRW (XDE+),(XHL+) 10010011 00010001
} }
else else
{ {
#ifdef TARGET_WIN
//dbg_print("ldirw: invalid dst=0x%06X or src=0x%06X addr cnt=0x%04X\n", dst, src, cnt);
//dbg_print("ldirw: XIX=0x%06X XIY=0x%06X\n", gen_regsXIX, gen_regsXIY);
//dbg_print("ldirw: *cregsL[4]=0x%06X *cregsL[5]=0x%06X\n", *cregsL[4], *cregsL[5]);
#endif
if(dst) if(dst)
memset(dst, 0xFF, cnt*2); memset(dst, 0xFF, cnt*2);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment