Skip to content

Commit 34f8cd4

Browse files
ozklCacodemon345
authored andcommitted
empty I_InitTimidityConfig() decleration for non timidity ports!
1 parent 64ae062 commit 34f8cd4

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

doomgeneric/dummy.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ boolean drone = false;
4040
* public functions *
4141
*---------------------------------------------------------------------*/
4242

43+
#ifndef FEATURE_SOUND
44+
45+
void I_InitTimidityConfig(void)
46+
{
47+
}
48+
49+
#endif
50+
4351
/*---------------------------------------------------------------------*
4452
* eof *
4553
*---------------------------------------------------------------------*/

doomgeneric/i_timer.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
#include "i_timer.h"
2626

2727
#include <stdarg.h>
28-
#include <stdio.h>
29-
#include <SDL2/SDL.h>
3028

3129
//#include <sys/time.h>
3230
//#include <unistd.h>
@@ -96,12 +94,6 @@ void I_InitTimer(void)
9694
{
9795
// initialize timer
9896

99-
printf("I_InitTimer: Setting up timer.\n");
100-
if (SDL_Init(SDL_INIT_TIMER) < 0)
101-
{
102-
printf("SDL_Init failed: %s\n", SDL_GetError());
103-
atexit(SDL_Quit);
104-
exit(1);
105-
}
97+
//SDL_Init(SDL_INIT_TIMER);
10698
}
10799

doomgeneric/i_video.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ void I_StartTic (void);
136136

137137
void I_EnableLoadingDisk(void);
138138

139+
void I_EndRead (void);
140+
139141
extern char *video_driver;
140142
extern boolean screenvisible;
141143

0 commit comments

Comments
 (0)