Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #748 from lioncash/null
Core: Default initialize a pointer to nullptr in gdsp_do_dma()
  • Loading branch information
shuffle2 committed Aug 12, 2014
2 parents 4e73dd2 + 3c5326f commit fe2321e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/DSP/DSPHWInterface.cpp
Expand Up @@ -341,7 +341,7 @@ static void gdsp_do_dma()
DEBUG_LOG(DSPLLE, "DMA pc: %04x, Control: %04x, Address: %08x, DSP Address: %04x, Size: %04x", g_dsp.pc, ctl, addr, dsp_addr, len);
#endif

const u8* copied_data_ptr;
const u8* copied_data_ptr = nullptr;
switch (ctl & 0x3)
{
case (DSP_CR_DMEM | DSP_CR_TO_CPU):
Expand Down

0 comments on commit fe2321e

Please sign in to comment.