[Project64] make sure m_pDiskInfo is initialized in RomInformation
This commit is contained in:
parent
44d351cdd9
commit
e71598edaf
|
@ -46,7 +46,8 @@ RomInformation::RomInformation(CN64Rom * RomInfo) :
|
|||
m_DeleteRomInfo(false),
|
||||
m_DeleteDiskInfo(false),
|
||||
m_FileName(RomInfo ? RomInfo->GetFileName().c_str() : ""),
|
||||
m_pRomInfo(RomInfo)
|
||||
m_pRomInfo(RomInfo),
|
||||
m_pDiskInfo(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -54,6 +55,7 @@ RomInformation::RomInformation(CN64Disk * DiskInfo) :
|
|||
m_DeleteRomInfo(false),
|
||||
m_DeleteDiskInfo(false),
|
||||
m_FileName(DiskInfo ? DiskInfo->GetFileName().c_str() : ""),
|
||||
m_pRomInfo(NULL),
|
||||
m_pDiskInfo(DiskInfo)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue