Listing 4. Set the graphics mode.

  set_gfx_mode(GFX_AUTODETECT_WINDOWED, 320,240,0,0);