Lawmakers ratify new gaming compact