mirror of
https://github.com/mattrberry/crab.git
synced 2024-12-28 09:58:49 +01:00
increment affine reference points before hdma
This alone seems to fix Golden Sun. Many games like Gadget Racers still don't work, but this seems to be a closer approximation of "correct". Finally, the best game for the GBA is playable... I'm sad that this was all it took to "fix" lol.
This commit is contained in:
parent
7b114029a9
commit
71131ac86a
1 changed files with 1 additions and 1 deletions
|
@ -47,11 +47,11 @@ module GBA
|
|||
end
|
||||
if @vcount < 160
|
||||
scanline
|
||||
@gba.dma.trigger_hdma
|
||||
@bgref_int.each_with_index do |bgrefs, bg_num|
|
||||
bgrefs[0] &+= @bgaff[bg_num][1].num # bgx += dmx
|
||||
bgrefs[1] &+= @bgaff[bg_num][3].num # bgy += dmy
|
||||
end
|
||||
@gba.dma.trigger_hdma
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue