mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 14:28:34 +00:00
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:
parent
f28116b7da
commit
d802d39281
292 changed files with 1526 additions and 1526 deletions
|
@ -31,7 +31,7 @@
|
|||
#include "VideoCommon/XFMemory.h"
|
||||
|
||||
|
||||
u8* g_pVideoData = 0;
|
||||
u8* g_pVideoData = nullptr;
|
||||
bool g_bRecordFifoData = false;
|
||||
|
||||
#if _M_SSE >= 0x301
|
||||
|
@ -85,7 +85,7 @@ void InterpretDisplayList(u32 address, u32 size)
|
|||
u8* startAddress = Memory::GetPointer(address);
|
||||
|
||||
// Avoid the crash if Memory::GetPointer failed ..
|
||||
if (startAddress != 0)
|
||||
if (startAddress != nullptr)
|
||||
{
|
||||
g_pVideoData = startAddress;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue