From 595136fc0b5b09706ff1508c912ded15d949b477 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 20 May 2016 22:40:02 +0100 Subject: Fixed error in NES header (missing zero byte) --- src/example/nes.asm | 2 +- src/nesout.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3