mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Silence a few "zero as null pointer" warnings.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user