Revision: 19074
http://vice-emu.svn.sourceforge.net/vice-emu/?rev=19074&view=rev
Author: blackystardust
Date: 2008-07-22 23:20:35 +0000 (Tue, 22 Jul 2008)
Log Message:
-----------
Added the ui_message() function to the msdos port.
Modified Paths:
--------------
branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/ui.c
Modified: branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/ui.c
===================================================================
--- branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/ui.c 2008-07-22 17:33:22 UTC (rev 19073)
+++ branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/ui.c 2008-07-22 23:20:35 UTC (rev 19074)
@@ -268,6 +268,22 @@
lib_free(tmp);
}
+void ui_message(const char *format,...)
+{
+ char *tmp;
+ va_list ap;
+
+ enable_text();
+ tui_clear_screen();
+
+ va_start(ap, format);
+ tmp = lib_mvsprintf(format, ap);
+ tui_message(tmp);
+
+ disable_text();
+ lib_free(tmp);
+}
+
ui_jam_action_t ui_jam_dialog(const char *format,...)
{
char *tmp;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|