mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Revert "(VFS) Add codepath for MSVC CDROM code"
This reverts commit 7fb8965416
.
This commit is contained in:
parent
1d5049294a
commit
651774daf1
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user