Skip to content

Commit

Permalink
Bump prettier from 2.2.1 to 2.4.1
Browse files Browse the repository at this point in the history
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.2.1...2.4.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and bfirsh committed Sep 22, 2021
1 parent 9a312c9 commit 20435de
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
22 changes: 12 additions & 10 deletions src/ppu.js
Expand Up @@ -1225,18 +1225,20 @@ PPU.prototype = {

if (toffset < 8) {
// first half of sprite.
t = this.ptTile[
this.sprTile[0] +
(this.vertFlip[0] ? 1 : 0) +
((this.sprTile[0] & 1) !== 0 ? 255 : 0)
];
t =
this.ptTile[
this.sprTile[0] +
(this.vertFlip[0] ? 1 : 0) +
((this.sprTile[0] & 1) !== 0 ? 255 : 0)
];
} else {
// second half of sprite.
t = this.ptTile[
this.sprTile[0] +
(this.vertFlip[0] ? 0 : 1) +
((this.sprTile[0] & 1) !== 0 ? 255 : 0)
];
t =
this.ptTile[
this.sprTile[0] +
(this.vertFlip[0] ? 0 : 1) +
((this.sprTile[0] & 1) !== 0 ? 255 : 0)
];
if (this.vertFlip[0]) {
toffset = 15 - toffset;
} else {
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Expand Up @@ -2210,8 +2210,8 @@ prettier-check@^2.0.0:
execa "^0.6.0"

prettier@^2.0.5:
version "2.2.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
version "2.4.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c"

process-nextick-args@~1.0.6:
version "1.0.7"
Expand Down

0 comments on commit 20435de

Please sign in to comment.