diff options
author | twinaphex | 2017-08-14 08:06:11 +0200 |
---|---|---|
committer | twinaphex | 2017-08-14 08:06:11 +0200 |
commit | 78b32e05a8e3c221279ba40c8f19d762420be8a6 (patch) | |
tree | 522343d835ca7eec5ebae18c20ec35ac768250be /source/gfx.h | |
parent | 75dbfcb2348fb8f41feb5b9b1536d8525a47f9e3 (diff) | |
download | snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.gz snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.bz2 snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.zip |
C++ comments need to become C
Diffstat (limited to 'source/gfx.h')
-rw-r--r-- | source/gfx.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/gfx.h b/source/gfx.h index 5599527..582f7c2 100644 --- a/source/gfx.h +++ b/source/gfx.h @@ -36,17 +36,17 @@ typedef struct uint16_t* X2; uint16_t* ZERO_OR_X2; uint16_t* ZERO; - uint32_t RealPitch; // True pitch of Screen buffer. - uint32_t Pitch2; // Same as RealPitch except while using speed up hack for Glide. - uint32_t ZPitch; // Pitch of ZBuffer - uint32_t PPL; // Number of pixels on each of Screen buffer + uint32_t RealPitch; /* True pitch of Screen buffer. */ + uint32_t Pitch2; /* Same as RealPitch except while using speed up hack for Glide. */ + uint32_t ZPitch; /* Pitch of ZBuffer */ + uint32_t PPL; /* Number of pixels on each of Screen buffer */ uint32_t PPLx2; uint32_t PixSize; uint8_t* S; uint8_t* DB; ptrdiff_t DepthDelta; - uint8_t Z1; // Depth for comparison - uint8_t Z2; // Depth to save + uint8_t Z1; /* Depth for comparison */ + uint8_t Z2; /* Depth to save */ uint32_t FixedColour; uint32_t StartY; uint32_t EndY; @@ -75,7 +75,7 @@ typedef struct bool Pseudo; } SGFX; -// External port interface which must be implemented or initialised for each port. +/* External port interface which must be implemented or initialised for each port. */ extern SGFX GFX; typedef struct @@ -126,7 +126,7 @@ extern uint16_t DirectColourMaps [8][256]; extern uint8_t mul_brightness [16][32]; -// Could use BSWAP instruction on Intel port... +/* Could use BSWAP instruction on Intel port... */ #define SWAP_DWORD(dword) dword = ((((dword) & 0x000000ff) << 24) \ | (((dword) & 0x0000ff00) << 8) \ | (((dword) & 0x00ff0000) >> 8) \ |