This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
?DrawTile16AddS1_2_Normal1x1@@YAXIIII@Z PROC ; DrawTile16AddS1_2_Normal1x1, COMDAT | |
; 104981: { | |
mov QWORD PTR [rsp+16], rbx | |
mov QWORD PTR [rsp+24], rbp | |
mov QWORD PTR [rsp+32], rsi | |
push r12 | |
push r14 | |
push r15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void DrawTile16AddS1_2_Normal1x1(uint32 Tile, uint32 Offset, uint32 StartLine, uint32 LineCount) | |
{ | |
uint8 *pCache; | |
int32 l; | |
uint8 *bp, Pix; | |
uint32 TileNumber; | |
uint32 TileAddr = BG.TileAddress + ((Tile & 0x3ff) << BG.TileShift); | |
if (Tile & 0x100) TileAddr += BG.NameSelect; | |
TileAddr &= 0xffff; |