| 241 | } |
| 242 | |
| 243 | int main(int argc, char** argv) { |
| 244 | SDL_Init(SDL_INIT_AUDIO); |
| 245 | |
| 246 | nextTest(); |
| 247 | |
| 248 | #ifdef __EMSCRIPTEN__ |
| 249 | emscripten_set_main_loop(update, 60, 0); |
| 250 | #else |
| 251 | while(beep) { |
| 252 | SDL_Delay(20); |
| 253 | update(); |
| 254 | } |
| 255 | #endif |
| 256 | |
| 257 | return 0; |
| 258 | } |