summaryrefslogtreecommitdiffstatshomepage
path: root/trunk/src/emu/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/emu/image.h')
-rw-r--r--trunk/src/emu/image.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/trunk/src/emu/image.h b/trunk/src/emu/image.h
new file mode 100644
index 00000000000..f1c963ffd3c
--- /dev/null
+++ b/trunk/src/emu/image.h
@@ -0,0 +1,35 @@
+/***************************************************************************
+
+ image.h
+
+ Core image interface functions and definitions.
+
+ Copyright Nicola Salmoria and the MAME Team.
+ Visit http://mamedev.org for licensing and usage restrictions.
+
+***************************************************************************/
+
+#pragma once
+
+#ifndef __EMU_H__
+#error Dont include this file directly; include emu.h instead.
+#endif
+
+#ifndef __IMAGE_H__
+#define __IMAGE_H__
+
+void image_init(running_machine &machine);
+void image_postdevice_init(running_machine &machine);
+
+extern struct io_procs image_ioprocs;
+
+void image_battery_load_by_name(emu_options &options, const char *filename, void *buffer, int length, int fill);
+void image_battery_save_by_name(emu_options &options, const char *filename, const void *buffer, int length);
+
+astring *image_info_astring(running_machine &machine, astring *string);
+
+device_image_interface *image_from_absolute_index(running_machine &machine, int absolute_index);
+
+void image_add_device_with_subdevices(device_t *owner, device_type type, const char *tag, UINT32 clock);
+
+#endif /* __IMAGE_H__ */