diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,7 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |||
21 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | 21 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ |
22 | 22 | ||
23 | #include "app.h" | 23 | #include "app.h" |
24 | #include "updater.h" | ||
24 | 25 | ||
25 | #if defined (iPlatformAppleDesktop) | 26 | #if defined (iPlatformAppleDesktop) |
26 | # include "macos.h" | 27 | # include "macos.h" |
@@ -82,11 +83,13 @@ int main(int argc, char **argv) { | |||
82 | if (SDL_Init(SDL_INIT_AUDIO)) { | 83 | if (SDL_Init(SDL_INIT_AUDIO)) { |
83 | fprintf(stderr, "[SDL] audio init failed: %s\n", SDL_GetError()); | 84 | fprintf(stderr, "[SDL] audio init failed: %s\n", SDL_GetError()); |
84 | } | 85 | } |
86 | init_Updater(); | ||
85 | run_App(argc, argv); | 87 | run_App(argc, argv); |
86 | SDL_Quit(); | 88 | SDL_Quit(); |
87 | #if defined (LAGRANGE_ENABLE_MPG123) | 89 | #if defined (LAGRANGE_ENABLE_MPG123) |
88 | mpg123_exit(); | 90 | mpg123_exit(); |
89 | #endif | 91 | #endif |
92 | deinit_Updater(); | ||
90 | deinit_Foundation(); | 93 | deinit_Foundation(); |
91 | return 0; | 94 | return 0; |
92 | } | 95 | } |