diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-05-20 22:40:02 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-05-20 22:40:02 +0100 |
commit | 595136fc0b5b09706ff1508c912ded15d949b477 (patch) | |
tree | 0b42be756251a34d37b4909abd7959d46efdc5b9 /src | |
parent | 45fd0ca73ec84a9b605f918a7b1b3497d2a25b33 (diff) |
Fixed error in NES header (missing zero byte)
Diffstat (limited to 'src')
-rw-r--r-- | src/example/nes.asm | 2 | ||||
-rw-r--r-- | src/nesout.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/example/nes.asm b/src/example/nes.asm index c10ca66..755fe89 100644 --- a/src/example/nes.asm +++ b/src/example/nes.asm @@ -63,7 +63,7 @@ clear_palette: dex bne loop - lda #%01000000 ; intensify blues + lda #%10000000 ; intensify blues sta $2001 forever: diff --git a/src/nesout.c b/src/nesout.c index 7877e12..44ab1af 100644 --- a/src/nesout.c +++ b/src/nesout.c @@ -309,7 +309,7 @@ int NESOutput(const char *filename, const char *filename_bank, fputc(option.tv_format, fp); - for(f = 0; f < 5; f++) + for(f = 0; f < 6; f++) { fputc(0, fp); } |