From 73b44c94291c4d086477167a76fd7db239936c3b Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 6 Mar 2016 18:02:37 +1100 Subject: Turn core_file into a proper class that gets cleaned up safely using unique_ptr Subverted somewhat by chd_file class --- src/emu/clifront.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/clifront.cpp') diff --git a/src/emu/clifront.cpp b/src/emu/clifront.cpp index 4476e4e0151..7c6c974cce7 100644 --- a/src/emu/clifront.cpp +++ b/src/emu/clifront.cpp @@ -1880,7 +1880,7 @@ void media_identifier::identify_file(const char *name) // load the file and process if it opens and has a valid length UINT32 length; void *data; - file_error filerr = core_fload(name, &data, &length); + const file_error filerr = util::core_file::load(name, &data, length); if (filerr == FILERR_NONE && length > 0) { identify_data(name, reinterpret_cast(data), length); -- cgit v1.2.3-70-g09d2