From ca5f2a105cf49ebc945b73a1c97c3b6c7842e691 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Fri, 20 Oct 2017 12:25:05 +0300 Subject: [PATCH] no message --- src/studio.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/studio.c b/src/studio.c index d90ca7d..3274e93 100644 --- a/src/studio.c +++ b/src/studio.c @@ -766,9 +766,7 @@ void setStudioMode(EditorMode mode) EditorMode prev = studio.mode; if(prev == TIC_RUN_MODE) - { studio.tic->api.pause(studio.tic); - } if(mode != TIC_RUN_MODE) studio.tic->api.reset(studio.tic); @@ -1432,7 +1430,7 @@ static void blit(u32* out, u32* bgOut, s32 pitch, s32 bgPitch) if(scanline) { scanline(studio.tic, r); - pal = paletteBlit(); + pal = paletteBlit(); } if(bgOut) @@ -2042,9 +2040,6 @@ static void renderStudio() studio.tic->api.tick_start(studio.tic, src); } - if(studio.mode != TIC_RUN_MODE) - useSystemPalette(); - switch(studio.mode) { case TIC_START_MODE: studio.start.tick(&studio.start); break; @@ -2075,6 +2070,10 @@ static void renderStudio() studio.tic->api.tick_end(studio.tic); blitSound(); + + if(studio.mode != TIC_RUN_MODE) + useSystemPalette(); + blitTexture(); renderCursor();