Fix CLS bug

This commit is contained in:
austin committed 2020-07-01 17:44:53 -07:00
1 parent 52c86bee81
commit 084f2e9a9c
1 file changed
+1 -1
+1 -1
View File
@@ -162,7 +162,7 @@ void Chip8::OP_NULL()
void Chip8::OP_00E0()
{
memset(video, 0, VIDEO_HEIGHT * VIDEO_WIDTH);
memset(video, 0, sizeof(video));
}
void Chip8::OP_00EE()