public static void SetMode(Screen.Resolutions Res) { CurrentRes = Res; if (CurrentRes == Screen.Resolutions.Resolution1_320) { SVGA.SetMode(320, 200); } else if (CurrentRes == Screen.Resolutions.Resolution2_640) { SVGA.SetMode(640, 400); } else if (CurrentRes == Screen.Resolutions.Resolution3_800) { SVGA.SetMode(800, 600); } else if (CurrentRes == Screen.Resolutions.Resolution4_1024) { SVGA.SetMode(1024, 768); } else if (CurrentRes == Screen.Resolutions.Resolution5_1280) { SVGA.SetMode(1280, 1024); } else if (CurrentRes == Screen.Resolutions.Resolution6_1600) { SVGA.SetMode(1600, 1200); } }
public static void SetMode(Screen.Resolutions Res) { CurrentRes = Res; if (CurrentRes == Screen.Resolutions.Resolution1_320) { VGA.SetMode(320, 200); } else if (CurrentRes == Screen.Resolutions.Resolution2_640) { VGA.SetMode(640, 400); } }