Whitespace
This commit is contained in:
parent
02e49932ea
commit
762f8f5e6d
11
src/main.c
11
src/main.c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue