summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/corefile.h')
-rw-r--r--src/lib/util/corefile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/util/corefile.h b/src/lib/util/corefile.h
index c2dda7ec43e..cf9571cb9be 100644
--- a/src/lib/util/corefile.h
+++ b/src/lib/util/corefile.h
@@ -49,6 +49,9 @@ file_error core_fopen(const char *filename, UINT32 openflags, core_file **file);
/* open a RAM-based "file" using the given data and length (read-only) */
file_error core_fopen_ram(const void *data, size_t length, UINT32 openflags, core_file **file);
+/* open a RAM-based "file" using the given data and length (read-only), copying the data */
+file_error core_fopen_ram_copy(const void *data, size_t length, UINT32 openflags, core_file **file);
+
/* close an open file */
void core_fclose(core_file *file);