function applySoundSettings()
memory.setint8(0xBA6798, game_settings[2].radio.v)
memory.setint8(0xBA6797, game_settings[2].sounds.v)
end
function applyScreenSettings()
memory.setint8(0xBA6784, game_settings[1].brightness.v)
memory.setint8(0xBA6792, boolToInt(game_settings[1].map_desc.v))
memory.setint8(0xBA676C, game_settings[1].radar_mode.v)
memory.setint8(0xBA6769, boolToInt(game_settings[1].show_hud.v))
memory.setint8(0xBA678C, boolToInt(game_settings[1].subtitle.v))
memory.setint8(0xBA6830, boolToInt(game_settings[1].save_photos.v))
memory.setint8(0xBA6788, game_settings[1].distance.v)
memory.setint8(0xBA6794, boolToInt(game_settings[1].framelimit.v))
memory.setint8(0xBA6793, boolToInt(game_settings[1].widescreen.v))
memory.setint8(0xA9AE54, game_settings[1].quality.v)
memory.setint8(0xBA6814, game_settings[1].aa.v)
end