added live cart reloading #374
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user