- fixed the missing plasma effect in Exhumed's title screen.

This commit is contained in:
Christoph Oelckers 2020-08-21 00:13:05 +02:00
parent 6947b9cf98
commit 98c064dcbc
2 changed files with 3 additions and 2 deletions

View file

@ -239,6 +239,7 @@ public:
TexelWidth = x;
TexelHeight = y;
SetDisplaySize(float(x), float(y));
GetTexture()->SetSize(x, y);
}
void SetDisplaySize(float w, float h)
{

View file

@ -349,9 +349,9 @@ void menu_DoPlasma()
twod->ClearScreen();
uint8_t* plasmapix = const_cast<uint8_t*>(tilePtr(nPlasmaTile));
uint8_t* plasmapix = tileData(nPlasmaTile);
uint8_t* r_ebx = plasmapix + 81;
const uint8_t* r_edx = tilePtr(nPlasmaTile ^ 1) + 81; // flip between value of 4092 and 4093 with xor
const uint8_t* r_edx = tileData(nPlasmaTile ^ 1) + 81; // flip between value of 4092 and 4093 with xor
for (int x = 0; x < kPlasmaWidth - 2; x++)
// for (int x = 1; x < 318; x++)