Skip to content

Commit

Permalink
Removing ArtTile_MapEng_MenuBack
Browse files Browse the repository at this point in the history
This thing is... strangely out of place. It has no ArtTile-type usage,
so being >>5 and requiring tiles_to_bytes indicates that whoever added
it didn't know what it was for. Also, similar code just uses the
VRAM_Plane constants.
  • Loading branch information
Clownacy committed Aug 1, 2015
1 parent 2ab0030 commit 19c75ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions s2.asm
Expand Up @@ -10038,7 +10038,7 @@ TwoPlayerResults:
move.w #make_art_tile(ArtTile_VRAM_Start,3,0),d0
bsr.w EniDec
lea (Chunk_Table).l,a1
move.l #vdpComm(tiles_to_bytes(ArtTile_MapEng_MenuBack),VRAM,WRITE),d0
move.l #vdpComm(VRAM_Plane_B_Name_Table,VRAM,WRITE),d0
moveq #$27,d1
moveq #$1B,d2
jsrto (PlaneMapToVRAM).l, PlaneMapToVRAM
Expand Down Expand Up @@ -11066,7 +11066,7 @@ MenuScreen:
move.w #make_art_tile(ArtTile_VRAM_Start,3,0),d0
bsr.w EniDec
lea (Chunk_Table).l,a1
move.l #vdpComm(tiles_to_bytes(ArtTile_MapEng_MenuBack),VRAM,WRITE),d0
move.l #vdpComm(VRAM_Plane_B_Name_Table,VRAM,WRITE),d0
moveq #$27,d1
moveq #$1B,d2
jsrto (PlaneMapToVRAM).l, JmpTo_PlaneMapToVRAM ; fullscreen background
Expand Down
1 change: 0 additions & 1 deletion s2.constants.asm
Expand Up @@ -1969,7 +1969,6 @@ ArtTile_VRAM_Start = $0000

; Common to 1p and 2p menus.
ArtTile_ArtNem_FontStuff = $0010
ArtTile_MapEng_MenuBack = $0700

; Sega screen
ArtTile_ArtNem_Sega_Logo = $0001
Expand Down

0 comments on commit 19c75ce

Please sign in to comment.