Add more debugging messages.

Also update macOS build date in the Info.plist file.
This commit is contained in:
Mark K. Kim 2018-06-26 02:13:41 -04:00
parent 93c1ad5dc3
commit 19ae36662b
2 changed files with 17 additions and 1 deletions

View file

@ -23,6 +23,6 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>TXPT</string> <string>TXPT</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2018-05-21</string> <string>2018-06-26</string>
</dict> </dict>
</plist> </plist>

View file

@ -23289,6 +23289,10 @@ static void setup(void)
#ifndef NOSOUND #ifndef NOSOUND
#ifdef DEBUG
printf("Initializing sound...\n");
fflush(stdout);
#endif
#ifndef WIN32 #ifndef WIN32
if (use_sound && Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 1024) < 0) if (use_sound && Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 1024) < 0)
#else #else
@ -23317,9 +23321,17 @@ static void setup(void)
#endif #endif
#ifdef DEBUG
printf("Enabling key repeat...\n");
fflush(stdout);
#endif
/* Set-up Key-Repeat: */ /* Set-up Key-Repeat: */
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL); SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
#ifdef DEBUG
printf("Initializing TTF...\n");
fflush(stdout);
#endif
/* Init TTF stuff: */ /* Init TTF stuff: */
if (TTF_Init() < 0) if (TTF_Init() < 0)
{ {
@ -23332,6 +23344,10 @@ static void setup(void)
} }
#ifdef DEBUG
printf("Setting up colors...\n");
fflush(stdout);
#endif
setup_colors(); setup_colors();
/* Set window icon and caption: */ /* Set window icon and caption: */