This commit is contained in:
twinaphex 2017-12-18 16:53:03 +01:00
parent a89a30c91b
commit 241b9ffbb1
2 changed files with 0 additions and 5 deletions

View File

@ -29,14 +29,10 @@ FileStream::FileStream(const char *path, const int mode)
{
OpenedMode = mode;
fp = filestream_open(path, (mode == MODE_WRITE) ? RETRO_VFS_FILE_ACCESS_WRITE : RETRO_VFS_FILE_ACCESS_READ, RETRO_VFS_FILE_ACCESS_HINT_NONE);
original_path = strdup(path);
}
FileStream::~FileStream()
{
if (original_path)
free(original_path);
original_path = NULL;
}
uint64_t FileStream::attributes(void)

View File

@ -41,7 +41,6 @@ class FileStream : public Stream
private:
RFILE *fp;
char *original_path;
int OpenedMode;
};