summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emupal.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/emu/emupal.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/emu/emupal.h')
-rw-r--r--src/emu/emupal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/emupal.h b/src/emu/emupal.h
index cb4884a72fb..60bab6efc6c 100644
--- a/src/emu/emupal.h
+++ b/src/emu/emupal.h
@@ -267,7 +267,7 @@ public:
palette_device(const machine_config &mconfig, const char *tag, device_t *owner, bgr_555_t);
palette_device(const machine_config &mconfig, const char *tag, device_t *owner, rgb_565_t);
palette_device(const machine_config &mconfig, const char *tag, device_t *owner, bgr_565_t);
- palette_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0);
+ palette_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
template <typename T>
palette_device(const machine_config &mconfig, const char *tag, device_t *owner, rgb_444_prom_t, T &&region, u32 entries)
@@ -278,11 +278,11 @@ public:
template <typename F>
palette_device(const machine_config &mconfig, const char *tag, device_t *owner, F &&init, std::enable_if_t<init_delegate::supports_callback<F>::value, const char *> name, u32 entries = 0U, u32 indirect = 0U)
- : palette_device(mconfig, tag, owner, 0U)
+ : palette_device(mconfig, tag, owner)
{ set_init(std::forward<F>(init), name).set_entries(entries, indirect); }
template <typename T, typename F>
palette_device(const machine_config &mconfig, const char *tag, device_t *owner, T &&devname, F &&init, std::enable_if_t<init_delegate::supports_callback<F>::value, const char *> name, u32 entries = 0U, u32 indirect = 0U)
- : palette_device(mconfig, tag, owner, 0U)
+ : palette_device(mconfig, tag, owner)
{ set_init(std::forward<T>(devname), std::forward<F>(init), name).set_entries(entries, indirect); }
// configuration