From 44f9a0aca194bd6f0beea98e678993771f4b4bb1 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Wed, 15 Nov 2017 15:46:01 +0300 Subject: [PATCH] no message --- src/tic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tic.c b/src/tic.c index 99c1a11..533a9ba 100644 --- a/src/tic.c +++ b/src/tic.c @@ -153,6 +153,7 @@ static void setPixel(tic_machine* machine, s32 x, s32 y, u8 color) { if(x < machine->state.clip.l || y < machine->state.clip.t || x >= machine->state.clip.r || y >= machine->state.clip.b) return; + // TODO: check color bounds here tic_tool_poke4(machine->memory.ram.vram.screen.data, y * TIC80_WIDTH + x, tic_tool_peek4(machine->memory.ram.vram.mapping, color)); }