mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
some small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1974 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b71d92126d
commit
cf8b3b2264
@ -44,7 +44,7 @@ CBannerLoaderWii::CBannerLoaderWii(DiscIO::IFileSystem& _rFileSystem)
|
||||
{
|
||||
m_pBannerFile = new u8[FileSize];
|
||||
FILE* pFile = fopen(Filename, "rb");
|
||||
if (pFile != NULL)
|
||||
if ((pFile != NULL) && (m_pBannerFile != NULL))
|
||||
{
|
||||
fread(m_pBannerFile, FileSize, 1, pFile);
|
||||
fclose(pFile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user