From 3289a3aecc2acd6040057860f8317e864e2ddbdb Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 28 Mar 2015 00:10:53 +0000 Subject: [PATCH] clean formatting of r4800, messing up otherwise clean code --- desmume/src/NDSSystem.cpp | 2 +- desmume/src/addons/slot1_r4.cpp | 10 +++++----- desmume/src/addons/slot1_retail_mcrom.cpp | 10 +++++----- desmume/src/addons/slot1_retail_mcrom_debug.cpp | 4 ++-- desmume/src/addons/slot1_retail_nand.cpp | 4 ++-- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index a9953ae17..8da37db21 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -2409,7 +2409,7 @@ bool NDS_FakeBoot() _MMU_write08(kCommandline+i, rompath[i]); _MMU_write08(kCommandline+rompath.size(), 0); //-------------------------------- - + //Call the card post_fakeboot hook to perform additional initialization slot1_device->post_fakeboot(ARMCPU_ARM9); slot1_device->post_fakeboot(ARMCPU_ARM7); diff --git a/desmume/src/addons/slot1_r4.cpp b/desmume/src/addons/slot1_r4.cpp index 96c6cc078..f4dd8ccd8 100644 --- a/desmume/src/addons/slot1_r4.cpp +++ b/desmume/src/addons/slot1_r4.cpp @@ -172,11 +172,11 @@ public: } } - virtual void post_fakeboot(int PROCNUM) - { - // The BIOS leaves the card in NORMAL mode - protocol.mode = eCardMode_NORMAL; - } + virtual void post_fakeboot(int PROCNUM) + { + // The BIOS leaves the card in NORMAL mode + protocol.mode = eCardMode_NORMAL; + } void write32_GCDATAIN(u32 val) { diff --git a/desmume/src/addons/slot1_retail_mcrom.cpp b/desmume/src/addons/slot1_retail_mcrom.cpp index 501f477ad..df997acff 100644 --- a/desmume/src/addons/slot1_retail_mcrom.cpp +++ b/desmume/src/addons/slot1_retail_mcrom.cpp @@ -78,11 +78,11 @@ public: rom.start(operation,protocol.address); } - virtual void post_fakeboot(int PROCNUM) - { - // The BIOS leaves the card in NORMAL mode - protocol.mode = eCardMode_NORMAL; - } + virtual void post_fakeboot(int PROCNUM) + { + // The BIOS leaves the card in NORMAL mode + protocol.mode = eCardMode_NORMAL; + } virtual void savestate(EMUFILE* os) { diff --git a/desmume/src/addons/slot1_retail_mcrom_debug.cpp b/desmume/src/addons/slot1_retail_mcrom_debug.cpp index 0d4f5a2fd..82a4c0666 100644 --- a/desmume/src/addons/slot1_retail_mcrom_debug.cpp +++ b/desmume/src/addons/slot1_retail_mcrom_debug.cpp @@ -98,8 +98,8 @@ public: virtual void post_fakeboot(int PROCNUM) { - // The BIOS leaves the card in NORMAL mode - protocol.mode = eCardMode_NORMAL; + // The BIOS leaves the card in NORMAL mode + protocol.mode = eCardMode_NORMAL; } virtual void savestate(EMUFILE* os) diff --git a/desmume/src/addons/slot1_retail_nand.cpp b/desmume/src/addons/slot1_retail_nand.cpp index cc1451653..b8cbf3d2f 100644 --- a/desmume/src/addons/slot1_retail_nand.cpp +++ b/desmume/src/addons/slot1_retail_nand.cpp @@ -252,8 +252,8 @@ public: virtual void post_fakeboot(int PROCNUM) { - // The BIOS leaves the card in NORMAL mode - protocol.mode = eCardMode_NORMAL; + // The BIOS leaves the card in NORMAL mode + protocol.mode = eCardMode_NORMAL; } virtual void savestate(EMUFILE* os)