aboutsummaryrefslogtreecommitdiff
path: root/source/spc7110.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/spc7110.c')
-rw-r--r--source/spc7110.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/spc7110.c b/source/spc7110.c
index a53198c..4285cb3 100644
--- a/source/spc7110.c
+++ b/source/spc7110.c
@@ -2240,7 +2240,7 @@ bool8 S9xSaveSPC7110RTC(S7RTC* rtc_f9)
{
FILE* fp;
- if ((fp = fopen(S9xGetFilename(".rtc"), "wb")) == NULL)
+ if ((fp = fopen(S9xGetFilename("rtc"), "wb")) == NULL)
return (FALSE);
int i = 0;
uint8 temp = 0;
@@ -2270,7 +2270,7 @@ bool8 S9xLoadSPC7110RTC(S7RTC* rtc_f9)
{
FILE* fp;
- if ((fp = fopen(S9xGetFilename(".rtc"), "rb")) == NULL)
+ if ((fp = fopen(S9xGetFilename("rtc"), "rb")) == NULL)
return (FALSE);
int i;
for (i = 0; i < 16; i++)