mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
minor drawing code cleanup
This commit is contained in:
parent
19886062f1
commit
41946d7023
14 changed files with 23 additions and 58 deletions
|
@ -15,8 +15,6 @@
|
|||
|
||||
#define TILE_ROWS END_ROW-START_ROW
|
||||
|
||||
#define USE_CACHE
|
||||
|
||||
// note: this is not implemented in ARM asm
|
||||
#if defined(DRAW2_OVERRIDE_LINE_WIDTH)
|
||||
#define LINE_WIDTH DRAW2_OVERRIDE_LINE_WIDTH
|
||||
|
@ -24,6 +22,9 @@
|
|||
#define LINE_WIDTH 328
|
||||
#endif
|
||||
|
||||
static unsigned char PicoDraw2FB_[(8+320) * (8+240+8)];
|
||||
unsigned char *PicoDraw2FB = PicoDraw2FB_;
|
||||
|
||||
static int HighCache2A[41*(TILE_ROWS+1)+1+1]; // caches for high layers
|
||||
static int HighCache2B[41*(TILE_ROWS+1)+1+1];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue