palette recalc check for some vector games
This commit is contained in:
parent
47c8a8f3d4
commit
459227cf84
|
@ -818,8 +818,11 @@ static void DrvPaletteInit()
|
|||
|
||||
static INT32 DrvDraw()
|
||||
{
|
||||
DrvPaletteInit();
|
||||
// extern int counter;
|
||||
if (DrvRecalc) {
|
||||
DrvPaletteInit();
|
||||
DrvRecalc = 0;
|
||||
}
|
||||
|
||||
vector_set_clip(0x20, nScreenWidth-0x20, 0, nScreenHeight);
|
||||
|
||||
draw_vector(DrvPalette);
|
||||
|
|
|
@ -644,7 +644,7 @@ static INT32 DrvDraw()
|
|||
{
|
||||
if (DrvRecalc) {
|
||||
DrvPaletteUpdate();
|
||||
DrvRecalc = 1; // force update
|
||||
DrvRecalc = 1; // force update (palram)
|
||||
}
|
||||
|
||||
BurnTransferClear();
|
||||
|
|
|
@ -982,7 +982,10 @@ static void DrvPaletteInit()
|
|||
|
||||
static INT32 DrvDraw()
|
||||
{
|
||||
DrvPaletteInit();
|
||||
if (DrvRecalc) {
|
||||
DrvPaletteInit();
|
||||
DrvRecalc = 0;
|
||||
}
|
||||
|
||||
draw_vector(DrvPalette);
|
||||
|
||||
|
|
|
@ -443,7 +443,10 @@ static void DrvPaletteInit()
|
|||
|
||||
static INT32 DrvDraw()
|
||||
{
|
||||
DrvPaletteInit();
|
||||
if (DrvRecalc) {
|
||||
DrvPaletteInit();
|
||||
DrvRecalc = 0;
|
||||
}
|
||||
|
||||
draw_vector(DrvPalette);
|
||||
|
||||
|
|
Loading…
Reference in New Issue