Skip to content

Commit

Permalink
Tweak to wbh rom detection
Browse files Browse the repository at this point in the history
  • Loading branch information
10yard committed Jul 13, 2022
1 parent 7d153c7 commit a1a83a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galakong/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ function galakong.startplugin()
s_mem = s_cpu.spaces["data"]

-- Is this the wild barrel hack (i.e. extreme galakong)? Offset 3FBA to 3FBF is not used in regular DK
if emu.romname() == "dkong" and mem:read_direct_u32(0x3fba) == 0xc31977dd and mem:read_direct_u16(0x3fbe) == 0x2153 then
if emu.romname() == "dkong" and mem:read_direct_u64(0x3fba) == 0x4d212153c31977dd then
extreme = true
pickup_table[1] = {10, 96} -- easier pickup location on barrels
end
Expand Down

0 comments on commit a1a83a9

Please sign in to comment.