Remove the need for file_delete

This commit is contained in:
Vladimir Serbinenko 2020-03-02 16:37:10 +01:00
parent 796a12c65f
commit 6a9cbec289
3 changed files with 16 additions and 2 deletions

View File

@ -23,7 +23,20 @@ SOURCES_C := \
$(wildcard $(XMIL_PATH)/io/*.c) \
$(wildcard $(XMIL_PATH)/libretro/*.c) \
$(wildcard $(XMIL_PATH)/sound/*.c) \
$(wildcard $(XMIL_PATH)/vram/*.c) \
$(XMIL_PATH)/vram/make15.c \
$(XMIL_PATH)/vram/make24.c \
$(XMIL_PATH)/vram/makeatr.c \
$(XMIL_PATH)/vram/makechr.c \
$(XMIL_PATH)/vram/makemix.c \
$(XMIL_PATH)/vram/makescrn.c \
$(XMIL_PATH)/vram/makesub.c \
$(XMIL_PATH)/vram/maketxth.c \
$(XMIL_PATH)/vram/maketxtl.c \
$(XMIL_PATH)/vram/palettes.c \
$(XMIL_PATH)/vram/scrndraw.c \
$(XMIL_PATH)/vram/sdraw.c \
$(XMIL_PATH)/vram/sdrawq16.c \
$(XMIL_PATH)/vram/vram.c \
$(wildcard $(XMIL_PATH)/z80c/*.c)

View File

@ -74,7 +74,6 @@ UINT file_write(FILEH handle, const void *data, UINT length);
short file_close(FILEH handle);
UINT file_getsize(FILEH handle);
short file_getdatetime(FILEH handle, DOSDATE *dosdate, DOSTIME *dostime);
short file_delete(const char *path);
short file_attr(const char *path);
/* カレントファイル操作 */

View File

@ -573,6 +573,7 @@ const SFENTRY *tblterm;
return(ret);
}
#ifndef __LIBRETRO__
int statsave_save(const OEMCHAR *filename) {
FILEH fh;
@ -587,6 +588,7 @@ int statsave_save(const OEMCHAR *filename) {
file_delete(filename);
return ret;
}
#endif
int statsave_check_fh(FILEH fh, OEMCHAR *buf, UINT size) {