- except for DWORD, all homegrown integer types are gone - a handful were left where they represent genuine Windows types.
This commit is contained in:
parent
c008ddaf66
commit
d2beacfc5f
136 changed files with 770 additions and 774 deletions
|
|
@ -87,7 +87,7 @@ public:
|
|||
|
||||
private:
|
||||
static const int WIDTH = 64, HEIGHT = 64;
|
||||
BYTE BurnArray[WIDTH * (HEIGHT + 5)];
|
||||
uint8_t BurnArray[WIDTH * (HEIGHT + 5)];
|
||||
IDirect3DTexture9 *BurnTexture;
|
||||
int Density;
|
||||
int BurnTime;
|
||||
|
|
@ -602,8 +602,8 @@ bool D3DFB::Wiper_Burn::Run(int ticks, D3DFB *fb)
|
|||
D3DLOCKED_RECT lrect;
|
||||
if (SUCCEEDED(BurnTexture->LockRect(0, &lrect, NULL, D3DLOCK_DISCARD)))
|
||||
{
|
||||
const BYTE *src = BurnArray;
|
||||
BYTE *dest = (BYTE *)lrect.pBits;
|
||||
const uint8_t *src = BurnArray;
|
||||
uint8_t *dest = (uint8_t *)lrect.pBits;
|
||||
for (int y = HEIGHT; y != 0; --y)
|
||||
{
|
||||
for (int x = WIDTH; x != 0; --x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue