summaryrefslogtreecommitdiff
path: root/src/tile16_t.h
diff options
context:
space:
mode:
authoraliaspider2015-11-09 19:55:28 +0100
committeraliaspider2015-11-09 19:55:28 +0100
commit7a7857f47b33f1b63fb585d2dc6c60d87c3e928f (patch)
treea4c271ae26c4b5ec9566f37062168e6d2c8c1bbc /src/tile16_t.h
parent5339c79ebd36afa759541d0c2fbdadac6dd26ed2 (diff)
downloadsnes9x2002-7a7857f47b33f1b63fb585d2dc6c60d87c3e928f.tar.gz
snes9x2002-7a7857f47b33f1b63fb585d2dc6c60d87c3e928f.tar.bz2
snes9x2002-7a7857f47b33f1b63fb585d2dc6c60d87c3e928f.zip
C++ --> C99
Diffstat (limited to 'src/tile16_t.h')
-rw-r--r--src/tile16_t.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/tile16_t.h b/src/tile16_t.h
index f4a0a57..cda914f 100644
--- a/src/tile16_t.h
+++ b/src/tile16_t.h
@@ -80,7 +80,7 @@ DEC_DRAWNOZ(ROPNAME)
if (Tile & V_FLIP){
if (!(Tile & H_FLIP)){
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW("#8")
@@ -106,7 +106,7 @@ DEC_DRAWNOZ(ROPNAME)
: "r8", "r9", "r10", "cc"
);
} else {
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW1("#8")
@@ -132,7 +132,7 @@ DEC_DRAWNOZ(ROPNAME)
}
} else {
if (!(Tile & H_FLIP)){
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW("#8")
@@ -156,7 +156,7 @@ DEC_DRAWNOZ(ROPNAME)
: "r8", "r9", "r10", "cc"
);
} else {
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW1("#8")
@@ -268,7 +268,7 @@ DEC_DRAW(ROPNAME)
if (Tile & V_FLIP){
if (!(Tile & H_FLIP)){
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW("#8")
@@ -294,7 +294,7 @@ DEC_DRAW(ROPNAME)
: "r8", "r9", "r10", "cc"
);
} else {
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW1("#8")
@@ -320,7 +320,7 @@ DEC_DRAW(ROPNAME)
}
} else {
if (!(Tile & H_FLIP)){
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW("#8")
@@ -344,7 +344,7 @@ DEC_DRAW(ROPNAME)
: "r8", "r9", "r10", "cc"
);
} else {
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW1("#8")
@@ -384,7 +384,7 @@ if (Width == 0) return;
Offset = Offset + StartPixel;
if (Tile & V_FLIP){
if (!(Tile & H_FLIP)){
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW("%[width]")
@@ -418,7 +418,7 @@ if (Tile & V_FLIP){
: "r8", "r9", "r10", "cc"
);
} else {
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW1("%[width]")
// Loop
@@ -452,7 +452,7 @@ if (Tile & V_FLIP){
}
} else {
if (!(Tile & H_FLIP)){
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW("%[width]")
// Loop
@@ -484,7 +484,7 @@ if (Tile & V_FLIP){
: "r8", "r9", "r10", "cc"
);
} else {
- asm volatile (
+ __asm__ volatile (
"2: \n"
ROW1("%[width]")
// Loop