Increase size of Voodoo dirty_line array to 2048 lines, and add some
bounds checking before accessing. Fixes crash running 3DMark 2001 on Voodoo 3.
This commit is contained in:
parent
5c20fe7c57
commit
8cfb60608e
6 changed files with 13 additions and 10 deletions
|
|
@ -438,7 +438,7 @@ typedef struct voodoo_t
|
|||
rgb_t clutData256[256];
|
||||
uint32_t video_16to32[0x10000];
|
||||
|
||||
uint8_t dirty_line[1024];
|
||||
uint8_t dirty_line[2048];
|
||||
int dirty_line_low, dirty_line_high;
|
||||
|
||||
int fb_write_buffer, fb_draw_buffer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue