aboutsummaryrefslogtreecommitdiff
path: root/source/seta011.c
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/seta011.c
parent813fc89d37d1d8c8d2fa090a28f74aa0fdcea5df (diff)
downloadsnes9x2005-0e59b999fa976de2d00490f552a1ff0a27d40f63.tar.gz
snes9x2005-0e59b999fa976de2d00490f552a1ff0a27d40f63.tar.bz2
snes9x2005-0e59b999fa976de2d00490f552a1ff0a27d40f63.zip
Converted most types to stdint-style (fixing a few in the process).
Diffstat (limited to 'source/seta011.c')
-rw-r--r--source/seta011.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/seta011.c b/source/seta011.c
index c2f2f3d..26a0f54 100644
--- a/source/seta011.c
+++ b/source/seta011.c
@@ -10,7 +10,7 @@ ST011_Regs ST011;
uint8_t board[9][9];
// debug
-static int line = 0;
+static int32_t line = 0;
uint8_t S9xGetST011(uint32_t Address)
{
@@ -104,7 +104,7 @@ void S9xSetST011(uint32_t Address, uint8_t Byte)
{
// 9x9 board data: top to bottom, left to right
// Values represent piece types and ownership
- int lcv;
+ int32_t lcv;
for (lcv = 0; lcv < 9; lcv++)
memcpy(board[lcv], ST011.parameters + lcv * 10, 9 * 1);
}