clang-modernize -use-nullptr

and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
This commit is contained in:
Tillmann Karras
2014-03-09 21:14:26 +01:00
parent f28116b7da
commit d802d39281
292 changed files with 1526 additions and 1526 deletions

View File

@ -174,7 +174,7 @@ struct ARAMInfo
wii_mode = false;
size = ARAM_SIZE;
mask = ARAM_MASK;
ptr = NULL;
ptr = nullptr;
}
};
@ -282,12 +282,12 @@ void Shutdown()
if (!g_ARAM.wii_mode)
{
FreeMemoryPages(g_ARAM.ptr, g_ARAM.size);
g_ARAM.ptr = NULL;
g_ARAM.ptr = nullptr;
}
dsp_emulator->Shutdown();
delete dsp_emulator;
dsp_emulator = NULL;
dsp_emulator = nullptr;
}
void RegisterMMIO(MMIO::Mapping* mmio, u32 base)