mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
select the mode according the configuration
This commit is contained in:
parent
b78ead9cf9
commit
267264c0f4
@ -521,13 +521,10 @@ vga_scroll()
|
||||
static void vga_clear();
|
||||
|
||||
int
|
||||
vga_init(emile_l2_header_t* info)
|
||||
vga_init(char *mode)
|
||||
{
|
||||
GDHandle hdl;
|
||||
volatile PixMapPtr pm;
|
||||
char* mode;
|
||||
|
||||
mode = read_config_vga(info);
|
||||
|
||||
InitGraf(&qd.thePort);
|
||||
|
||||
@ -571,8 +568,6 @@ vga_init(emile_l2_header_t* info)
|
||||
if (strcmp(mode, "none") != 0)
|
||||
vga.enabled = 1;
|
||||
|
||||
free(mode);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include "head.h"
|
||||
|
||||
extern int vga_init(emile_l2_header_t* info);
|
||||
extern int vga_init(char *mode);
|
||||
|
||||
extern void vga_put(char c);
|
||||
extern void vga_print(char *s);
|
||||
|
Loading…
Reference in New Issue
Block a user