1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-22 14:33:51 +00:00

nes: fixed hello.c preset

This commit is contained in:
Steven Hugg 2019-07-30 13:03:59 -04:00
parent a9a8a574c3
commit 8b3bee9e7b
2 changed files with 2 additions and 5 deletions

View File

@ -166,6 +166,7 @@ TODO:
- make sure to flatten subdirs - make sure to flatten subdirs
- astrocade - astrocade
- ctrl+alt+l on ubuntu locks screen - ctrl+alt+l on ubuntu locks screen
- alt-D doesn't work anymore
- cookie - cookie
- list of stuff for policy - list of stuff for policy
- popup - popup

View File

@ -13,7 +13,7 @@ Finally, turn on the PPU to display video.
// main function, run after console reset // main function, run after console reset
void main(void) { void main(void) {
int x;
// set palette colors // set palette colors
pal_col(0,0x02); // set screen to dark blue pal_col(0,0x02); // set screen to dark blue
pal_col(1,0x14); // pink pal_col(1,0x14); // pink
@ -27,10 +27,6 @@ void main(void) {
// enable PPU rendering (turn on screen) // enable PPU rendering (turn on screen)
ppu_on_all(); ppu_on_all();
for (x=0; x<500; x++) {
ppu_wait_frame();
}
ppu_off();
// infinite loop // infinite loop
while (1) ; while (1) ;
} }