Revert "(VFS) Add codepath for MSVC CDROM code"

This reverts commit 7fb8965416.
This commit is contained in:
twinaphex 2019-07-15 06:48:25 +02:00
parent 1d5049294a
commit 651774daf1
2 changed files with 2 additions and 7 deletions

View File

@ -200,11 +200,6 @@ int64_t retro_vfs_file_seek_internal(libretro_vfs_implementation_file *stream, i
{
/* VC2005 and up have a special 64-bit fseek */
#ifdef ATLEAST_VC2005
#ifdef HAVE_CDROM
if (stream->scheme == VFS_SCHEME_CDROM)
return retro_vfs_file_seek_cdrom(stream, offset, whence);
else
#endif
return _fseeki64(stream->fp, offset, whence);
#elif defined(__CELLOS_LV2__) || defined(_MSC_VER) && _MSC_VER <= 1310
return fseek(stream->fp, (long)offset, whence);

View File

@ -2178,9 +2178,9 @@ bool core_option_manager_get_visible(core_option_manager_t *opt,
size_t idx)
{
if (!opt)
return false;
return NULL;
if (idx >= opt->size)
return false;
return NULL;
return opt->opts[idx].visible;
}