summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/ppg_dsk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/ppg_dsk.cpp')
-rw-r--r--src/lib/formats/ppg_dsk.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/formats/ppg_dsk.cpp b/src/lib/formats/ppg_dsk.cpp
index dd08a841e00..aa0c9fcb487 100644
--- a/src/lib/formats/ppg_dsk.cpp
+++ b/src/lib/formats/ppg_dsk.cpp
@@ -2,31 +2,29 @@
// copyright-holders:Sergey Svishchev
/*********************************************************************
- formats/ppg_dsk.c
+ formats/ppg_dsk.cpp
PPG Waveterm formats
*********************************************************************/
-#include <assert.h>
-
#include "formats/ppg_dsk.h"
ppg_format::ppg_format() : wd177x_format(formats)
{
}
-const char *ppg_format::name() const
+const char *ppg_format::name() const noexcept
{
return "ppg";
}
-const char *ppg_format::description() const
+const char *ppg_format::description() const noexcept
{
return "PPG Waveterm disk image";
}
-const char *ppg_format::extensions() const
+const char *ppg_format::extensions() const noexcept
{
return "wta";
}
@@ -64,4 +62,4 @@ void ppg_format::build_sector_description(const format &f, uint8_t *sectdata, de
}
}
-const floppy_format_type FLOPPY_PPG_FORMAT = &floppy_image_format_creator<ppg_format>;
+const ppg_format FLOPPY_PPG_FORMAT;