Skip to content

Commit 1f7e0a2

Browse files
committed
fix windows build error
1 parent ea1bb16 commit 1f7e0a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shared/opcodes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "chip8.h"
66
#include <stdio.h>
77
#include <stdlib.h> /* rand() */
8+
#include <string.h> /* memset() */
89

910
/* Decode the instruction */
1011
#define OP ((chip8.opcode & 0xF000) >> 12)

0 commit comments

Comments
 (0)