added live cart reloading #374

This commit is contained in:
BADIM-PC\Vadim 2017-11-21 19:49:27 +03:00
parent 31929e5550
commit 46ea791356
1 changed files with 13 additions and 10 deletions

View File

@ -1732,7 +1732,9 @@ SDL_Event* pollEvent()
#if defined(TIC80_PRO)
if(studio.mode != TIC_START_MODE && studioCartChanged())
if(studio.mode != TIC_START_MODE)
{
if(studioCartChanged())
{
static const char* Rows[] =
{
@ -1746,6 +1748,7 @@ SDL_Event* pollEvent()
showDialog(Rows, COUNT_OF(Rows), reloadConfirm, NULL);
}
else studio.console.updateProject(&studio.console);
}
#endif
{