OSDN Git Service

[VM][PC8801] Apply EMU::set_vm_screen_lines(200) to PC8801/8001.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 18 Jan 2018 11:53:34 +0000 (20:53 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 18 Jan 2018 11:53:34 +0000 (20:53 +0900)
source/src/vm/pc8801/pc88.cpp

index 8f70538..20a3f5c 100644 (file)
@@ -1865,6 +1865,7 @@ void PC88::draw_screen()
                } else {
                        draw_640x200_attrib_graph();
                }
+               emu->set_vm_screen_lines(200);
        } else {
                if(Port31_HCOLOR) {
                        if(Port31_320x200) {
@@ -1872,22 +1873,27 @@ void PC88::draw_screen()
                        } else {
                                disp_color_graph = draw_640x200_color_graph();
                        }
+                       emu->set_vm_screen_lines(200);
                } else {
                        if(Port31_320x200) {
                                draw_320x200_attrib_graph();
                        } else {
                                draw_640x200_attrib_graph();
                        }
+                       emu->set_vm_screen_lines(200);
                }
        }
 #else
        if(Port31_HCOLOR) {
                disp_color_graph = draw_640x200_color_graph();
+               emu->set_vm_screen_lines(200);
        } else if(!Port31_400LINE) {
                draw_640x200_attrib_graph();
 //             draw_640x200_mono_graph();
+               emu->set_vm_screen_lines(200);
        } else {
                draw_640x400_attrib_graph();
+               emu->set_vm_screen_lines(400);
 //             draw_640x400_mono_graph();
        }
 #endif