Skip to content

Commit

Permalink
render speed configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lvntky committed Mar 30, 2021
1 parent 8110f3d commit 6307c9c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ bin/main.exe
bin/INVADERS
bin/MISSILE
bin/PONG
*.exe
Binary file modified bin/main.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ int main(int argc, char **argv)
SDL_RenderPresent(renderer);
if (chip8.registers.delay_timer > 0)
{
Sleep(10);
Sleep(1);
chip8.registers.delay_timer -=1;
}

Expand Down

0 comments on commit 6307c9c

Please sign in to comment.