diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -36,7 +36,7 @@ WITH REGARD TO THIS SOFTWARE. | |||
36 | #ifdef PROF_ENABLE | 36 | #ifdef PROF_ENABLE |
37 | #if PROF_ENABLE == 0 | 37 | #if PROF_ENABLE == 0 |
38 | #define PROF(F,VAR) (profile_start(),(F),(VAR) = profile_stop()) | 38 | #define PROF(F,VAR) (profile_start(),(F),(VAR) = profile_stop()) |
39 | #else | 39 | #elif PROF_ENABLE == 1 |
40 | #define PROF(F,VAR) (profile_start(),(F),(VAR) = MAX(profile_stop(), (VAR))) | 40 | #define PROF(F,VAR) (profile_start(),(F),(VAR) = MAX(profile_stop(), (VAR))) |
41 | #endif | 41 | #endif |
42 | #define PROF_SHOW(X,Y) \ | 42 | #define PROF_SHOW(X,Y) \ |
@@ -416,6 +416,7 @@ int main(void) { | |||
416 | txt_init(1, TEXT_LAYER); | 416 | txt_init(1, TEXT_LAYER); |
417 | txt_position(0,0); | 417 | txt_position(0,0); |
418 | 418 | ||
419 | // Initialize sound mixer. | ||
419 | init_sound(); | 420 | init_sound(); |
420 | 421 | ||
421 | // Main loop. | 422 | // Main loop. |