mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-28 21:08:04 +03: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
|
@ -51,7 +51,7 @@
|
|||
// Used for communications with the DSP, such as dumping registers etc.
|
||||
u16 dspbuffer[16 * 1024] __attribute__ ((aligned (0x4000)));
|
||||
|
||||
static void *xfb = NULL;
|
||||
static void *xfb = nullptr;
|
||||
void (*reboot)() = (void(*)())0x80001800;
|
||||
GXRModeObj *rmode;
|
||||
|
||||
|
@ -522,7 +522,7 @@ void InitGeneral()
|
|||
|
||||
// Obtain the preferred video mode from the system
|
||||
// This will correspond to the settings in the Wii menu
|
||||
rmode = VIDEO_GetPreferredMode(NULL);
|
||||
rmode = VIDEO_GetPreferredMode(nullptr);
|
||||
|
||||
// Allocate memory for the display in the uncached region
|
||||
xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode));
|
||||
|
|
|
@ -28,7 +28,7 @@ void RealDSP::Init()
|
|||
|
||||
u32 level;
|
||||
_CPU_ISR_Disable(level);
|
||||
IRQ_Request(IRQ_DSP_DSP, dsp_irq_handler, NULL);
|
||||
IRQ_Request(IRQ_DSP_DSP, dsp_irq_handler, nullptr);
|
||||
_CPU_ISR_Restore(level);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue