mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-09 02:48:54 +00:00
Cleanups
This commit is contained in:
parent
7dcd46a20f
commit
b0b39ff899
@ -42,7 +42,7 @@ static unsigned vga_video_pitch = 0;
|
||||
static unsigned vga_video_bits = 0;
|
||||
static bool vga_rgb32 = false;
|
||||
|
||||
static void vga_set_mode_13h()
|
||||
static void vga_set_mode_13h(void)
|
||||
{
|
||||
__dpmi_regs r;
|
||||
|
||||
@ -50,7 +50,7 @@ static void vga_set_mode_13h()
|
||||
__dpmi_int(0x10, &r);
|
||||
}
|
||||
|
||||
static void vga_return_to_text_mode()
|
||||
static void vga_return_to_text_mode(void)
|
||||
{
|
||||
__dpmi_regs r;
|
||||
|
||||
@ -58,7 +58,7 @@ static void vga_return_to_text_mode()
|
||||
__dpmi_int(0x10, &r);
|
||||
}
|
||||
|
||||
static void vga_upload_palette()
|
||||
static void vga_upload_palette(void)
|
||||
{
|
||||
unsigned i;
|
||||
unsigned char r = 0;
|
||||
@ -90,19 +90,17 @@ static void vga_upload_palette()
|
||||
}
|
||||
}
|
||||
|
||||
static void vga_vsync()
|
||||
static void vga_vsync(void)
|
||||
{
|
||||
/* wait until any previous retrace has ended */
|
||||
do
|
||||
{
|
||||
}
|
||||
while (inportb(0x3da) & 8);
|
||||
}while (inportb(0x3da) & 8);
|
||||
|
||||
/* wait until a new retrace has just begun */
|
||||
do
|
||||
{
|
||||
}
|
||||
while (!(inportb(0x3da) & 8));
|
||||
}while (!(inportb(0x3da) & 8));
|
||||
}
|
||||
|
||||
static void vga_gfx_create(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user