empty I_InitTimidityConfig() decleration for non timidity ports!

This commit is contained in:
ozkl
2022-12-04 15:24:51 +03:00
parent 35387d77b8
commit 62b78cdd33
3 changed files with 12 additions and 9 deletions
+8
View File
@@ -40,6 +40,14 @@ boolean drone = false;
* public functions *
*---------------------------------------------------------------------*/
#ifndef FEATURE_SOUND
void I_InitTimidityConfig(void)
{
}
#endif
/*---------------------------------------------------------------------*
* eof *
*---------------------------------------------------------------------*/
+2 -9
View File
@@ -22,8 +22,7 @@
#include "doomgeneric.h"
#include <stdarg.h>
#include <stdio.h>
#include <SDL2/SDL.h>
//#include <sys/time.h>
//#include <unistd.h>
@@ -92,12 +91,6 @@ void I_InitTimer(void)
{
// initialize timer
printf("I_InitTimer: Setting up timer.\n");
if (SDL_Init(SDL_INIT_TIMER) < 0)
{
printf("SDL_Init failed: %s\n", SDL_GetError());
atexit(SDL_Quit);
exit(1);
}
//SDL_Init(SDL_INIT_TIMER);
}
+2
View File
@@ -136,6 +136,8 @@ void I_StartTic (void);
void I_EnableLoadingDisk(void);
void I_EndRead (void);
extern char *video_driver;
extern boolean screenvisible;