no message

This commit is contained in:
BADIM-PC\Vadim 2018-02-14 15:23:26 +03:00
parent b60b0c7de3
commit 5366ec606d
4 changed files with 4 additions and 2 deletions

View File

@ -1874,6 +1874,7 @@ Studio* studioInit(s32 argc, char **argv, s32 samplerate, const char* folder, Sy
studioImpl.studio.tick = studioTick;
studioImpl.studio.close = studioClose;
studioImpl.studio.updateProject = updateStudioProject;
studioImpl.studio.exit = exitStudio;
return &studioImpl.studio;
}

View File

@ -154,7 +154,7 @@ void studioConfigChanged();
void setStudioMode(EditorMode mode);
void resumeRunMode();
EditorMode getStudioMode();
TIC80_API void exitStudio();
void exitStudio();
u32 unzip(u8** dest, const u8* source, size_t size);
void str2buf(const char* str, s32 size, void* buf, bool flip);

View File

@ -584,7 +584,7 @@ static void pollEvent()
}
break;
case SDL_QUIT:
exitStudio();
platform.studio->exit();
break;
default:
break;

View File

@ -30,6 +30,7 @@ typedef struct
bool quit;
void (*tick)(void* pixels);
void (*exit)();
void (*close)();
void (*updateProject)();