mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-23 07:50:03 +00:00
Update
This commit is contained in:
parent
a89a30c91b
commit
241b9ffbb1
@ -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)
|
||||
|
@ -41,7 +41,6 @@ class FileStream : public Stream
|
||||
|
||||
private:
|
||||
RFILE *fp;
|
||||
char *original_path;
|
||||
int OpenedMode;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user