Skip to content

Commit

Permalink
lorom: fix ROM mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesDunne committed Jun 12, 2021
1 parent 358d911 commit eb2447f
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 @@ -49,7 +49,7 @@ func PakAddressToBus(pakAddr uint32) uint32 {
busAddr := pakAddr
offs := busAddr & 0x7FFF
bank := busAddr >> 15
busAddr = (bank << 16) + offs
busAddr = (bank << 16) + (offs | 0x8000)
return busAddr
}
// /shrug
Expand Down

0 comments on commit eb2447f

Please sign in to comment.