mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-02-06 12:31:25 +00:00
Use parens around SCANSTEP macro
This commit is contained in:
parent
1506aba551
commit
1ca1e7d2cc
@ -16,7 +16,7 @@
|
||||
|
||||
#include "common.h"
|
||||
|
||||
#define SCANSTEP SCANWIDTH-12
|
||||
#define SCANSTEP (SCANWIDTH-12)
|
||||
|
||||
#define DYNAMIC_SZ 11 // 7 pixels (as bytes) + 2pre + 2post
|
||||
|
||||
@ -558,7 +558,7 @@ static inline void _plot_lores(uint8_t **d, const uint32_t val) {
|
||||
*((uint32_t *)(*d)) = val;
|
||||
*d += 4;
|
||||
*((uint16_t *)(*d)) = (uint16_t)(val & 0xffff);
|
||||
*d += (SCANWIDTH-12);
|
||||
*d += SCANSTEP;
|
||||
*((uint32_t *)(*d)) = val;
|
||||
*d += 4;
|
||||
*((uint32_t *)(*d)) = val;
|
||||
|
Loading…
x
Reference in New Issue
Block a user