empty I_InitTimidityConfig() decleration for non timidity ports!
This commit is contained in:
@@ -40,6 +40,14 @@ boolean drone = false;
|
||||
* public functions *
|
||||
*---------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FEATURE_SOUND
|
||||
|
||||
void I_InitTimidityConfig(void)
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*---------------------------------------------------------------------*
|
||||
* eof *
|
||||
*---------------------------------------------------------------------*/
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -136,6 +136,8 @@ void I_StartTic (void);
|
||||
|
||||
void I_EnableLoadingDisk(void);
|
||||
|
||||
void I_EndRead (void);
|
||||
|
||||
extern char *video_driver;
|
||||
extern boolean screenvisible;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user