Add TODO/FIXME note

This commit is contained in:
twinaphex 2017-12-14 14:05:55 +01:00
parent 0b6c191354
commit dadf968134
2 changed files with 5 additions and 3 deletions

View File

@ -259,9 +259,10 @@ int filestream_delete(const char *path)
const char *filestream_get_path(RFILE *stream)
{
/* TODO/FIXME - implement - is a char pointer sufficient here
* or should we cater to wchar_t and friends too? */
return NULL;
if (filestream_get_path_cb != NULL)
return filestream_get_path_cb(stream->hfile);
return retro_vfs_file_get_path_impl((libretro_vfs_implementation_file*)stream->hfile);
}
ssize_t filestream_write(RFILE *stream, const void *s, size_t len)

View File

@ -463,6 +463,7 @@ int retro_vfs_file_delete_impl(const char *path)
const char *retro_vfs_file_get_path_impl(libretro_vfs_implementation_file *stream)
{
/* TODO/FIXME - implement */
return NULL;
}