diff options
author | Twinaphex | 2017-01-29 06:00:06 +0100 |
---|---|---|
committer | GitHub | 2017-01-29 06:00:06 +0100 |
commit | b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b (patch) | |
tree | adce7b06d1acc25f52c6e10616451bba02f9f7a5 /source/gfx.h | |
parent | 813fc89d37d1d8c8d2fa090a28f74aa0fdcea5df (diff) | |
parent | 0e59b999fa976de2d00490f552a1ff0a27d40f63 (diff) | |
download | snesemu-b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b.tar.gz snesemu-b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b.tar.bz2 snesemu-b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b.zip |
Merge pull request #30 from jamsilva/master
Converted most types to stdint-style (fixing a few in the process).
Diffstat (limited to 'source/gfx.h')
-rw-r--r-- | source/gfx.h | 17 |
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]; |