Skip to content

Commit

Permalink
send JFAudioLib messages into JFBuild's console etc
Browse files Browse the repository at this point in the history
  • Loading branch information
jonof committed Dec 4, 2021
1 parent 259f254 commit 3d82a71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jfaudiolib
4 changes: 2 additions & 2 deletions src/game.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,7 @@ InitGame(VOID)
extern int MovesPerPacket;
//void *ReserveMem=NULL;
int i;
extern void (*ASS_MessageOutputString)(const char *);

DSPRINTF(ds,"InitGame...");
MONO_PRINT(ds);
Expand All @@ -962,8 +963,6 @@ InitGame(VOID)

////DSPRINTF(ds,"%s, %d",__FILE__,__LINE__); MONO_PRINT(ds);

//InitFX();

memcpy(palette_data,palette,768);
InitPalette();

Expand Down Expand Up @@ -1083,6 +1082,7 @@ InitGame(VOID)

COVERsetbrightness(gs.Brightness,&palette_data[0][0]);

ASS_MessageOutputString = buildputs; // Send JFAudioLib messages to the JFBuild console.
InitFX(); // JBF: do it down here so we get a hold of the window handle
InitMusic();

Expand Down

0 comments on commit 3d82a71

Please sign in to comment.