Skip to content

Commit

Permalink
Fixed playback of ALC error events.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 9, 2019
1 parent 6f5c8a9 commit ccb8d86
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions altrace/altrace_playback.c
Expand Up @@ -2209,9 +2209,10 @@ static void dump_al_error_event(void)

static void dump_alc_error_event(void)
{
const ALenum err = IO_ENUM();
ALCdevice *device = (ALCdevice *) IO_PTR();
const ALCenum err = IO_ALCENUM();
if (dump_log) {
printf("<<< ALC ERROR SET HERE: %s >>>\n", alcenumString(err));
printf("<<< ALC ERROR SET HERE: device=%p %s >>>\n", device, alcenumString(err));
}
}

Expand Down

0 comments on commit ccb8d86

Please sign in to comment.