both SetLayerVisibility() functions used in Lego games, GetDisplayResolution() fixed according switchbrew.org