diff options
Diffstat (limited to 'src/mame/machine/k573fpga.h')
-rw-r--r-- | src/mame/machine/k573fpga.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/machine/k573fpga.h b/src/mame/machine/k573fpga.h index 807c32b8d5d..bf6b6ba7671 100644 --- a/src/mame/machine/k573fpga.h +++ b/src/mame/machine/k573fpga.h @@ -23,9 +23,6 @@ public: void set_crypto_key1(u16 v) { crypto_key1 = v; } void set_crypto_key2(u16 v) { crypto_key2 = v; } void set_crypto_key3(u8 v) { crypto_key3 = v; } - u16 get_crypto_key1() const { return crypto_key1; } - u16 get_crypto_key2() const { return crypto_key2; } - u8 get_crypto_key3() const { return crypto_key3; } uint32_t get_mp3_cur_adr() { return mp3_cur_adr; } void set_mp3_cur_adr(u32 v) { mp3_cur_adr = v; } @@ -39,6 +36,8 @@ public: u16 get_mpeg_ctrl(); void set_mpeg_ctrl(u16 data); + bool is_playing() { return (mpeg_ctrl_flag & 0xe000) == 0xe000 && mp3_cur_adr < mp3_end_adr; } + protected: virtual void device_start() override; virtual void device_reset() override; |