mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
Fix a case where m_hdd_file is passed to m_file uninitialized.
Due to the way initializations work in C++, despite the order of the initializations in the initialization list, it will actually do the initializing in the order the class variables are defined.
This commit is contained in:
parent
ae5d06d4be
commit
479ef45aec
1 changed files with 2 additions and 2 deletions
|
@ -423,11 +423,11 @@ public:
|
|||
class vfsHDD : public vfsFileBase
|
||||
{
|
||||
vfsHDD_Hdr m_hdd_info;
|
||||
vfsLocalFile m_hdd_file;
|
||||
const wxString& m_hdd_path;
|
||||
vfsHDD_Entry m_cur_dir;
|
||||
u64 m_cur_dir_block;
|
||||
vfsHDDFile m_file;
|
||||
vfsLocalFile m_hdd_file;
|
||||
const wxString& m_hdd_path;
|
||||
|
||||
public:
|
||||
vfsHDD(vfsDevice* device, const wxString& hdd_path)
|
||||
|
|
Loading…
Add table
Reference in a new issue