games/nes: it's too late to write code
This commit is contained in:
parent
1a67cd2c44
commit
1df8b3d2c1
|
@ -94,11 +94,12 @@ doenv(void)
|
|||
(*a)--;
|
||||
}
|
||||
a = apuctr + TRILIN;
|
||||
if((apuctr[RELOAD] & (1<<2)) != 0){
|
||||
*a = mem[0x4008];
|
||||
apuctr[RELOAD] &= ~(1<<2);
|
||||
}else if(*a != 0)
|
||||
if((apuctr[RELOAD] & (1<<2)) != 0)
|
||||
*a = mem[0x4008] & 0x7f;
|
||||
else if(*a != 0)
|
||||
(*a)--;
|
||||
if((mem[0x4008] & 0x80) == 0)
|
||||
apuctr[RELOAD] &= ~(1<<2);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue