Added two SDL functions needed for GZDoom