diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-07 12:42:59 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-07 12:42:59 +0200 |
commit | 159639b9f1d351a883127ff55ac93d814e430067 (patch) | |
tree | 725d15e7644ff1c4284fbe31216f8efcdacf4dbf /src/main.c | |
parent | 9fbb99e298aed79ae6a6f968594604699bb6c35d (diff) |
Windows: Call the updater; added a missing resources
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 | } |