use virtual file i/o API which defaults to a stdio wrapper this is preferable over using stdio directly because it gives users of libchdr greater control over how the file is loaded. For example, users can create core_file implementations that load files over a network connection, or from RAM, from an archive, etc. * owns_file is now gone because teh user's fclose implementation will know how to clean things up itself. * chd_open_file now accepts a FILE* instead of a core_file* to preserve backwards compatibility. * new chd_open_core_file accepts a core_file* for users who want to be able to provide their own file i/o methods * core_ftell is gone in favor of core_fsize because the only time it was ever called in the past was by core_fsize and by redundant code that was doing the same thing as core_fsize. * resolve broken error-checking in chd_precache which would fail to detect errors returned by ftell when _MSC_VER is defined |
||
|---|---|---|
| .. | ||
| dr_libs | ||
| libchdr | ||