summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/apd_dsk.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-09-11 16:07:33 -0400
committer AJR <ajrhacker@users.noreply.github.com>2021-09-11 16:09:27 -0400
commit0da505b43eb7e6d9d391efc70f68a752bcdcd643 (patch)
tree38c06fbfded30bc6854a63b3f661d4162acc4d0d /src/lib/formats/apd_dsk.cpp
parentfae732dc5d3b5ea2f03de3ad7b1f0740c43d7c4e (diff)
Formats-related refactoring
- Remove opresolv.h from emu.h and some other base headers - Split legacy floppy image class into a separate file - Clean up a lot of #includes in src/lib and src/tools/imgtool
Diffstat (limited to 'src/lib/formats/apd_dsk.cpp')
-rw-r--r--src/lib/formats/apd_dsk.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/formats/apd_dsk.cpp b/src/lib/formats/apd_dsk.cpp
index f882d90fe23..312de073304 100644
--- a/src/lib/formats/apd_dsk.cpp
+++ b/src/lib/formats/apd_dsk.cpp
@@ -64,8 +64,12 @@
#include "ioprocs.h"
+#include "osdcore.h" // osd_printf_*, little_endianize_int32
+
#include <zlib.h>
+#include <cstring>
+
static const uint8_t APD_HEADER[8] = { 'A', 'P', 'D', 'X', '0', '0', '0', '1' };
static const uint8_t GZ_HEADER[2] = { 0x1f, 0x8b };