From 59533b44573f9f24a91cfd6b3d3692d4464b22b2 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 21 Sep 2021 12:14:50 +0200 Subject: [PATCH 1/2] The default value for dpi_scale is now 1. --- src/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.c b/src/config.c index ec2a19839..e0928cabe 100644 --- a/src/config.c +++ b/src/config.c @@ -2009,6 +2009,7 @@ config_load(void) hide_status_bar = 0; scale = 1; machine = machine_get_machine_from_internal_name("ibmpc"); + dpi_scale = 1; /* Set up the architecture flags. */ AT = IS_AT(machine); From 5997f41f1c26ada88a465fa180b201b79e977ef0 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 21 Sep 2021 13:00:27 +0200 Subject: [PATCH 2/2] Fixed cpu/CMakeLists.txt so it passes the M6117 flag to cpu_table.c. --- src/cpu/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpu/CMakeLists.txt b/src/cpu/CMakeLists.txt index ab27b77c0..dd91a5ec1 100644 --- a/src/cpu/CMakeLists.txt +++ b/src/cpu/CMakeLists.txt @@ -24,6 +24,10 @@ if(CYRIX_6X86) target_compile_definitions(cpu PRIVATE USE_CYRIX_6X86) endif() +if(M6117) + target_compile_definitions(cpu PRIVATE USE_M6117) +endif() + if(DYNAREC) add_library(cgt OBJECT codegen_timing_486.c codegen_timing_686.c codegen_timing_common.c codegen_timing_k6.c