It never ends...

This commit is contained in:
Henrik Rydgård
2021-05-09 18:38:48 +02:00
parent a40b1dec5f
commit 2e16e83159
43 changed files with 292 additions and 277 deletions

View File

@@ -50,8 +50,8 @@
const std::string INDEX_FILENAME = ".ppsspp-index.lst";
VirtualDiscFileSystem::VirtualDiscFileSystem(IHandleAllocator *_hAlloc, std::string _basePath)
: basePath(_basePath),currentBlockIndex(0) {
VirtualDiscFileSystem::VirtualDiscFileSystem(IHandleAllocator *_hAlloc, const Path &_basePath)
: basePath(_basePath), currentBlockIndex(0) {
hAlloc = _hAlloc;
LoadFileListIndex();
}
@@ -78,13 +78,6 @@ void VirtualDiscFileSystem::LoadFileListIndex() {
return;
}
/*
in.open(filename.c_str(), std::ios::in);
if (in.fail()) {
>>>>>>> 52a34c2de (Introduce Path, start using it all over the place.)
return;
}*/
std::string buf;
static const int MAX_LINE_SIZE = 2048;
char linebuf[MAX_LINE_SIZE]{};