Skip to content

Commit

Permalink
lorom: fix reverse translation which is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesDunne committed Jun 17, 2021
1 parent 4d3cbac commit f979a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snes/lorom/mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func BusAddressToPak(busAddr uint32) uint32 {
sram := SnesBankToLinear(busAddr-0x700000) + 0xE00000
return sram
} else if busAddr >= 0x7E0000 && busAddr < 0x800000 {
wram := (busAddr - 0x7E0000) + 0xE50000
wram := (busAddr - 0x7E0000) + 0xF50000
return wram
}
}
Expand Down

0 comments on commit f979a7a

Please sign in to comment.