OSDN Git Service

[VM][FMTOWNS][CDROM] Re-Enable around command 80h.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sat, 26 Sep 2020 08:47:47 +0000 (17:47 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sat, 26 Sep 2020 08:47:47 +0000 (17:47 +0900)
source/src/vm/fmtowns/towns_cdrom.cpp

index 718c0cb..ed64fe1 100644 (file)
@@ -568,7 +568,7 @@ void TOWNS_CDROM::execute_command(uint8_t command)
                                status_media_changed(false);
                                break;;
                        }
-/*                     if(toc_table[current_track].is_audio) {
+                       if(toc_table[current_track].is_audio) {
 //                             if((param_queue[0] == 0x08)) {
                                        switch(prev_command & 0x9f)
                                        {
@@ -634,9 +634,9 @@ void TOWNS_CDROM::execute_command(uint8_t command)
                                } else {
                                        status_accept(0, 0x00, 0x00);
                                }
-                               }*/
+                               }
 //                     stat_reply_intr = true;
-                       status_accept(0, 0x00, 0x00);
+//                     status_accept(0, 0x00, 0x00);
 //                     if(stat_reply_intr) set_mcu_intr(true);
                }
                break;