mirror of
https://github.com/jeremysrand/BuGS.git
synced 2024-05-28 16:41:35 +00:00
Fix bug in code that looks for the edge of the screen which was comparing by tile number, not tile offset.
This commit is contained in:
parent
46567659e9
commit
ab5f5c6299
|
@ -338,7 +338,7 @@ updateSegmentLeftSlow_checkDir anop
|
||||||
lda segmentTileOffsetsUL,y
|
lda segmentTileOffsetsUL,y
|
||||||
tax
|
tax
|
||||||
lda tileLeft,x
|
lda tileLeft,x
|
||||||
cmp #LHS_FIRST_TILE
|
cmp #LHS_FIRST_TILE*SIZEOF_TILE_INFO
|
||||||
bge updateSegmentLeftSlow_changeDir
|
bge updateSegmentLeftSlow_changeDir
|
||||||
tax
|
tax
|
||||||
lda tileType,x
|
lda tileType,x
|
||||||
|
@ -635,7 +635,7 @@ updateSegmentRightSlow_checkDir anop
|
||||||
lda segmentTileOffsetsUR,y
|
lda segmentTileOffsetsUR,y
|
||||||
tax
|
tax
|
||||||
lda tileRight,x
|
lda tileRight,x
|
||||||
cmp #RHS_FIRST_TILE
|
cmp #RHS_FIRST_TILE*SIZEOF_TILE_INFO
|
||||||
bge updateSegmentRightSlow_changeDir
|
bge updateSegmentRightSlow_changeDir
|
||||||
tax
|
tax
|
||||||
lda tileType,x
|
lda tileType,x
|
||||||
|
|
|
@ -8,7 +8,6 @@ s6d2 =
|
||||||
|
|
||||||
s7d1 = /Users/jrand/Library/Developer/Xcode/DerivedData/BuGS-bffpexoblaghkzcbtjtzxeulnuto/Build/Products/Debug/BuGS.2mg
|
s7d1 = /Users/jrand/Library/Developer/Xcode/DerivedData/BuGS-bffpexoblaghkzcbtjtzxeulnuto/Build/Products/Debug/BuGS.2mg
|
||||||
|
|
||||||
g_limit_speed = 0
|
|
||||||
|
|
||||||
|
|
||||||
bram1[00] = 00 00 00 01 00 00 0d 06 02 01 01 00 01 00 00 00
|
bram1[00] = 00 00 00 01 00 00 0d 06 02 01 01 00 01 00 00 00
|
||||||
|
|
Loading…
Reference in New Issue
Block a user