From 5c0796ed57ab31927a0184e1cca2c24cdb8e2cf6 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 28 Jul 2013 12:50:02 -0700 Subject: [PATCH] Switch to .lst instead of .ini. --- Core/FileSystems/VirtualDiscFileSystem.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/FileSystems/VirtualDiscFileSystem.cpp b/Core/FileSystems/VirtualDiscFileSystem.cpp index 5c21acad5..b57898978 100644 --- a/Core/FileSystems/VirtualDiscFileSystem.cpp +++ b/Core/FileSystems/VirtualDiscFileSystem.cpp @@ -33,6 +33,8 @@ #include #endif +const std::string INDEX_FILENAME = ".ppsspp-index.lst"; + VirtualDiscFileSystem::VirtualDiscFileSystem(IHandleAllocator *_hAlloc, std::string _basePath) : basePath(_basePath),currentBlockIndex(0) { @@ -60,7 +62,7 @@ VirtualDiscFileSystem::~VirtualDiscFileSystem() { } void VirtualDiscFileSystem::LoadFileListIndex() { - const std::string filename = basePath + ".ppsspp-index.ini"; + const std::string filename = basePath + INDEX_FILENAME; if (!File::Exists(filename)) { return; } @@ -91,7 +93,7 @@ void VirtualDiscFileSystem::LoadFileListIndex() { // Syntax: HEXPOS filename or HEXPOS filename:handler size_t filename_pos = line.find(' '); if (filename_pos == line.npos) { - ERROR_LOG(HLE, "Unexpected line in .ppsspp-index.ini: %s", line.c_str()); + ERROR_LOG(HLE, "Unexpected line in %s: %s", INDEX_FILENAME.c_str(), line.c_str()); continue; }