added live cart reloading #374
This commit is contained in:
parent
31929e5550
commit
46ea791356
|
@ -1732,7 +1732,9 @@ SDL_Event* pollEvent()
|
||||||
|
|
||||||
#if defined(TIC80_PRO)
|
#if defined(TIC80_PRO)
|
||||||
|
|
||||||
if(studio.mode != TIC_START_MODE && studioCartChanged())
|
if(studio.mode != TIC_START_MODE)
|
||||||
|
{
|
||||||
|
if(studioCartChanged())
|
||||||
{
|
{
|
||||||
static const char* Rows[] =
|
static const char* Rows[] =
|
||||||
{
|
{
|
||||||
|
@ -1746,6 +1748,7 @@ SDL_Event* pollEvent()
|
||||||
showDialog(Rows, COUNT_OF(Rows), reloadConfirm, NULL);
|
showDialog(Rows, COUNT_OF(Rows), reloadConfirm, NULL);
|
||||||
}
|
}
|
||||||
else studio.console.updateProject(&studio.console);
|
else studio.console.updateProject(&studio.console);
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue