aboutsummaryrefslogtreecommitdiff
path: root/source/gfx.h
diff options
context:
space:
mode:
authorJoão Silva2017-01-29 04:55:23 +0000
committerJoão Silva2017-01-29 04:55:23 +0000
commit0e59b999fa976de2d00490f552a1ff0a27d40f63 (patch)
treeadce7b06d1acc25f52c6e10616451bba02f9f7a5 /source/gfx.h
parent813fc89d37d1d8c8d2fa090a28f74aa0fdcea5df (diff)
downloadsnesemu-0e59b999fa976de2d00490f552a1ff0a27d40f63.tar.gz
snesemu-0e59b999fa976de2d00490f552a1ff0a27d40f63.tar.bz2
snesemu-0e59b999fa976de2d00490f552a1ff0a27d40f63.zip
Converted most types to stdint-style (fixing a few in the process).
Diffstat (limited to 'source/gfx.h')
-rw-r--r--source/gfx.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/source/gfx.h b/source/gfx.h
index c840d58..c5f50cb 100644
--- a/source/gfx.h
+++ b/source/gfx.h
@@ -14,8 +14,7 @@ void S9xUpdateScreen();
void RenderLine(uint8_t line);
void S9xBuildDirectColourMaps();
-// 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 struct SGFX GFX;
bool S9xInitGFX();
@@ -37,7 +36,7 @@ struct SGFX
uint32_t Pitch;
// Setup in call to S9xInitGFX()
- int Delta;
+ int32_t Delta;
uint16_t* X2;
uint16_t* ZERO_OR_X2;
uint16_t* ZERO;
@@ -118,12 +117,12 @@ typedef struct
struct SLineMatrixData
{
- short MatrixA;
- short MatrixB;
- short MatrixC;
- short MatrixD;
- short CentreX;
- short CentreY;
+ int16_t MatrixA;
+ int16_t MatrixB;
+ int16_t MatrixC;
+ int16_t MatrixD;
+ int16_t CentreX;
+ int16_t CentreY;
};
extern uint32_t odd_high [4][16];