Commit 63d3040f authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Fixed a couple of ugly warnings (caused by ugly errors).

parent 8fc73123
...@@ -684,12 +684,12 @@ else { ...@@ -684,12 +684,12 @@ else {
case 0x4f: /* Get SuperVGA INFORMATION */ case 0x4f: /* Get SuperVGA INFORMATION */
{ {
BYTE *p = BYTE *p =
CTX_SEG_OFF_TO_LIN(context, ES_reg(context), DI_reg(context)); CTX_SEG_OFF_TO_LIN(context, ES_reg(context), EDI_reg(context));
BOOL16 vesa20 = (*(DWORD *)p == "VBE2"); /* BOOL16 vesa20 = (*(DWORD *)p == *(DWORD *)"VBE2"); */
TRACE(int10, "Get SuperVGA information\n"); TRACE(int10, "Get SuperVGA information\n");
AH_reg(context) = 0; AH_reg(context) = 0;
*(WORD *)p = "VESA"; *(DWORD *)p = *(DWORD *)"VESA";
*(WORD *)(p+0x04) = 0x0200; /* VESA 2.0 */ *(WORD *)(p+0x04) = 0x0200; /* VESA 2.0 */
*(DWORD *)(p+0x06) = NULL; /* pointer to OEM name */ *(DWORD *)(p+0x06) = NULL; /* pointer to OEM name */
*(DWORD *)(p+0x0a) = 0xfffffffd; /* capabilities flags :-) */ *(DWORD *)(p+0x0a) = 0xfffffffd; /* capabilities flags :-) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment