--- np2/vram/palettes.c 2003/10/16 17:58:15 1.1.1.1 +++ np2/vram/palettes.c 2003/10/21 14:57:41 1.3 @@ -8,7 +8,7 @@ RGB32 np2_pal32[256]; #if defined(SUPPORT_16BPP) - UINT16 np2_pal16[256]; + RGB16 np2_pal16[256]; #endif PALEVENT palevent; static RGB32 degpal1[8]; @@ -218,7 +218,7 @@ static void pal_makedegital_lcd(const BY UINT i; UINT32 pal32; #if defined(SUPPORT_16BPP) - UINT16 pal16; + RGB16 pal16; #endif for (i=0; i<4; i++) { @@ -267,7 +267,7 @@ static void pal_maketext(void) { UINT j; UINT k; #if defined(SUPPORT_16BPP) - UINT16 pal16; + RGB16 pal16; #endif k = NP2PAL_TEXT2; @@ -301,7 +301,7 @@ static void pal_maketext_lcd(void) { UINT j; UINT k; #if defined(SUPPORT_16BPP) - UINT16 pal16; + RGB16 pal16; #endif k = NP2PAL_TEXT2; @@ -408,6 +408,7 @@ void pal_eventclear(void) { } else { CopyMemory(palevent.pal, gdc.anapal, sizeof(gdc.anapal)); + palevent.vsyncpal = 0; } }