summaryrefslogtreecommitdiff
path: root/src/mode7prio_t.h.last
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode7prio_t.h.last')
-rw-r--r--src/mode7prio_t.h.last16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mode7prio_t.h.last b/src/mode7prio_t.h.last
index 444c1fd..d97e314 100644
--- a/src/mode7prio_t.h.last
+++ b/src/mode7prio_t.h.last
@@ -6,8 +6,8 @@
#include "gfx.h"
#include "apu.h"
-extern struct SLineData LineData[240];
-extern struct SLineMatrixData LineMatrixData [240];
+extern SLineData LineData[240];
+extern SLineMatrixData LineMatrixData [240];
extern uint8 Mode7Depths [2];
#define M7 19
@@ -48,7 +48,7 @@ static void DrawBGMode7Background16R3 (uint8 *Screen, int bg)
Screen += GFX.StartY * GFX_PITCH;
Depth = GFX.DB + GFX.StartY * GFX_PPL;
- struct SLineMatrixData *l = &LineMatrixData [GFX.StartY];
+ SLineMatrixData *l = &LineMatrixData [GFX.StartY];
for (Line = GFX.StartY; Line <= GFX.EndY; Line++, Screen += GFX_PITCH, Depth += GFX_PPL, l++) {
HOffset = ((int32) LineData[Line].BG[0].HOffset << M7) >> M7;
@@ -93,7 +93,7 @@ static void DrawBGMode7Background16R3 (uint8 *Screen, int bg)
xx3 = (startx + HOffset);
- asm volatile (
+ __asm__ volatile (
"1: \n"
" mov r3, %[AA], asr #18 \n"
" orrs r3, r3, %[CC], asr #18 \n"
@@ -245,7 +245,7 @@ static void DrawBGMode7Background16R1R2 (uint8 *Screen, int bg)
Screen += GFX.StartY * GFX_PITCH;
Depth = GFX.DB + GFX.StartY * GFX_PPL;
- struct SLineMatrixData *l = &LineMatrixData [GFX.StartY];
+ SLineMatrixData *l = &LineMatrixData [GFX.StartY];
for (Line = GFX.StartY; Line <= GFX.EndY; Line++, Screen += GFX_PITCH, Depth += GFX_PPL, l++) {
HOffset = ((int32) LineData[Line].BG[0].HOffset << M7) >> M7;
@@ -281,7 +281,7 @@ static void DrawBGMode7Background16R1R2 (uint8 *Screen, int bg)
aa = l->MatrixA;
cc = l->MatrixC;
}
- asm volatile (
+ __asm__ volatile (
"1: \n"
" mov r3, %[AA], asr #18 \n"
" orrs r3, r3, %[CC], asr #18 \n"
@@ -378,7 +378,7 @@ static void DrawBGMode7Background16R0 (uint8 *Screen, int bg)
int DD;
uint32 Line;
uint32 clip;
- struct SLineMatrixData *l;
+ SLineMatrixData *l;
uint8 *Depth;
unsigned int fixedColour = GFX.FixedColour;
uint32 depth = Mode7Depths[0] | (Mode7Depths[1] << 8);
@@ -431,7 +431,7 @@ static void DrawBGMode7Background16R0 (uint8 *Screen, int bg)
aa = l->MatrixA;
cc = l->MatrixC;
}
- asm volatile (
+ __asm__ volatile (
//" b 1f \n"
//"7: \n" // AndByX
//" .word (0x3ff << 1) \n"