make some progress toward getting psogc to work again

This commit is contained in:
Martin Michelsen
2018-11-10 23:52:23 -08:00
parent 00bbd6a0a3
commit 833bf90333
20 changed files with 286 additions and 124 deletions
+4 -1
View File
@@ -308,7 +308,10 @@ shared_ptr<const string> Quest::dat_contents() const {
QuestIndex::QuestIndex(const char* directory) : directory(directory) {
for (const auto& filename : list_directory(this->directory)) {
auto filename_set = list_directory(this->directory);
vector<string> filenames(filename_set.begin(), filename_set.end());
sort(filenames.begin(), filenames.end());
for (const auto& filename : filenames) {
string full_path = this->directory + "/" + filename;
if (ends_with(filename, ".gba")) {