File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff 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
15291529Mappers [ 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
15401540module . exports = Mappers ;
You can’t perform that action at this time.
0 commit comments