summaryrefslogtreecommitdiff
path: root/src/tile16.cpp.bak
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile16.cpp.bak')
-rw-r--r--src/tile16.cpp.bak24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/tile16.cpp.bak b/src/tile16.cpp.bak
index 3d199ff..76c6eb7 100644
--- a/src/tile16.cpp.bak
+++ b/src/tile16.cpp.bak
@@ -209,7 +209,7 @@ inline void WRITE_4PIXELSHI16_FLIPPED (uint32 Offset, uint8 *Pixels)
#undef FN
}
-INLINE void WRITE_4PIXELS16x2 (uint32 Offset, uint8 *Pixels)
+static INLINE void WRITE_4PIXELS16x2 (uint32 Offset, uint8 *Pixels)
{
register uint32 Pixel;
uint16 *Screen = (uint16 *) GFX.S + Offset;
@@ -229,7 +229,7 @@ INLINE void WRITE_4PIXELS16x2 (uint32 Offset, uint8 *Pixels)
#undef FN
}
-INLINE void WRITE_4PIXELS16_FLIPPEDx2 (uint32 Offset, uint8 *Pixels)
+static INLINE void WRITE_4PIXELS16_FLIPPEDx2 (uint32 Offset, uint8 *Pixels)
{
register uint32 Pixel;
uint16 *Screen = (uint16 *) GFX.S + Offset;
@@ -249,7 +249,7 @@ INLINE void WRITE_4PIXELS16_FLIPPEDx2 (uint32 Offset, uint8 *Pixels)
#undef FN
}
-INLINE void WRITE_4PIXELS16x2x2 (uint32 Offset, uint8 *Pixels)
+static INLINE void WRITE_4PIXELS16x2x2 (uint32 Offset, uint8 *Pixels)
{
register uint32 Pixel;
uint16 *Screen = (uint16 *) GFX.S + Offset;
@@ -271,7 +271,7 @@ INLINE void WRITE_4PIXELS16x2x2 (uint32 Offset, uint8 *Pixels)
#undef FN
}
-INLINE void WRITE_4PIXELS16_FLIPPEDx2x2 (uint32 Offset, uint8 *Pixels)
+static INLINE void WRITE_4PIXELS16_FLIPPEDx2x2 (uint32 Offset, uint8 *Pixels)
{
register uint32 Pixel;
uint16 *Screen = (uint16 *) GFX.S + Offset;
@@ -300,7 +300,7 @@ void DrawTile16 (uint32 Tile, uint32 Offset, uint32 StartLine, uint32 LineCount)
if (Tile & V_FLIP){
if (!(Tile & H_FLIP)){
- asm volatile (
+ __asm__ volatile (
"2: \n"
#define FN(p, p2, p3, p4) \
" ldrb r9, [%[depth], #" p "] \n"\
@@ -346,7 +346,7 @@ if (Tile & V_FLIP){
: "r9", "r8", "cc" // r8 & flags
);
} else {
- asm volatile (
+ __asm__ volatile (
"2: \n"
#define FN1(p, p2, p3, p4, p5, p6) \
" ldrb r9, [%[depth], #" p "] \n"\
@@ -394,7 +394,7 @@ if (Tile & V_FLIP){
}
} else {
if (!(Tile & H_FLIP)){
- asm volatile (
+ __asm__ volatile (
"2: \n"
FN("0", "0", "1", "2")
FN("2", "4", "3", "6")
@@ -420,7 +420,7 @@ if (Tile & V_FLIP){
: "r9", "r8", "cc" // r8 & flags
);
} else {
- asm volatile (
+ __asm__ volatile (
"2: \n"
FN1("0", "0", "7", "1", "2", "6")
FN1("2", "4", "5", "3", "6", "4")
@@ -466,7 +466,7 @@ Offset = Offset + StartPixel;
if (Tile & V_FLIP){
if (!(Tile & H_FLIP)){
- asm volatile (
+ __asm__ volatile (
"2: \n"
#define FN(p) \
" ldrb r9, [%[depth], #" p "] \n"\
@@ -519,7 +519,7 @@ if (Tile & V_FLIP){
: "r9", "cc" // r8 & flags
);
} else {
- asm volatile (
+ __asm__ volatile (
"2: \n"
#define FN1(p) \
" ldrb r9, [%[depth], #" p "] \n"\
@@ -571,7 +571,7 @@ if (Tile & V_FLIP){
}
} else {
if (!(Tile & H_FLIP)){
- asm volatile (
+ __asm__ volatile (
"2: \n"
FN("0")
C("0")
@@ -610,7 +610,7 @@ if (Tile & V_FLIP){
: "r9", "cc" // r8 & flags
);
} else {
- asm volatile (
+ __asm__ volatile (
"2: \n"
FN1("0")
C("0")