aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-05-20 22:40:02 +0100
committerIan C <ianc@noddybox.co.uk>2016-05-20 22:40:02 +0100
commit595136fc0b5b09706ff1508c912ded15d949b477 (patch)
tree0b42be756251a34d37b4909abd7959d46efdc5b9
parent45fd0ca73ec84a9b605f918a7b1b3497d2a25b33 (diff)
Fixed error in NES header (missing zero byte)
-rw-r--r--src/example/nes.asm2
-rw-r--r--src/nesout.c2
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);
}