FileSystem: RGSS2 means ogg vorbis support is always available
This commit is contained in:
parent
2ba9f6589b
commit
3da785b293
|
@ -25,6 +25,7 @@
|
|||
#include "font.h"
|
||||
#include "util.h"
|
||||
#include "exception.h"
|
||||
#include "sharedstate.h"
|
||||
#include "boost-hash.h"
|
||||
#include "debugwriter.h"
|
||||
|
||||
|
@ -336,6 +337,9 @@ FileSystem::FileSystem(const char *argv0,
|
|||
}
|
||||
}
|
||||
|
||||
if (rgssVer >= 2 && !contains(p->extensions[Audio], std::string("ogg")))
|
||||
p->extensions[Audio].push_back("ogg");
|
||||
|
||||
#if MIDI
|
||||
p->extensions[Audio].push_back("mid");
|
||||
p->extensions[Audio].push_back("midi");
|
||||
|
|
Loading…
Reference in New Issue