aboutsummaryrefslogtreecommitdiff
path: root/source/seta018.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/seta018.cpp')
-rw-r--r--source/seta018.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/seta018.cpp b/source/seta018.cpp
index f0b00e1..cafca06 100644
--- a/source/seta018.cpp
+++ b/source/seta018.cpp
@@ -96,7 +96,7 @@ static int line; // line counter
extern "C"{
uint8 S9xGetST018(uint32 Address)
{
- uint8 t;
+ uint8 t = 0; // Initialise to some value for the compiler
uint16 address = (uint16) Address & 0xFFFF;
line++;
@@ -234,8 +234,6 @@ void S9xSetST018(uint8 Byte, uint32 Address)
}
else
{
- static int a=0;
-
//ST018.in_count = 1;
ST018.out_count = 3;