Remove some debug code

This commit is contained in:
Ian Curtis 2020-08-01 09:02:04 +00:00
parent ba917aca6d
commit d77433b525
2 changed files with 0 additions and 5 deletions

View file

@ -301,7 +301,6 @@ static inline void DrawTileLine(uint32_t *line, int pixelOffset, uint16_t tile,
{ {
static_assert(bits == 4 || bits == 8, "Tiles are either 4- or 8-bit"); static_assert(bits == 4 || bits == 8, "Tiles are either 4- or 8-bit");
// For 8-bit pixels, each line of tile pattern is two words // For 8-bit pixels, each line of tile pattern is two words
if (bits == 8) if (bits == 8)
patternLine *= 2; patternLine *= 2;

View file

@ -281,10 +281,6 @@ void CTileGen::WriteRAM32(unsigned addr, UINT32 data)
// Update palette if required // Update palette if required
if (addr >= 0x100000) if (addr >= 0x100000)
{ {
if (data >> 16) {
int debug = 0;
}
addr -= 0x100000; addr -= 0x100000;
unsigned color = addr/4; // color index unsigned color = addr/4; // color index