aboutsummaryrefslogtreecommitdiff
path: root/source/spc7110.c
diff options
context:
space:
mode:
authoraliaspider2014-10-30 05:50:41 +0100
committeraliaspider2014-10-30 05:50:41 +0100
commit9d26cad1e39af6e4c96a4efb5ae00332207163ca (patch)
treefdcb68b7a608f80a7747a805988a8ab1b9ba9690 /source/spc7110.c
parent452f0d2ac13dd8d69b2dedcc08fd3f8184d749c8 (diff)
downloadsnesemu-9d26cad1e39af6e4c96a4efb5ae00332207163ca.tar.gz
snesemu-9d26cad1e39af6e4c96a4efb5ae00332207163ca.tar.bz2
snesemu-9d26cad1e39af6e4c96a4efb5ae00332207163ca.zip
remove warnings
Diffstat (limited to 'source/spc7110.c')
-rw-r--r--source/spc7110.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/spc7110.c b/source/spc7110.c
index fdd625c..007231f 100644
--- a/source/spc7110.c
+++ b/source/spc7110.c
@@ -1535,7 +1535,6 @@ void S9xUpdateRTC()
int year;
int temp_days;
- int year_hundreds;
int year_tens;
int year_ones;
@@ -1613,7 +1612,6 @@ void S9xUpdateRTC()
year_tens = year % 100;
year_ones = year_tens % 10;
year_tens /= 10;
- year_hundreds = (year - 1000) / 100;
rtc_f9.reg[0] = seconds % 10;
rtc_f9.reg[1] = seconds / 10;