diff options
Diffstat (limited to 'src/gfx16.c')
-rw-r--r-- | src/gfx16.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gfx16.c b/src/gfx16.c index ee317e8..38da4d7 100644 --- a/src/gfx16.c +++ b/src/gfx16.c @@ -405,8 +405,8 @@ bool8_32 S9xGraphicsInit() } } } - ZeroMemory(GFX.ZERO, 0x10000 * sizeof(uint16)); - ZeroMemory(GFX.ZERO_OR_X2, 0x10000 * sizeof(uint16)); + memset(GFX.ZERO, 0, 0x10000 * sizeof(uint16)); + memset(GFX.ZERO_OR_X2, 0, 0x10000 * sizeof(uint16)); // Build a lookup table that if the top bit of the color value is zero // then the value is zero, otherwise multiply the value by 2. Used by // the color subtraction code. |