mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
- Improved sc function binder.
- Improved GLGSRender.
This commit is contained in:
parent
3bb7a299ca
commit
5753edf6ef
133 changed files with 13624 additions and 3898 deletions
43
rpcs3/Emu/FS/vfsFileBase.cpp
Normal file
43
rpcs3/Emu/FS/vfsFileBase.cpp
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
#include "stdafx.h"
|
||||
#include "vfsFileBase.h"
|
||||
|
||||
vfsFileBase::vfsFileBase() : vfsDevice()
|
||||
{
|
||||
}
|
||||
|
||||
vfsFileBase::~vfsFileBase()
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
bool Access(const wxString& path, vfsOpenMode mode)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool vfsFileBase::Open(const wxString& path, vfsOpenMode mode)
|
||||
{
|
||||
m_path = path;
|
||||
m_mode = mode;
|
||||
|
||||
vfsStream::Reset();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool vfsFileBase::Close()
|
||||
{
|
||||
m_path = wxEmptyString;
|
||||
|
||||
return vfsStream::Close();
|
||||
}
|
||||
|
||||
wxString vfsFileBase::GetPath() const
|
||||
{
|
||||
return m_path;
|
||||
}
|
||||
|
||||
vfsOpenMode vfsFileBase::GetOpenMode() const
|
||||
{
|
||||
return m_mode;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue