From de72f97b90b885e7fa5b0aa237098c945e02f1b5 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 13 Apr 2020 19:14:36 +1000 Subject: (nw) formats: reduce dependencies on libemu The only link dependency left is emu_fatalerror. The format handlers really shouldn't be throwing fatal errors at all - they should just fail to load an image they can't handle. Maybe the interface should be enhanced to allow better propagation of errors up from the format handlers so they can be displayed in a UI rather than just logged. The only other two dependencies are on logmacro.h (pure macros) and the PAIR type from emucore.h (possibly worth moving to util). --- src/lib/formats/vdk_dsk.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib/formats/vdk_dsk.cpp') diff --git a/src/lib/formats/vdk_dsk.cpp b/src/lib/formats/vdk_dsk.cpp index 70f417fd2db..fa07d22a958 100644 --- a/src/lib/formats/vdk_dsk.cpp +++ b/src/lib/formats/vdk_dsk.cpp @@ -10,7 +10,6 @@ ***************************************************************************/ -#include "emu.h" #include "vdk_dsk.h" vdk_format::vdk_format() -- cgit v1.2.3-70-g09d2