summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/shared/z80bin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/shared/z80bin.h')
-rw-r--r--src/mame/shared/z80bin.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mame/shared/z80bin.h b/src/mame/shared/z80bin.h
new file mode 100644
index 00000000000..da437498f07
--- /dev/null
+++ b/src/mame/shared/z80bin.h
@@ -0,0 +1,26 @@
+// license:BSD-3-Clause
+// copyright-holders:Robbbert
+/*********************************************************************
+
+ machine/z80bin.h
+
+ Quickload code for Z80 bin format
+
+*********************************************************************/
+
+#ifndef MAME_SHARED_Z80BIN_H
+#define MAME_SHARED_Z80BIN_H
+
+#pragma once
+
+#include <cstdint>
+#include <string>
+#include <system_error>
+#include <utility>
+
+
+class snapshot_image_device;
+
+std::pair<std::error_condition, std::string> z80bin_load_file(snapshot_image_device &image, address_space &space, uint16_t &exec_addr, uint16_t &start_addr, uint16_t &end_addr);
+
+#endif // MAME_SHARED_Z80BIN_H