Skip to content

Commit 8614ee0

Browse files
committed
format
1 parent 7ac5678 commit 8614ee0

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/mappers.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,25 +1516,25 @@ Mappers[180].prototype.loadROM = function () {
15161516
};
15171517

15181518
/**
1519-
* Mapper 241 (BNROM, NINA-01)
1520-
*
1521-
* @description http://wiki.nesdev.com/w/index.php/INES_Mapper_241
1522-
* @example
1523-
* @constructor https://blog.heheda.top
1524-
*/
1525-
Mappers[241] = function(nes) {
1526-
this.nes = nes;
1527-
};
1519+
* Mapper 241 (BNROM, NINA-01)
1520+
*
1521+
* @description http://wiki.nesdev.com/w/index.php/INES_Mapper_241
1522+
* @example
1523+
* @constructor https://blog.heheda.top
1524+
*/
1525+
Mappers[241] = function (nes) {
1526+
this.nes = nes;
1527+
};
15281528

15291529
Mappers[241].prototype = new Mappers[0]();
15301530

1531-
Mappers[241].prototype.write = function(address, value) {
1532-
if (address < 0x8000) {
1533-
Mappers[0].prototype.write.apply(this, arguments);
1534-
return;
1535-
} else {
1536-
this.load32kRomBank(value, 0x8000);
1537-
}
1531+
Mappers[241].prototype.write = function (address, value) {
1532+
if (address < 0x8000) {
1533+
Mappers[0].prototype.write.apply(this, arguments);
1534+
return;
1535+
} else {
1536+
this.load32kRomBank(value, 0x8000);
1537+
}
15381538
};
15391539

15401540
module.exports = Mappers;

0 commit comments

Comments
 (0)