aserebryakov / sdl_doom

SDL port of the linuxxdoom-1.10
12 stars 10 forks source link

Run-time crash if the 320x200 resolution is used on the 640x400 build #6

Closed aserebryakov closed 11 years ago

aserebryakov commented 11 years ago

In case of compilation of the branch 640x480 with following parameters:

define SCREENWIDTH 320

define SCREENHEIGHT 200

game crashes on the start.

aserebryakov commented 11 years ago

Fixed in commit e7b46d0697921f9da71a62e47943a376f22ca78d.

The issue was in absent handling of the case of screen_blocks*block_size > screenwidth.