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:
parent
a9a8a574c3
commit
8b3bee9e7b
@ -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
|
||||
|
@ -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) ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user