OSDN Git Service

[VM][PC8801] Revert changes upstream 2021-01-17; for draw_screen().These make unstabl...
authorK.Ohta <whatisthis.sowhat@gmail.com>
Tue, 2 Feb 2021 06:24:08 +0000 (15:24 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Tue, 2 Feb 2021 06:24:08 +0000 (15:24 +0900)
source/src/vm/pc8801/pc88.cpp

index 44116aa..b32a299 100644 (file)
@@ -2732,10 +2732,10 @@ bool PC88::check_data_carrier()
 void PC88::draw_screen()
 {
        // copy port data at starting vblank
-       uint8_t cur_port[256];
+//     uint8_t cur_port[256];
        
-       memcpy(cur_port, port, sizeof(port));
-       memcpy(port, prev_port, sizeof(port));
+//     memcpy(cur_port, port, sizeof(port));
+//     memcpy(port, prev_port, sizeof(port));
        
        // render text screen
        draw_text();
@@ -2980,7 +2980,7 @@ void PC88::draw_screen()
        }
        
        // restore port
-       memcpy(port, cur_port, 256);
+//     memcpy(port, cur_port, 256);
 }
 
 /*