summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/ks0164/ks0164d.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/ks0164/ks0164d.h')
-rw-r--r--src/devices/cpu/ks0164/ks0164d.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/cpu/ks0164/ks0164d.h b/src/devices/cpu/ks0164/ks0164d.h
index ebc3adc2655..4383fbd7388 100644
--- a/src/devices/cpu/ks0164/ks0164d.h
+++ b/src/devices/cpu/ks0164/ks0164d.h
@@ -3,8 +3,8 @@
// KS0164 disassembler
-#ifndef MAME_CPU_KS0164_KS0164DASM_H
-#define MAME_CPU_KS0164_KS0164DASM_H
+#ifndef MAME_CPU_KS0164_KS0164D_H
+#define MAME_CPU_KS0164_KS0164D_H
#pragma once
@@ -21,7 +21,7 @@ private:
struct instruction {
u16 value;
u16 mask;
- std::function<u32 (std::ostream &, u32, const data_buffer &, u32)> cb;
+ u32 (*cb)(std::ostream &, u32, const data_buffer &, u32);
};
static const instruction instructions[];
@@ -31,5 +31,4 @@ private:
static std::string off16(s16 dt);
};
-#endif
-
+#endif // MAME_CPU_KS0164_KS0164D_H