Skip to content

Commit

Permalink
Change usage of tab indentation to use four spaces (#174)
Browse files Browse the repository at this point in the history
Change usage of tab indentation to use four spaces (squash)
  • Loading branch information
Souzooka authored and PSI-Rockin committed Mar 31, 2019
1 parent dbfffa3 commit f5e4552
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions src/core/emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ Emulator::~Emulator()
{
if (ee_log.is_open())
ee_log.close();
delete[] RDRAM;
delete[] IOP_RAM;
delete[] BIOS;
delete[] SPU_RAM;
delete[] ELF_file;
delete[] RDRAM;
delete[] IOP_RAM;
delete[] BIOS;
delete[] SPU_RAM;
delete[] ELF_file;
}

void Emulator::run()
Expand Down Expand Up @@ -341,7 +341,7 @@ void Emulator::load_ELF(const uint8_t *ELF, uint32_t size)
return;
}
printf("Valid elf\n");
delete[] ELF_file;
delete[] ELF_file;
ELF_file = new uint8_t[size];
ELF_size = size;
memcpy(ELF_file, ELF, size);
Expand Down
8 changes: 4 additions & 4 deletions src/core/gs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ GraphicsSynthesizer::~GraphicsSynthesizer()
send_message({ GSCommand::die_t,payload });
gsthread_id.join();
}
delete[] output_buffer1;
delete[] output_buffer2;
delete message_queue;
delete return_queue;
delete[] output_buffer1;
delete[] output_buffer2;
delete message_queue;
delete return_queue;
}

void GraphicsSynthesizer::reset()
Expand Down
2 changes: 1 addition & 1 deletion src/core/gsthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ GraphicsSynthesizerThread::GraphicsSynthesizerThread()

GraphicsSynthesizerThread::~GraphicsSynthesizerThread()
{
delete[] local_mem;
delete[] local_mem;
}

void GraphicsSynthesizerThread::event_loop(gs_fifo* fifo, gs_return_fifo* return_fifo)
Expand Down

0 comments on commit f5e4552

Please sign in to comment.