Browse Source

Set video mode to 60 Hz NTSC

master
Nico de Poel 4 years ago
parent
commit
ac329e1511
  1. 2
      main.c

2
main.c

@ -151,6 +151,8 @@ void init(void)
// This not only resets the GPU but it also installs the library's // This not only resets the GPU but it also installs the library's
// ISR subsystem to the kernel // ISR subsystem to the kernel
ResetGraph(0); ResetGraph(0);
SetVideoMode(MODE_NTSC);
// Define display environments, first on top and second on bottom // Define display environments, first on top and second on bottom
SetDefDispEnv(&disp[0], 0, 0, SCREENWIDTH, SCREENHEIGHT); SetDefDispEnv(&disp[0], 0, 0, SCREENWIDTH, SCREENHEIGHT);

Loading…
Cancel
Save