The Effect of Spatial Modulations on Codimension-2 Bifurcations