mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
amips asm tile renderer
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@286 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
c5b61ac25d
commit
8ef001cc89
4 changed files with 1688 additions and 18 deletions
|
@ -66,6 +66,10 @@ void blockcpy_or(void *dst, void *src, size_t n, int pat)
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef _ASM_DRAW_C_MIPS
|
||||
int TileNorm(int sx,int addr,int pal);
|
||||
int TileFlip(int sx,int addr,int pal);
|
||||
#else
|
||||
static int TileNorm(int sx,int addr,int pal)
|
||||
{
|
||||
unsigned char *pd = HighCol+sx;
|
||||
|
@ -108,7 +112,7 @@ static int TileFlip(int sx,int addr,int pal)
|
|||
}
|
||||
return 1; // Tile blank
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
// tile renderers for hacky operator sprite support
|
||||
#define sh_pix(x) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue