+ u8 render_mode;
+
+ s16 offset_x;
+ s16 offset_y;
+
+ u16 clut_settings;
+ u16 texture_settings;
+
+ u32 *reciprocal_table_ptr;
+
+ // enhancement stuff
+ u16 *enhancement_buf_ptr; // main alloc
+ u16 *enhancement_current_buf_ptr; // offset into above, 4 bufs
+ u32 saved_hres;
+ s16 saved_viewport_start_x;
+ s16 saved_viewport_start_y;
+ s16 saved_viewport_end_x;
+ s16 saved_viewport_end_y;
+ struct psx_gpu_scanout {
+ u16 x, y, w, h;
+ } enhancement_scanouts[4]; // 0-3 specifying which buf to use
+ u16 enhancement_scanout_eselect; // eviction selector
+ u16 enhancement_current_buf;
+
+ u32 hack_disable_main:1;
+ u32 hack_texture_adj:1;