X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=config_file%2Fconfig_file.c;h=76d0bb6011e565a53636d56e5e02ac242964f316;hb=20b1a1fa0b8142b5be8e8dbbbbd6d71a9f2a931e;hp=1d41335bf350c6288e93a00c7aa8bc25533b4aa4;hpb=7096342f719470fff7b18111f1b7513ad3cd4617;p=pistorm diff --git a/config_file/config_file.c b/config_file/config_file.c index 1d41335..76d0bb6 100644 --- a/config_file/config_file.c +++ b/config_file/config_file.c @@ -185,6 +185,7 @@ void add_mapping(struct emulator_config *cfg, unsigned int type, unsigned int ad cfg->map_type[index] = type; cfg->map_offset[index] = addr; cfg->map_size[index] = size; + cfg->map_high[index] = addr + size; cfg->map_mirror[index] = mirr_addr; if (strlen(map_id)) { cfg->map_id[index] = (char *)malloc(strlen(map_id) + 1);