aboutsummaryrefslogtreecommitdiffstats
path: root/com32/menu/menu.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-12-07 16:18:09 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-12-07 16:18:09 -0800
commite74de874126e4864dcbe88e4526180a6432d8811 (patch)
tree85a02441a47fc3f23851d01950d22bf527ef7ed5 /com32/menu/menu.c
parent469735a321138e519106e3d1dd16acd3be0cc024 (diff)
downloadsyslinux.git-e74de874126e4864dcbe88e4526180a6432d8811.tar.gz
syslinux.git-e74de874126e4864dcbe88e4526180a6432d8811.tar.xz
syslinux.git-e74de874126e4864dcbe88e4526180a6432d8811.zip
vesamenu: add MENU RESOLUTION to be able to set nonstandard res
Add a MENU RESOLUTION command to make it possible to set a nonstandard resolution. If the nonstandard resolution is unavailable, we revert to the text mode screen. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/menu/menu.c')
-rw-r--r--com32/menu/menu.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/com32/menu/menu.c b/com32/menu/menu.c
index 2c069fbe..797189b4 100644
--- a/com32/menu/menu.c
+++ b/com32/menu/menu.c
@@ -27,8 +27,13 @@ int draw_background(const char *arg)
return 0;
}
-int main(int argc, char *argv[])
+void set_resolution(int x, int y)
+{
+ (void)x;
+ (void)y;
+}
+
+void start_console(void)
{
console_ansi_raw();
- return menu_main(argc, argv);
}