mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 08:41:59 +00:00
Update DUMB to revision a9176165a2ccc56410b2004d2f5dd40b2052453a
- Changed a break to row behavior in DUMB, hopefully it doesn't break anything SVN r4075 (trunk)
This commit is contained in:
parent
aad103c8d5
commit
13ffa8a1b8
1 changed files with 5 additions and 3 deletions
|
@ -1292,8 +1292,8 @@ static int update_pattern_variables(DUMB_IT_SIGRENDERER *sigrenderer, IT_ENTRY *
|
|||
- If we jump, then effect a loop using an old E60, and then the pattern ends, the next pattern starts on the row corresponding to the E60.
|
||||
- Theory: breakrow is not cleared when it's a pattern loop effect!
|
||||
*/
|
||||
//if (sigrenderer->processrow < 0xFFFE) // I have no idea if this is correct or not - FT2 is so weird :(
|
||||
// sigrenderer->breakrow = channel->pat_loop_row; /* emulate bug in FT2 */
|
||||
if ((sigrenderer->processrow | 0xC00) < 0xFFFE) // I have no idea if this is correct or not - FT2 is so weird :(
|
||||
sigrenderer->breakrow = channel->pat_loop_row; /* emulate bug in FT2 */
|
||||
} else
|
||||
channel->pat_loop_row = sigrenderer->processrow + 1;
|
||||
#ifdef BIT_ARRAY_BULLSHIT
|
||||
|
@ -3832,8 +3832,10 @@ static int process_tick(DUMB_IT_SIGRENDERER *sigrenderer)
|
|||
sigrenderer->processrow = sigrenderer->breakrow;
|
||||
sigrenderer->breakrow = 0;
|
||||
for (n = 0; n < DUMB_IT_N_CHANNELS; n++) sigrenderer->channel[n].pat_loop_end_row = 0;
|
||||
} else
|
||||
} else {
|
||||
sigrenderer->processrow = sigrenderer->breakrow;
|
||||
sigrenderer->breakrow = 0; // XXX lolwut
|
||||
}
|
||||
|
||||
if (sigrenderer->processorder == 0xFFFF)
|
||||
sigrenderer->processorder = sigrenderer->order - 1;
|
||||
|
|
Loading…
Reference in a new issue