void EmuThreadClass::do_cmt_push_play(int drv)
{
-#if defined(USE_TAPE_BUTTON)
p_emu->push_play(drv);
-#endif
}
void EmuThreadClass::do_cmt_push_stop(int drv)
{
-#if defined(USE_TAPE_BUTTON)
p_emu->push_stop(drv);
-#endif
}
void EmuThreadClass::do_cmt_push_fast_forward(int drv)
{
-#if defined(USE_TAPE_BUTTON)
p_emu->push_fast_forward(drv);
-#endif
}
void EmuThreadClass::do_cmt_push_fast_rewind(int drv)
{
-#if defined(USE_TAPE_BUTTON)
p_emu->push_fast_rewind(drv);
-#endif
}
void EmuThreadClass::do_cmt_push_apss_forward(int drv)
{
-#if defined(USE_TAPE_BUTTON)
p_emu->push_apss_forward(drv);
-#endif
}
void EmuThreadClass::do_cmt_push_apss_rewind(int drv)
{
-#if defined(USE_TAPE_BUTTON)
p_emu->push_apss_rewind(drv);
-#endif
}
#if defined(USE_TAPE_BAUD)
use_tape_baud = true;
#endif
- #if defined(USE_TAPE_BUTTON)
- use_tape_button = true;
- #endif
+ use_tape_button = true;
#if defined(USE_TAPE_PTR)
use_tape_ptr = true;
#endif
connect(this, SIGNAL(sig_rec_tape(int, QString)), hRunEmu, SLOT(do_rec_tape(int, QString)));
connect(this, SIGNAL(sig_close_tape(int)), hRunEmu, SLOT(do_close_tape(int)));
//connect(hRunEmu, SIGNAL(sig_change_osd_cmt(QString)), this, SLOT(do_change_osd_cmt(QString)));
-# if defined(USE_TAPE_BUTTON)
connect(this, SIGNAL(sig_cmt_push_play(int)), hRunEmu, SLOT(do_cmt_push_play(int)));
connect(this, SIGNAL(sig_cmt_push_stop(int)), hRunEmu, SLOT(do_cmt_push_stop(int)));
connect(this, SIGNAL(sig_cmt_push_fast_forward(int)), hRunEmu, SLOT(do_cmt_push_fast_forward(int)));
connect(this, SIGNAL(sig_cmt_push_fast_rewind(int)), hRunEmu, SLOT(do_cmt_push_fast_rewind(int)));
connect(this, SIGNAL(sig_cmt_push_apss_forward(int)), hRunEmu, SLOT(do_cmt_push_apss_forward(int)));
connect(this, SIGNAL(sig_cmt_push_apss_rewind(int)), hRunEmu, SLOT(do_cmt_push_apss_rewind(int)));
-# endif
#endif
#if defined(USE_QUICK_DISK)
connect(this, SIGNAL(sig_write_protect_quickdisk(int, bool)), hRunEmu, SLOT(do_write_protect_quickdisk(int, bool)));
message("* qt/gui")
-set(THIS_LIB_VERSION 2.19.1)
+set(THIS_LIB_VERSION 2.19.2)
#include(cotire)
#include(PrecompiledHeader)
action_direct_load_mzt->setChecked(true);
}
}
- if(using_flags->is_use_tape_button()) {
+ /*if(using_flags->is_use_tape_button())*/ {
action_play_start = new Action_Control(p_wid, using_flags);
action_play_start->setVisible(true);
action_play_start->setCheckable(true);
this->addSeparator();
this->addAction(action_recording);
this->addSeparator();
- if(using_flags->is_use_tape_button()) {
+ /*if(using_flags->is_use_tape_button())*/ {
this->addAction(action_play_start);
this->addAction(action_play_stop);
this->addSeparator();
connect(this, SIGNAL(sig_write_protect_media(int, bool)), p_wid, SLOT(do_write_protect_cmt(int, bool)));
connect(this, SIGNAL(sig_set_recent_media(int, int)), p_wid, SLOT(set_recent_cmt(int, int)));
- if(using_flags->is_use_tape_button()) {
+ /*if(using_flags->is_use_tape_button())*/ {
connect(action_play_start, SIGNAL(triggered()), this, SLOT(do_push_play_tape(void)));
connect(action_play_stop, SIGNAL(triggered()), this, SLOT(do_push_stop_tape(void)));
connect(action_fast_forward, SIGNAL(triggered()), this, SLOT(do_push_fast_forward_tape(void)));
this->setTitle(QApplication::translate("MenuMedia", "Cassette Tape" , 0));
action_insert->setIcon(icon_cmt);
- if(using_flags->is_use_tape_button()) {
+ /*if(using_flags->is_use_tape_button())*/ {
action_play_start->setIcon(icon_play_start);
action_play_stop->setIcon(icon_play_stop);
action_fast_forward->setIcon(icon_ff);