mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-10 08:23:22 +00:00
Fixes for Linux
- fixed warning about PlaySfx::handle - fixed displaying subtitles - if the path was not full lowercase it didn't find its txt files. - CMake: removed SDLMAIN_FOUND, which is seemingly only defined on windows and does more harm than good. - glpng: always use new libpng API (fixes windows build)
This commit is contained in:
parent
2d795b5bf7
commit
1ab32b585f
4 changed files with 8 additions and 16 deletions
|
@ -46,7 +46,7 @@ void SubtitlePlayer::go(const std::string &subs)
|
|||
if (dsq->mod.isActive())
|
||||
{
|
||||
f = dsq->mod.getPath() + "audio/" + subs + ".txt";
|
||||
stringToLower(f);
|
||||
f = core->adjustFilenameCase(f);
|
||||
if (exists(f))
|
||||
checkAfter = false;
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ void SubtitlePlayer::go(const std::string &subs)
|
|||
if (checkAfter)
|
||||
{
|
||||
f = "scripts/vox/" + subs + ".txt";
|
||||
stringToLower(f);
|
||||
f = core->adjustFilenameCase(f);
|
||||
if (!exists(f))
|
||||
{
|
||||
debugLog("Could not find subs file [" + subs + "]");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue