Changeset 2795


Ignore:
Timestamp:
Jun 29, 2013, 10:59:22 PM (4 years ago)
Author:
sam
Message:

audio: report SDL mixer loading errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sample.cpp

    r2639 r2795  
    113113    if (!data->m_chunk)
    114114    {
    115         Log::Error("could not load sample %s\n", path);
     115        Log::Error("could not load sample %s: %s\n", path, Mix_GetError());
    116116    }
    117117    data->m_channel = -1;
Note: See TracChangeset for help on using the changeset viewer.