| Age | Commit message (Collapse) | Author |
|
|
|
When CFileSystemGCWii::GetFileName can't find a valid filename it would return nullptr.
nullptr as a std::string throws an assert within the std lib.
So return an empty string and check if it is empty or not
|
|
Technically this also simplifies on disc filename building in general.
|
|
Add more sound file extensions to FileMonitor's IsSoundFile.
|
|
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
|
|
|
|
.adx is used in various games, so this should definitely be here.
|
|
Now if more sound types are found, they just need to simply be added to
the unordered set.
- Also changed ShowSound() to IsSoundFile()
- Fixed IsSoundFile’s definition in FileMonitor.h. This whole time it
has been defined as a void method, when in reality it was a bool
function.
- Changed the FileMonitor’s string parameters to be constant references.
|
|
detected by this change).
|
|
|
|
|