Silence a few "zero as null pointer" warnings.

This commit is contained in:
Rohit Nirmal 2014-11-24 12:36:46 -06:00
parent 60e9301f40
commit 4d931c16ad
4 changed files with 5 additions and 5 deletions

View file

@ -2285,7 +2285,7 @@ const char* GekkoDisassembler::GetGPRName(u32 index)
if (index < 32)
return gprnames[index];
return 0;
return nullptr;
}
static const char* fprnames[] =
@ -2301,5 +2301,5 @@ const char* GekkoDisassembler::GetFPRName(u32 index)
if (index < 32)
return fprnames[index];
return 0;
return nullptr;
}