Whitespace

This commit is contained in:
Daniel Loffgren 2018-01-22 22:10:32 -08:00
parent 02e49932ea
commit 762f8f5e6d
2 changed files with 32 additions and 33 deletions

View File

@ -91,8 +91,7 @@ static const char *prompt() {
return prompt;
}
int main(int argc, const char * argv[])
{
int main(int argc, const char *argv[]) {
currentFileName = "apple1";
cpu = v6502_createCPU();
@ -197,12 +196,12 @@ int main(int argc, const char * argv[])
v6502_read(cpu->memory, 0x28, NO), // L
v6502_read(cpu->memory, 0x29, NO), // H
v6502_read(cpu->memory, 0x2A, NO), // YSAV
v6502_read(cpu->memory, 0x2B, NO));// MODE
v6502_read(cpu->memory, 0x2B, NO)); // MODE
}
else if (v6502_compareDebuggerCommand(command, commandLen, "nonstop")) {
// char *trimmedCommand = trimheadtospc(command, commandLen);
//
// if(trimmedCommand[0]) {
// if (trimmedCommand[0]) {
printf("Nonstop mode %d -> %d\n", continuousMode, !continuousMode);
continuousMode = !continuousMode;
// }
@ -213,7 +212,7 @@ int main(int argc, const char * argv[])
else if (v6502_compareDebuggerCommand(command, commandLen, "freeze")) {
char *trimmedCommand = trimheadtospc(command, commandLen);
if(trimmedCommand[0]) {
if (trimmedCommand[0]) {
saveFreeze(pia, trimmedCommand);
}
else {
@ -223,7 +222,7 @@ int main(int argc, const char * argv[])
else if (v6502_compareDebuggerCommand(command, commandLen, "restore")) {
char *trimmedCommand = trimheadtospc(command, commandLen);
if(trimmedCommand[0]) {
if (trimmedCommand[0]) {
loadFreeze(pia, trimmedCommand);
}
else {