mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-29 09:05:41 +00:00
Remove some debug code
This commit is contained in:
parent
ba917aca6d
commit
d77433b525
|
@ -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");
|
||||
|
||||
|
||||
// For 8-bit pixels, each line of tile pattern is two words
|
||||
if (bits == 8)
|
||||
patternLine *= 2;
|
||||
|
|
|
@ -281,10 +281,6 @@ void CTileGen::WriteRAM32(unsigned addr, UINT32 data)
|
|||
// Update palette if required
|
||||
if (addr >= 0x100000)
|
||||
{
|
||||
if (data >> 16) {
|
||||
int debug = 0;
|
||||
}
|
||||
|
||||
addr -= 0x100000;
|
||||
unsigned color = addr/4; // color index
|
||||
|
||||
|
|
Loading…
Reference in a new issue