gps scan: fall back to data section

develop
lethosor 2015-12-28 17:28:50 -05:00
parent 7431329e2d
commit 0a4287afba
1 changed files with 3 additions and 0 deletions

@ -530,6 +530,9 @@ local function find_gps()
local w,h = ms.get_screen_size()
local idx, addr = zone.area.int32_t:find_one{w, h, -1, -1}
if not idx then
idx, addr = data.int32_t.find_one{w, h, -1, -1}
end
if idx then
validate_offset('gps', is_valid_gps, addr, df.graphic, 'dimx')
return