aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm7
diff options
context:
space:
mode:
authorMax Horn2007-09-18 20:16:33 +0000
committerMax Horn2007-09-18 20:16:33 +0000
commit3abc11611e1d1d93f1cf794df28879de3571bd01 (patch)
treee1ac8a925d1388f8df010a114d7bed471fc9fe3b /backends/platform/ds/arm7
parentc3d3aebe87d16d4fc3b7ac8581b99fb97241c9ac (diff)
downloadscummvm-rg350-3abc11611e1d1d93f1cf794df28879de3571bd01.tar.gz
scummvm-rg350-3abc11611e1d1d93f1cf794df28879de3571bd01.tar.bz2
scummvm-rg350-3abc11611e1d1d93f1cf794df28879de3571bd01.zip
Code formatting fixes
svn-id: r28945
Diffstat (limited to 'backends/platform/ds/arm7')
-rw-r--r--backends/platform/ds/arm7/source/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/platform/ds/arm7/source/main.cpp b/backends/platform/ds/arm7/source/main.cpp
index f32baa5ab6..b7d9445e6e 100644
--- a/backends/platform/ds/arm7/source/main.cpp
+++ b/backends/platform/ds/arm7/source/main.cpp
@@ -483,7 +483,7 @@ void InterruptTimer3() {
IPC->battery = batt;
IPC->aux = aux;
- for(u32 i=0; i<sizeof(ct); i++) {
+ for (u32 i=0; i<sizeof(ct); i++) {
IPC->curtime[i] = ct[i];
}
@@ -527,7 +527,7 @@ void arm7_synctoarm9() { // send fifo message
// interrupt handler to allow incoming notifications from arm9
void arm7_fifo() { // check incoming fifo messages
u32 msg = REG_IPC_FIFO_RX;
- if(msg==0x87654321) Wifi_Sync();
+ if (msg==0x87654321) Wifi_Sync();
}
@@ -543,13 +543,13 @@ void initDebugger() {
// sync with arm9 and init wifi
u32 fifo_temp;
- while(1) { // wait for magic number
- while(REG_IPC_FIFO_CR&IPC_FIFO_RECV_EMPTY) swiWaitForVBlank();
+ while (1) { // wait for magic number
+ while (REG_IPC_FIFO_CR&IPC_FIFO_RECV_EMPTY) swiWaitForVBlank();
fifo_temp=REG_IPC_FIFO_RX;
- if(fifo_temp==0x12345678) break;
+ if (fifo_temp==0x12345678) break;
}
- while(REG_IPC_FIFO_CR&IPC_FIFO_RECV_EMPTY) swiWaitForVBlank();
+ while (REG_IPC_FIFO_CR&IPC_FIFO_RECV_EMPTY) swiWaitForVBlank();
fifo_temp=REG_IPC_FIFO_RX; // give next value to wifi_init
Wifi_Init(fifo_temp);