no message
This commit is contained in:
parent
99f1a912a6
commit
ca5f2a105c
11
src/studio.c
11
src/studio.c
|
@ -766,9 +766,7 @@ void setStudioMode(EditorMode mode)
|
||||||
EditorMode prev = studio.mode;
|
EditorMode prev = studio.mode;
|
||||||
|
|
||||||
if(prev == TIC_RUN_MODE)
|
if(prev == TIC_RUN_MODE)
|
||||||
{
|
|
||||||
studio.tic->api.pause(studio.tic);
|
studio.tic->api.pause(studio.tic);
|
||||||
}
|
|
||||||
|
|
||||||
if(mode != TIC_RUN_MODE)
|
if(mode != TIC_RUN_MODE)
|
||||||
studio.tic->api.reset(studio.tic);
|
studio.tic->api.reset(studio.tic);
|
||||||
|
@ -1432,7 +1430,7 @@ static void blit(u32* out, u32* bgOut, s32 pitch, s32 bgPitch)
|
||||||
if(scanline)
|
if(scanline)
|
||||||
{
|
{
|
||||||
scanline(studio.tic, r);
|
scanline(studio.tic, r);
|
||||||
pal = paletteBlit();
|
pal = paletteBlit();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(bgOut)
|
if(bgOut)
|
||||||
|
@ -2042,9 +2040,6 @@ static void renderStudio()
|
||||||
studio.tic->api.tick_start(studio.tic, src);
|
studio.tic->api.tick_start(studio.tic, src);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(studio.mode != TIC_RUN_MODE)
|
|
||||||
useSystemPalette();
|
|
||||||
|
|
||||||
switch(studio.mode)
|
switch(studio.mode)
|
||||||
{
|
{
|
||||||
case TIC_START_MODE: studio.start.tick(&studio.start); break;
|
case TIC_START_MODE: studio.start.tick(&studio.start); break;
|
||||||
|
@ -2075,6 +2070,10 @@ static void renderStudio()
|
||||||
studio.tic->api.tick_end(studio.tic);
|
studio.tic->api.tick_end(studio.tic);
|
||||||
|
|
||||||
blitSound();
|
blitSound();
|
||||||
|
|
||||||
|
if(studio.mode != TIC_RUN_MODE)
|
||||||
|
useSystemPalette();
|
||||||
|
|
||||||
blitTexture();
|
blitTexture();
|
||||||
|
|
||||||
renderCursor();
|
renderCursor();
|
||||||
|
|
Loading…
Reference in New Issue