Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Commit

Permalink
Fixing more whitespace and missing brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
parasyte committed Aug 16, 2014
1 parent 5628bcf commit 3ba0910
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ void loadrom(display_context_t disp, u8 *buff, int fast){
sleep(1000); //needless waiting :>

if (debug)
printText("timing done", 3, -1, disp);
printText("timing done", 3, -1, disp);

u8 tmp[32];
u8 filename[64];
Expand Down Expand Up @@ -1255,7 +1255,6 @@ void loadrom(display_context_t disp, u8 *buff, int fast){
if (debug) {
sprintf(tmp, "Info: cic=%i save=%i",cic,save);
printText(tmp, 3, -1, disp);

}

//new rom_config
Expand Down Expand Up @@ -1329,26 +1328,27 @@ void loadrom(display_context_t disp, u8 *buff, int fast){
}
}

if (debug)
if (debug) {
for (int i = 0; i < 4; i++) {
u8 buff[16];
dma_read_s(buff, 0xb0000000 + 0x00100000*i, 1);
sprintf(tmp, "probe: %hhx",buff[0]);
printText(tmp, 3, -1, disp);

}
}

if(!fast){
sleep(200);
if(!fast){
sleep(200);

printText(" ", 3, -1, disp);
printText("(C-UP to activate cheats)", 3, -1, disp);
printText("(C-RIGHT to force menu tv mode)", 3, -1, disp);
printText("done: PRESS START", 3, -1, disp);
}
else{
bootRom(disp, 1);
}
printText(" ", 3, -1, disp);
printText("(C-UP to activate cheats)", 3, -1, disp);
printText("(C-RIGHT to force menu tv mode)", 3, -1, disp);
printText("done: PRESS START", 3, -1, disp);
}
else{
bootRom(disp, 1);
}
}


Expand Down Expand Up @@ -3235,7 +3235,7 @@ int main(void) {
int save_job = evd_readReg(REG_SAV_CFG);

if(save_job!=0)
fast_boot=1;
fast_boot=1;

//not gamepads more or less the n64 hardware-controllers
controller_init();
Expand Down

0 comments on commit 3ba0910

Please sign in to comment.