Skip to content

Commit

Permalink
330 - Fix undefined behavior warning
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed May 22, 2024
1 parent d473fd9 commit 4593711
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/boards/330.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ static DECLFW(M330Write) {

static void M330Power(void) {
int i;
for (i = 0; i < 4; i++)
PRG[i] = i;
PRG[0] = 0;
PRG[1] = 0;
PRG[2] = 0;
for (i = 0; i < 8; i++)
CHR[i] = i;
for (i = 0; i < 4; i++)
Expand Down

0 comments on commit 4593711

Please sign in to comment.