• R/O
  • HTTP
  • SSH
  • HTTPS

common_source_project-fm7: Commit

Common Source Code Project for Qt (a.k.a for FM-7).


Commit MetaInfo

Revision9ffba9a02431b6ff02e60d68e7262696aa0634cd (tree)
Zeit2023-02-08 02:56:48
AutorK.Ohta <whatisthis.sowhat@gmai...>
CommiterK.Ohta

Log Message

[Qt][EMU_THREAD] Remove unused variables.

Ändern Zusammenfassung

Diff

--- a/source/src/qt/common/emu_thread.cpp
+++ b/source/src/qt/common/emu_thread.cpp
@@ -42,7 +42,7 @@ EmuThreadClass::EmuThreadClass(Ui_MainWindowBase *rootWindow, std::shared_ptr<US
4242 p->set_emu(emu);
4343 p->set_osd((OSD*)p_osd);
4444 poweroff_notified = false;
45-
45+
4646 connect(this, SIGNAL(sig_open_binary_load(int, QString)), MainWindow, SLOT(_open_binary_load(int, QString)));
4747 connect(this, SIGNAL(sig_open_binary_save(int, QString)), MainWindow, SLOT(_open_binary_save(int, QString)));
4848 connect(this, SIGNAL(sig_open_cart(int, QString)), MainWindow, SLOT(_open_cart(int, QString)));
@@ -53,10 +53,10 @@ EmuThreadClass::EmuThreadClass(Ui_MainWindowBase *rootWindow, std::shared_ptr<US
5353 connect(this, SIGNAL(sig_open_quick_disk(int, QString)), MainWindow, SLOT(_open_quick_disk(int, QString)));
5454 connect(this, SIGNAL(sig_open_bubble(int, QString)), MainWindow, SLOT(_open_bubble(int, QString)));
5555 connect(this, SIGNAL(sig_open_b77_bubble(int, QString, int)), this, SLOT(do_open_bubble_casette(int, QString, int)));
56-
56+
5757 connect(this, SIGNAL(sig_open_cdrom(int, QString)), MainWindow, SLOT(do_open_cdrom(int, QString)));
5858 connect(this, SIGNAL(sig_open_laser_disc(int, QString)), MainWindow, SLOT(do_open_laserdisc(int, QString)));
59-
59+
6060 connect(this, SIGNAL(sig_open_hdd(int, QString)), MainWindow, SLOT(_open_hard_disk(int, QString)));
6161
6262 connect(this, SIGNAL(sig_set_b77_num(int, int)), MainWindow, SLOT(set_b77_slot(int, int)));
@@ -143,14 +143,14 @@ void EmuThreadClass::doWork(const QString &params)
143143 bool gl_crt_filter_bak = config.use_opengl_filters;
144144 int opengl_filter_num_bak = config.opengl_filter_num;
145145 //uint32_t key_mod_old = 0xffffffff;
146- int no_draw_count = 0;
146+ int no_draw_count = 0;
147147 bool prevRecordReq = false;
148148 double nr_fps = -1.0;
149149 int _queue_begin;
150150 bool multithread_draw = config.use_separate_thread_draw;
151151
152152 bool state_power_off = false;
153-
153+
154154 doing_debug_command = false;
155155 ctext.clear();
156156 // draw_timing = false;
@@ -185,9 +185,6 @@ void EmuThreadClass::doWork(const QString &params)
185185 for(int i = 0; i < using_flags->get_max_drive(); i++) {
186186 fd_text[i].clear();
187187 fd_lamp[i] = QString::fromUtf8("×");
188- fd_open_wait_count[i] = 0;
189- fd_reserved_path[i].clear();
190- fd_reserved_bank[i] = 0;
191188 }
192189 for(int i = 0; i < using_flags->get_max_tape(); i++) {
193190 cmt_text[i].clear();
@@ -206,7 +203,7 @@ void EmuThreadClass::doWork(const QString &params)
206203 }
207204 _queue_begin = parse_command_queue(virtualMediaList, 0);
208205 //SDL_SetHint(SDL_HINT_TIMER_RESOLUTION, "2");
209-
206+
210207 do {
211208 //p_emu->SetHostCpus(this->idealThreadCount());
212209 if((MainWindow == NULL) || (bBlockTask)) {
@@ -237,7 +234,7 @@ void EmuThreadClass::doWork(const QString &params)
237234 emit sig_change_virtual_media(CSP_DockDisks_Domain_HD, ii, config.last_hard_disk_path[ii]);
238235 }
239236 }
240-
237+
241238 first = false;
242239 }
243240 }
@@ -296,7 +293,7 @@ void EmuThreadClass::doWork(const QString &params)
296293 req_draw = true;
297294 }
298295 if(bStartRecordMovieReq != false) {
299- if(!prevRecordReq && (record_fps > 0) && (record_fps < 75)) {
296+ if(!prevRecordReq && (record_fps > 0) && (record_fps < 75)) {
300297 p_emu->start_record_video(record_fps);
301298 prevRecordReq = true;
302299 }
@@ -307,7 +304,7 @@ void EmuThreadClass::doWork(const QString &params)
307304 prevRecordReq = false;
308305 }
309306 }
310-#if defined(USE_LASER_DISC) || defined(USE_MOVIE_PLAYER)
307+#if defined(USE_LASER_DISC) || defined(USE_MOVIE_PLAYER)
311308 if(turn_count < 128) {
312309 turn_count++;
313310 } else {
@@ -329,7 +326,7 @@ void EmuThreadClass::doWork(const QString &params)
329326 // 20221011 K.O
330327 // Note: Maybe not need below, cause lock-up at starting debugger.
331328 //emit sig_is_enable_mouse(p_emu->is_mouse_enabled());
332-#endif
329+#endif
333330 #if defined(USE_SOUND_VOLUME)
334331 for(int ii = 0; ii < USE_SOUND_VOLUME; ii++) {
335332 if(bUpdateVolumeReq[ii]) {
@@ -342,7 +339,7 @@ void EmuThreadClass::doWork(const QString &params)
342339 while(!is_empty_key()) {
343340 key_queue_t sp;
344341 dequeue_key(&sp);
345- //printf("%08x %04x %08x %d\n", sp.type, sp.code, sp.mod, sp.repeat);
342+ //printf("%08x %04x %08x %d\n", sp.type, sp.code, sp.mod, sp.repeat);
346343 switch(sp.type) {
347344 case KEY_QUEUE_UP:
348345 key_mod = sp.mod;
@@ -363,7 +360,7 @@ void EmuThreadClass::doWork(const QString &params)
363360 }
364361 }
365362 }
366-
363+
367364 if(!(half_count) && (multithread_draw)) {
368365 if(nr_fps < 0.0) {
369366 nr_fps = get_emu_frame_rate();
@@ -381,7 +378,7 @@ void EmuThreadClass::doWork(const QString &params)
381378 // After frame, delayed open
382379 if(!(half_count)) {
383380 led_data = 0x00;
384-
381+
385382 USING_FLAGS *up = using_flags.get();
386383 bool _ind_caps_kana = false;
387384 bool _key_lock = false;
@@ -389,7 +386,7 @@ void EmuThreadClass::doWork(const QString &params)
389386 if(up != nullptr) {
390387 _ind_caps_kana = up->get_independent_caps_kana_led();
391388 _key_lock = up->get_use_key_locked();
392- _led_shift = up->get_use_led_devices();
389+ _led_shift = up->get_use_led_devices();
393390 if(up->is_use_minimum_rendering()) {
394391 req_draw |= p_emu->is_screen_changed();
395392 } else {
@@ -463,7 +460,7 @@ void EmuThreadClass::doWork(const QString &params)
463460 no_draw_count = 0;
464461 //emit sig_draw_thread(true);
465462 }
466- if(!(half_count))
463+ if(!(half_count))
467464 {
468465 double nd;
469466 nd = p_emu->get_frame_rate();
@@ -489,7 +486,7 @@ void EmuThreadClass::doWork(const QString &params)
489486 }
490487 } else if(++skip_frames > MAX_SKIP_FRAMES) {
491488 // update window at least once per 10 frames
492- if(!(half_count))
489+ if(!(half_count))
493490 {
494491 double nd;
495492 nd = p_emu->get_frame_rate();
@@ -544,7 +541,7 @@ _exit:
544541 state_power_off = true;
545542 }
546543 #endif
547-
544+
548545 if(csp_logger != NULL) {
549546 csp_logger->debug_log(CSP_LOG_INFO, CSP_LOG_TYPE_GENERAL,
550547 "EmuThread : EXIT");
@@ -557,6 +554,3 @@ const _TCHAR *EmuThreadClass::get_device_name(void)
557554 {
558555 return (const _TCHAR *)_T(DEVICE_NAME);
559556 }
560-
561-
562-
--- a/source/src/qt/common/emu_thread_slots.cpp
+++ b/source/src/qt/common/emu_thread_slots.cpp
@@ -228,7 +228,7 @@ const int auto_key_table_base_us[][2] = {
228228 {0x2d, 0x000 | 0xbd}, // '-'
229229 {0x2e, 0x000 | 0xbe}, // '.'
230230 {0x2f, 0x000 | 0xbf}, // '/'
231-
231+
232232 {0x30, 0x000 | 0x30}, // '0'
233233 {0x31, 0x000 | 0x31}, // '1'
234234 {0x32, 0x000 | 0x32}, // '2'
@@ -239,7 +239,7 @@ const int auto_key_table_base_us[][2] = {
239239 {0x37, 0x000 | 0x37}, // '7'
240240 {0x38, 0x000 | 0x38}, // '8'
241241 {0x39, 0x000 | 0x39}, // '9'
242-
242+
243243 {0x3a, 0x100 | 0xbb}, // ':'
244244 {0x3b, 0x000 | 0xbb}, // ';'
245245 {0x3c, 0x100 | 0xbc}, // '<'
@@ -247,7 +247,7 @@ const int auto_key_table_base_us[][2] = {
247247 {0x3e, 0x100 | 0xbe}, // '>'
248248 {0x3f, 0x100 | 0xbf}, // '?'
249249 {0x40, 0x100 | 0x32}, // '@'
250-
250+
251251 {0x41, 0x400 | 0x41}, // 'A'
252252 {0x42, 0x400 | 0x42}, // 'B'
253253 {0x43, 0x400 | 0x43}, // 'C'
@@ -281,7 +281,7 @@ const int auto_key_table_base_us[][2] = {
281281 {0x5e, 0x100 | 0x36}, // '^'
282282 {0x5f, 0x100 | 0xbd}, // '_'
283283 {0x60, 0x000 | 0xdd}, // '`'
284-
284+
285285 {0x61, 0x800 | 0x41}, // 'a'
286286 {0x62, 0x800 | 0x42}, // 'b'
287287 {0x63, 0x800 | 0x43}, // 'c'
@@ -450,7 +450,7 @@ const int auto_key_table_50on_base[][2] = {
450450 void EmuThreadClassBase::do_start_auto_key(QString ctext)
451451 {
452452 //QMutexLocker _locker(&uiMutex);
453-
453+
454454 if(using_flags->is_use_auto_key()) {
455455 QTextCodec *codec = QTextCodec::codecForName("Shift-Jis");
456456 QByteArray array;
@@ -515,10 +515,7 @@ void EmuThreadClassBase::do_close_floppy_disk(int drv)
515515 if(p.get() == nullptr) return;
516516 if((p->get_max_drive() > drv) && (p->is_use_fd())) {
517517 p_emu->close_floppy_disk(drv);
518- //fd_open_wait_count[drv] = (int)(get_emu_frame_rate() * 1.0);
519518 emit sig_change_virtual_media(CSP_DockDisks_Domain_FD, drv, QString::fromUtf8(""));
520- fd_reserved_path[drv].clear();
521- fd_open_wait_count[drv] = 0;
522519 }
523520 }
524521
@@ -526,36 +523,32 @@ void EmuThreadClassBase::do_open_floppy_disk(int drv, QString path, int bank)
526523 {
527524 if(path.isEmpty()) return;
528525 if(path.isNull()) return;
529-
526+
530527 std::shared_ptr<USING_FLAGS> p = using_flags;
531528 if(p.get() == nullptr) return;
532529 if(!(using_flags->is_use_fd())) return;
533- if(!((p->get_max_drive() > drv) && (p->is_use_fd()))) return;
534-
530+ if(!((p->get_max_drive() > drv) && (p->is_use_fd()))) return;
531+
535532 const _TCHAR *file_path = (const _TCHAR *)(path.toLocal8Bit().constData());
536533 if(!(FILEIO::IsFileExisting(file_path))) return; // File not found.
537534
538- bool reserved = p_emu->is_floppy_disk_inserted(drv);
539535 p_emu->open_floppy_disk(drv, file_path, bank);
540-
541- fd_open_wait_count[drv] = (int)(get_emu_frame_rate() * 0.05);
542- fd_reserved_path[drv] = path;
543536 }
544537
545538
546539 void EmuThreadClassBase::do_select_floppy_disk_d88(int drive, int slot)
547540 {
548541 if(p_emu == nullptr) return;
549-
542+
550543 int bank_num = p_emu->d88_file[drive].bank_num;
551544 if(bank_num <= 0) return;
552-
545+
553546 std::shared_ptr<USING_FLAGS>p = using_flags;
554547 if(p.get() == nullptr) return;
555548 if(p->get_max_d88_banks() <= slot) slot = p->get_max_d88_banks() - 1;
556549 if(slot < 0) return;
557550 if(bank_num <= slot) return;
558-
551+
559552 if((p_emu->is_floppy_disk_inserted(drive)) &&
560553 (slot != p_emu->d88_file[drive].cur_bank)) {
561554 QString path = get_d88_file_path(drive);
@@ -566,10 +559,13 @@ void EmuThreadClassBase::do_select_floppy_disk_d88(int drive, int slot)
566559
567560 void EmuThreadClassBase::do_play_tape(int drv, QString name)
568561 {
569- if(using_flags->is_use_tape()) {
562+ if(p_emu == nullptr) return;
563+ std::shared_ptr<USING_FLAGS>p = using_flags;
564+ if(p.get() == nullptr) return;
565+
566+ if(p->is_use_tape()) {
570567 //QMutexLocker _locker(&uiMutex);
571568 p_emu->play_tape(drv, name.toLocal8Bit().constData());
572- emit sig_change_virtual_media(CSP_DockDisks_Domain_CMT, drv, name);
573569 }
574570 }
575571
@@ -651,7 +647,7 @@ void EmuThreadClassBase::done_open_tape(int drive, QString path)
651647 _TCHAR path_shadow[_MAX_PATH] = {0};
652648 strncpy(path_shadow, path.toLocal8Bit().constData(), _MAX_PATH - 1);
653649 UPDATE_HISTORY(path_shadow, p_config->recent_tape_path[drive], list);
654-
650+
655651 const _TCHAR* __dir = get_parent_dir((const _TCHAR *)path_shadow);
656652 strncpy(p_config->initial_tape_dir, __dir, _MAX_PATH - 1);
657653
@@ -749,7 +745,7 @@ void EmuThreadClassBase::done_open_compact_disc(int drive, QString path)
749745 _TCHAR path_shadow[_MAX_PATH] = {0};
750746 strncpy(path_shadow, path.toLocal8Bit().constData(), _MAX_PATH - 1);
751747 UPDATE_HISTORY(path_shadow, p_config->recent_compact_disc_path[drive], list);
752-
748+
753749 const _TCHAR* __dir = get_parent_dir((const _TCHAR *)path_shadow);
754750 strncpy(p_config->initial_compact_disc_dir, __dir, _MAX_PATH - 1);
755751
@@ -795,7 +791,7 @@ void EmuThreadClassBase::done_open_hard_disk(int drive, QString path)
795791 _TCHAR path_shadow[_MAX_PATH] = {0};
796792 strncpy(path_shadow, path.toLocal8Bit().constData(), _MAX_PATH - 1);
797793 UPDATE_HISTORY(path_shadow, p_config->recent_hard_disk_path[drive], list);
798-
794+
799795 const _TCHAR* __dir = get_parent_dir((const _TCHAR *)path_shadow);
800796 strncpy(p_config->initial_hard_disk_dir, __dir, _MAX_PATH - 1);
801797
@@ -842,7 +838,7 @@ void EmuThreadClassBase::done_open_cart(int drive, QString path)
842838 _TCHAR path_shadow[_MAX_PATH] = {0};
843839 strncpy(path_shadow, path.toLocal8Bit().constData(), _MAX_PATH - 1);
844840 UPDATE_HISTORY(path_shadow, p_config->recent_cart_path[drive], list);
845-
841+
846842 const _TCHAR* __dir = get_parent_dir((const _TCHAR *)path_shadow);
847843 strncpy(p_config->initial_cart_dir, __dir, _MAX_PATH - 1);
848844
@@ -888,7 +884,7 @@ void EmuThreadClassBase::done_open_laser_disc(int drive, QString path)
888884 _TCHAR path_shadow[_MAX_PATH] = {0};
889885 strncpy(path_shadow, path.toLocal8Bit().constData(), _MAX_PATH - 1);
890886 UPDATE_HISTORY(path_shadow, p_config->recent_laser_disc_path[drive], list);
891-
887+
892888 const _TCHAR* __dir = get_parent_dir((const _TCHAR *)path_shadow);
893889 strncpy(p_config->initial_laser_disc_dir, __dir, _MAX_PATH - 1);
894890
@@ -973,15 +969,15 @@ void EmuThreadClassBase::do_close_bubble_casette(int drv)
973969 void EmuThreadClassBase::do_open_bubble_casette(int drv, QString path, int bank)
974970 {
975971 if(!(using_flags->is_use_bubble())) return;
976-
972+
977973 //QMutexLocker _locker(&uiMutex);
978974 QByteArray localPath = path.toLocal8Bit();
979-
975+
980976 p_emu->b77_file[drv].bank_num = 0;
981977 p_emu->b77_file[drv].cur_bank = -1;
982-
978+
983979 if(check_file_extension(localPath.constData(), ".b77")) {
984-
980+
985981 FILEIO *fio = new FILEIO();
986982 if(fio->Fopen(localPath.constData(), FILEIO_READ_BINARY)) {
987983 try {
@@ -994,7 +990,7 @@ void EmuThreadClassBase::do_open_bubble_casette(int drv, QString path, int bank)
994990 fio->Fread(tmp, 16, 1);
995991 memset(p_emu->b77_file[drv].bubble_name[p_emu->b77_file[drv].bank_num], 0x00, 128);
996992 if(strlen(tmp) > 0) Convert_CP932_to_UTF8(p_emu->b77_file[drv].bubble_name[p_emu->b77_file[drv].bank_num], tmp, 127, 17);
997-
993+
998994 fio->Fseek(file_offset + 0x1c, FILEIO_SEEK_SET);
999995 file_offset += fio->FgetUint32_LE();
1000996 p_emu->b77_file[drv].bank_num++;
@@ -1017,7 +1013,7 @@ void EmuThreadClassBase::do_open_bubble_casette(int drv, QString path, int bank)
10171013 p_emu->open_bubble_casette(drv, localPath.constData(), bank);
10181014 emit sig_change_virtual_media(CSP_DockDisks_Domain_Bubble, drv, path);
10191015 emit sig_update_recent_bubble(drv);
1020-
1016+
10211017 }
10221018 // Signal from EMU:: -> OSD:: -> EMU_THREAD (-> GUI)
10231019 void EmuThreadClassBase::done_open_bubble(int drive, QString path)
@@ -1031,13 +1027,13 @@ void EmuThreadClassBase::done_open_bubble(int drive, QString path)
10311027 _TCHAR path_shadow[_MAX_PATH] = {0};
10321028 strncpy(path_shadow, path.toLocal8Bit().constData(), _MAX_PATH - 1);
10331029 UPDATE_HISTORY(path_shadow, p_config->recent_bubble_casette_path[drive], list);
1034-
1030+
10351031 const _TCHAR* __dir = get_parent_dir((const _TCHAR *)path_shadow);
10361032 strncpy(p_config->initial_bubble_casette_dir, __dir, _MAX_PATH - 1);
10371033
10381034 emit sig_ui_update_bubble_casette_list(drive, list);
10391035 emit sig_ui_clear_b77(drive);
1040-
1036+
10411037 QString relpath = QString::fromUtf8("");
10421038 if(strlen(&(__dir[0])) > 1) {
10431039 relpath = QString::fromLocal8Bit(&(__dir[1]));
@@ -1126,7 +1122,7 @@ void EmuThreadClassBase::moved_mouse(double x, double y, double globalx, double
11261122
11271123 void EmuThreadClassBase::button_pressed_mouse_sub(Qt::MouseButton button)
11281124 {
1129-
1125+
11301126 if(using_flags->is_use_one_board_computer() || using_flags->is_use_mouse() || (using_flags->get_max_button() > 0)) {
11311127 int stat = p_osd->get_mouse_button();
11321128 bool flag = (p_osd->is_mouse_enabled() || using_flags->is_use_one_board_computer() || (using_flags->get_max_button() > 0));
@@ -1148,11 +1144,11 @@ void EmuThreadClassBase::button_pressed_mouse_sub(Qt::MouseButton button)
11481144 if(!flag) return;
11491145 p_osd->set_mouse_button(stat);
11501146 }
1151-}
1147+}
11521148
11531149 void EmuThreadClassBase::button_released_mouse_sub(Qt::MouseButton button)
11541150 {
1155-
1151+
11561152 if(using_flags->is_use_one_board_computer() || using_flags->is_use_mouse() || (using_flags->get_max_button() > 0)) {
11571153 int stat = p_osd->get_mouse_button();
11581154 switch(button) {
@@ -1187,5 +1183,3 @@ void EmuThreadClassBase::dec_message_count(void)
11871183 {
11881184 p_emu->message_count--;
11891185 }
1190-
1191-
--- a/source/src/qt/gui/emu_thread_tmpl.h
+++ b/source/src/qt/gui/emu_thread_tmpl.h
@@ -60,7 +60,7 @@ QT_BEGIN_NAMESPACE
6060 enum {
6161 KEY_QUEUE_DOWN = 0x10000000,
6262 KEY_QUEUE_UP = 0x20000000,
63-};
63+};
6464 typedef struct {
6565 uint32_t type;
6666 uint32_t code;
@@ -76,7 +76,7 @@ protected:
7676 OSD_BASE *p_osd;
7777
7878 bool poweroff_notified;
79-
79+
8080 bool now_skip;
8181 bool calc_message;
8282 bool tape_play_flag;
@@ -91,12 +91,12 @@ protected:
9191 FIFO *key_fifo;
9292 QOpenGLContext *glContext;
9393 bool is_shared_glcontext;
94-
94+
9595 uint32_t key_mod;
9696
9797 std::shared_ptr<USING_FLAGS> using_flags;
9898 config_t *p_config;
99-
99+
100100 QWaitCondition *drawCond;
101101 #if QT_VERSION >= 0x051400
102102 QRecursiveMutex keyMutex;
@@ -104,11 +104,11 @@ protected:
104104 #else
105105 QMutex keyMutex;
106106 QMutex mouseMutex;
107-#endif
107+#endif
108108 //class META_MainWindow *MainWindow;
109109 Ui_MainWindowBase *MainWindow;
110110 QElapsedTimer tick_timer;
111-
111+
112112 bool bBlockTask;
113113 bool bRunThread;
114114 bool bResetReq;
@@ -124,14 +124,11 @@ protected:
124124
125125 #if QT_VERSION >= 0x051400
126126 QRecursiveMutex uiMutex;
127-#else
127+#else
128128 QMutex uiMutex;
129129 #endif
130130 char dbg_prev_command[MAX_COMMAND_LEN];
131- int fd_open_wait_count[8];
132- QString fd_reserved_path[8];
133- int fd_reserved_bank[8];
134-
131+
135132 // bool draw_timing;
136133 bool doing_debug_command;
137134 bool bUpdateVolumeReq[32];
@@ -155,7 +152,7 @@ protected:
155152 QString cdrom_text[4];
156153 QString laserdisc_text[4];
157154 QString bubble_text[16];
158-
155+
159156 QString clipBoardText;
160157 QStringList vMovieQueue;
161158
@@ -163,10 +160,10 @@ protected:
163160 void calc_volume_from_balance(int num, int balance);
164161 void calc_volume_from_level(int num, int level);
165162 int parse_command_queue(QStringList _l, int _begin);
166-
163+
167164 void button_pressed_mouse_sub(Qt::MouseButton button);
168165 void button_released_mouse_sub(Qt::MouseButton button);
169-
166+
170167 void get_qd_string(void);
171168 void get_fd_string(void);
172169 void get_hdd_string(void);
@@ -251,11 +248,11 @@ public:
251248 bool is_floppy_disk_protected(int drive);
252249 void set_floppy_disk_protected(int drive, bool flag);
253250 QString get_d88_file_path(int drive);
254-
255-
251+
252+
256253 public slots:
257254 void doExit(void);
258-
255+
259256 void do_reset(void);
260257 void do_notify_power_off(void);
261258 void do_special_reset(void);
@@ -286,10 +283,10 @@ public slots:
286283 void do_write_protect_floppy_disk(int drv, bool flag);
287284 void do_close_floppy_disk(int);
288285 void do_open_floppy_disk(int, QString, int);
289-
286+
290287 void do_close_hard_disk(int);
291288 void do_open_hard_disk(int, QString);
292-
289+
293290 void do_play_tape(int drv, QString name);
294291 void do_rec_tape(int drv, QString name);
295292 void do_close_tape(int drv);
@@ -299,27 +296,27 @@ public slots:
299296 void do_cmt_push_fast_rewind(int drv);
300297 void do_cmt_push_apss_forward(int drv);
301298 void do_cmt_push_apss_rewind(int drv);
302-
299+
303300 void do_write_protect_quickdisk(int drv, bool flag);
304301 void do_close_quickdisk(int drv);
305302 void do_open_quickdisk(int drv, QString path);
306-
303+
307304 void do_close_cart(int drv);
308305 void do_open_cart(int drv, QString path);
309-
306+
310307 void do_close_laser_disc(int drv);
311308 void do_open_laser_disc(int drv, QString path);
312-
309+
313310 void do_eject_cdrom(int drv);
314311 void do_open_cdrom(int drv, QString path);
315-
312+
316313 void do_load_binary(int drv, QString path);
317314 void do_save_binary(int drv, QString path);
318-
315+
319316 void do_write_protect_bubble_casette(int drv, bool flag);
320317 void do_close_bubble_casette(int);
321318 void do_open_bubble_casette(int, QString, int);
322-
319+
323320 void do_start_auto_key(QString text);
324321 void do_stop_auto_key(void);
325322 void set_romakana(bool flag);
@@ -336,16 +333,16 @@ public slots:
336333
337334 void done_open_compact_disc(int drive, QString path);
338335 void done_close_compact_disc(int drive);
339-
336+
340337 void done_open_hard_disk(int drive, QString path);
341338 void done_close_hard_disk(int drive);
342-
339+
343340 void done_open_cart(int drive, QString path);
344341 void done_close_cart(int drive);
345342
346343 void done_open_laser_disc(int drive, QString path);
347344 void done_close_laser_disc(int drive);
348-
345+
349346 void done_open_binary(int drive, QString path);
350347 void done_close_binary(int drive);
351348
@@ -363,11 +360,11 @@ signals:
363360 int sig_finished(void);
364361 int sig_mouse_enable(bool);
365362 int sig_update_recent_hard_disk(int);
366-
363+
367364 int sig_change_osd(int, int, QString);
368365 int sig_change_access_lamp(int, int, QString);
369366 int sig_change_virtual_media(int, int, QString);
370-
367+
371368 int sig_update_recent_bubble(int);
372369 int sig_change_osd_bubble(int, QString);
373370 int sig_set_grid_vertical(int, bool);
@@ -390,13 +387,13 @@ signals:
390387 int sig_open_fd(int, QString);
391388 int sig_open_d88_fd(int, QString, int);
392389 int sig_open_hdd(int, QString);
393-
390+
394391 int sig_open_quick_disk(int, QString);
395392 int sig_open_bubble(int, QString);
396393 int sig_open_b77_bubble(int, QString, int);
397394 int sig_open_cdrom(int, QString);
398395 int sig_open_laser_disc(int, QString);
399-
396+
400397 int sig_set_b77_num(int, int);
401398
402399 // From emu_thread_slots.cpp .
@@ -409,34 +406,34 @@ signals:
409406 int sig_ui_clear_d88(int);
410407 int sig_ui_update_d88(int, int, QString);
411408 int sig_ui_select_d88(int, int);
412-
409+
413410 int sig_ui_update_tape_list(int, QStringList);
414411 int sig_ui_close_tape(int);
415412
416413 int sig_ui_update_quick_disk_list(int, QStringList);
417414 int sig_ui_close_quick_disk(int);
418-
415+
419416 int sig_ui_update_compact_disc_list(int, QStringList);
420417 int sig_ui_close_compact_disc(int);
421418
422419 int sig_ui_update_hard_disk_list(int, QStringList);
423420 int sig_ui_close_hard_disk(int);
424-
421+
425422 int sig_ui_update_cart_list(int, QStringList);
426423 int sig_ui_close_cart(int);
427-
424+
428425 int sig_ui_update_laser_disc_list(int, QStringList);
429426 int sig_ui_close_laser_disc(int);
430427
431428 int sig_ui_update_binary_list(int, QStringList);
432429 int sig_ui_close_binary(int);
433-
430+
434431 int sig_ui_update_bubble_casette_list(int, QStringList);
435432 int sig_ui_close_bubble_casette(int);
436433 int sig_ui_clear_b77(int);
437434 int sig_ui_update_b77(int, int, QString);
438435 int sig_ui_select_b77(int, int);
439-
436+
440437 };
441438
442439 QT_END_NAMESPACE
Show on old repository browser