no message
This commit is contained in:
parent
b60b0c7de3
commit
5366ec606d
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -584,7 +584,7 @@ static void pollEvent()
|
|||
}
|
||||
break;
|
||||
case SDL_QUIT:
|
||||
exitStudio();
|
||||
platform.studio->exit();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
@ -30,6 +30,7 @@ typedef struct
|
|||
bool quit;
|
||||
|
||||
void (*tick)(void* pixels);
|
||||
void (*exit)();
|
||||
void (*close)();
|
||||
void (*updateProject)();
|
||||
|
||||
|
|
Loading…
Reference in New Issue