summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/funworld.h
diff options
context:
space:
mode:
author Roberto Fresca <robbie@robertofresca.com>2019-04-05 21:16:48 +0200
committer Roberto Fresca <robbie@robertofresca.com>2019-04-05 21:16:48 +0200
commit216826a0dfe61c8031f45601ea2b6c15518f5106 (patch)
treedbdb32d6d788b443a82bd4768fcafb6a1068a42a /src/mame/includes/funworld.h
parenta790d185875db2894fcc4acf3052df76bfe24712 (diff)
Royal Card (Slovak, encrypted) improvements. [Roberto Fresca, Grull Osgo]
- Moved the royalcrdf class to the header. - Created new memory map. - Fixed the VRAM offsets.
Diffstat (limited to 'src/mame/includes/funworld.h')
-rw-r--r--src/mame/includes/funworld.h23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/mame/includes/funworld.h b/src/mame/includes/funworld.h
index 50002677e53..97f5ba7ef9a 100644
--- a/src/mame/includes/funworld.h
+++ b/src/mame/includes/funworld.h
@@ -139,12 +139,6 @@ class multiwin_state : public funworld_state
public:
using funworld_state::funworld_state;
-/*
- multiwin_state(const machine_config &mconfig, device_type type, const char* tag)
- : funworld_state(mconfig, type, tag)
- {
- }
-*/
void multiwin(machine_config& config);
@@ -160,5 +154,22 @@ private:
void multiwin_opcodes_map(address_map& map);
};
+class royalcrdf_state : public funworld_state
+{
+public:
+
+ using funworld_state::funworld_state;
+
+ void royalcrdf(machine_config& config);
+
+ void driver_init() override;
+
+private:
+ cpu_device* _maincpu {};
+ DECLARE_READ8_MEMBER(royalcrdf_opcode_r);
+
+ void royalcrdf_map(address_map& map);
+ void royalcrdf_opcodes_map(address_map& map);
+};
#endif // MAME_INCLUDES_FUNWORLD_H \ No newline at end of file