aboutsummaryrefslogtreecommitdiff
path: root/source/spc7110.c
diff options
context:
space:
mode:
authorJoão Silva2017-08-14 06:03:05 +0100
committerJoão Silva2017-08-14 06:03:05 +0100
commit5e450063fbe25926ae50d569c285db428055318a (patch)
treed0dd772a589dbfa07bacd70207fc4db0f37d4109 /source/spc7110.c
parentfdaf2925f1353b07cd957ae47b0e6793648559be (diff)
downloadsnes9x2005-5e450063fbe25926ae50d569c285db428055318a.tar.gz
snes9x2005-5e450063fbe25926ae50d569c285db428055318a.tar.bz2
snes9x2005-5e450063fbe25926ae50d569c285db428055318a.zip
Deleted several unused variables, code and files.
Diffstat (limited to 'source/spc7110.c')
-rw-r--r--source/spc7110.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/source/spc7110.c b/source/spc7110.c
index f2dc0e7..7ed339d 100644
--- a/source/spc7110.c
+++ b/source/spc7110.c
@@ -7,9 +7,9 @@
const char* S9xGetFilename(const char*);
-SPC7110Regs s7r; // SPC7110 registers, about 33KB
-S7RTC rtc_f9; // FEOEZ (and Shounen Jump no SHou) RTC
-void S9xUpdateRTC(void); // S-RTC function hacked to work with the RTC
+SPC7110Regs s7r; // SPC7110 registers, about 33KB
+S7RTC rtc_f9; // FEOEZ (and Shounen Jump no SHou) RTC
+void S9xUpdateRTC(void); // S-RTC function hacked to work with the RTC
void S9xSpc7110Init(void) // Emulate power on state
{
@@ -82,7 +82,6 @@ uint8_t S9xGetSPC7110(uint16_t Address)
case 0x4800:
{
uint16_t count = s7r.reg4809 | (s7r.reg480A << 8);
-
if (count > 0)
count--;
else
@@ -909,11 +908,9 @@ void S9xUpdateRTC(void)
int32_t month;
int32_t year;
int32_t temp_days;
-
int32_t year_tens;
int32_t year_ones;
-
if (time_diff > DAYTICKS)
{
days = time_diff / DAYTICKS;