Skip to content
This repository has been archived by the owner on Mar 20, 2022. It is now read-only.

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bokuweb committed Dec 31, 2017
1 parent ce800af commit 667f4a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ppu/index.js
Expand Up @@ -160,8 +160,8 @@ export default class Ppu {

hasSpriteHit(): boolean {
const y = this.spriteRam.read(0);
const id = this.spriteRam.read(1);
if (id === 0) return false;
// const id = this.spriteRam.read(1);
// if (id === 0) return false;
return (y === this.line) && this.isBackgroundEnable && this.isSpriteEnable;
}

Expand Down

0 comments on commit 667f4a0

Please sign in to comment.