From 20435deec639436e56ee819ef60b4a8b66fc16c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Sep 2021 06:03:01 +0000 Subject: [PATCH] Bump prettier from 2.2.1 to 2.4.1 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](https://github.com/prettier/prettier/compare/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] --- src/ppu.js | 22 ++++++++++++---------- yarn.lock | 4 ++-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/ppu.js b/src/ppu.js index 7045cae8..b4d71ef2 100644 --- a/src/ppu.js +++ b/src/ppu.js @@ -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 { diff --git a/yarn.lock b/yarn.lock index 90a1d63c..6532b79e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"