mirror of
https://github.com/libretro/xmil-libretro.git
synced 2024-11-26 18:00:39 +00:00
Remove the need for file_delete
This commit is contained in:
parent
796a12c65f
commit
6a9cbec289
@ -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)
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
||||
/* カレントファイル操作 */
|
||||
|
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user