From 8b3bee9e7b2c5ff25bb8821cc89ab40f4a807159 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Tue, 30 Jul 2019 13:03:59 -0400 Subject: [PATCH] nes: fixed hello.c preset --- doc/notes.txt | 1 + presets/nes/hello.c | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/notes.txt b/doc/notes.txt index c6bc119d..310901cf 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -166,6 +166,7 @@ TODO: - make sure to flatten subdirs - astrocade - ctrl+alt+l on ubuntu locks screen +- alt-D doesn't work anymore - cookie - list of stuff for policy - popup diff --git a/presets/nes/hello.c b/presets/nes/hello.c index 1b975633..d8983253 100644 --- a/presets/nes/hello.c +++ b/presets/nes/hello.c @@ -13,7 +13,7 @@ Finally, turn on the PPU to display video. // main function, run after console reset void main(void) { - int x; + // set palette colors pal_col(0,0x02); // set screen to dark blue pal_col(1,0x14); // pink @@ -27,10 +27,6 @@ void main(void) { // enable PPU rendering (turn on screen) ppu_on_all(); - for (x=0; x<500; x++) { - ppu_wait_frame(); - } - ppu_off(); // infinite loop while (1) ; }