Add more debugging messages.
Also update macOS build date in the Info.plist file.
This commit is contained in:
parent
93c1ad5dc3
commit
19ae36662b
2 changed files with 17 additions and 1 deletions
|
|
@ -23,6 +23,6 @@
|
|||
<key>CFBundleSignature</key>
|
||||
<string>TXPT</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2018-05-21</string>
|
||||
<string>2018-06-26</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
|||
|
|
@ -23289,6 +23289,10 @@ static void setup(void)
|
|||
|
||||
|
||||
#ifndef NOSOUND
|
||||
#ifdef DEBUG
|
||||
printf("Initializing sound...\n");
|
||||
fflush(stdout);
|
||||
#endif
|
||||
#ifndef WIN32
|
||||
if (use_sound && Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 1024) < 0)
|
||||
#else
|
||||
|
|
@ -23317,9 +23321,17 @@ static void setup(void)
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Enabling key repeat...\n");
|
||||
fflush(stdout);
|
||||
#endif
|
||||
/* Set-up Key-Repeat: */
|
||||
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Initializing TTF...\n");
|
||||
fflush(stdout);
|
||||
#endif
|
||||
/* Init TTF stuff: */
|
||||
if (TTF_Init() < 0)
|
||||
{
|
||||
|
|
@ -23332,6 +23344,10 @@ static void setup(void)
|
|||
}
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Setting up colors...\n");
|
||||
fflush(stdout);
|
||||
#endif
|
||||
setup_colors();
|
||||
|
||||
/* Set window icon and caption: */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue