Browse Source

audio: report SDL mixer loading errors.

legacy
Sam Hocevar sam 11 years ago
parent
commit
c7a3c42a19
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/sample.cpp

+ 1
- 1
src/sample.cpp View File

@@ -112,7 +112,7 @@ Sample::Sample(char const *path)
}
if (!data->m_chunk)
{
Log::Error("could not load sample %s\n", path);
Log::Error("could not load sample %s: %s\n", path, Mix_GetError());
}
data->m_channel = -1;
#endif


Loading…
Cancel
Save