void render_line(psx_gpu_struct *gpu, vertex_struct *vertexes, u32 flags,
u32 color, int double_resolution);
u32 texture_region_mask(s32 x1, s32 y1, s32 x2, s32 y2);
void render_line(psx_gpu_struct *gpu, vertex_struct *vertexes, u32 flags,
u32 color, int double_resolution);
u32 texture_region_mask(s32 x1, s32 y1, s32 x2, s32 y2);