summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xg47_regs.h8
-rw-r--r--src/xg47_videohw.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/xg47_regs.h b/src/xg47_regs.h
index 34e288e..8f05442 100644
--- a/src/xg47_regs.h
+++ b/src/xg47_regs.h
@@ -795,9 +795,9 @@ typedef enum
typedef enum
{
BSM_no_swap = 0x0, /* unchanged. default. */
- BSM_half_swap = 0x1, /* bit[7:0] ?¨¨bit[15:08] and bit[31:24] ?¨¨ bit[23:16]. */
- BSM_word_swap = 0x2, /* bit[7:0] ?¨¨bit[23:16] and bit[15:08] ?¨¨ bit[31:24]. */
- BSM_full_swap = 0x3 /* bit[7:0] ?¨¨bit[31:24] and bit[15:08] ?¨¨ bit[23:16]. */
+ BSM_half_swap = 0x1, /* bit[7:0] ? bit[15:08] and bit[31:24] ? bit[23:16]. */
+ BSM_word_swap = 0x2, /* bit[7:0] ? bit[23:16] and bit[15:08] ? bit[31:24]. */
+ BSM_full_swap = 0x3 /* bit[7:0] ? bit[31:24] and bit[15:08] ? bit[23:16]. */
} BufferSwapMode;
@@ -3189,7 +3189,7 @@ typedef enum
PCC_Signed10_Normalize_IFF = 0xc, /* fixed point 10-10-10 format to IFF in [-1.0, 1.0] = fvalue/(29 - 1) in order of (X, Y, Z, 1.0) and set 1.0 to W. D[9:0] = X, D[29:20] = Z. */
PCC_Signed10_Normalize_IFF_Swap_XZ = 0xd, /* 10-10-10 format to IFF in [-1.0, 1.0] = fvalue/(29 - 1) in order of (Z, Y, X, 1.0) and set 1.0 to W. */
PCC_Unsigned10_IFF = 0xe, /* 10-10-10 format to IFF = fvalue in order of (X, Y, Z, 1.0) and set 1.0 to W. */
- PCC_Unsigned10_IFF_Swap_XZ = 0xf /* 10-10-10 format to IFF = fvalue in order of (Z, Y, X, 1.0) and set 1.0 to W. X çè Z. */
+ PCC_Unsigned10_IFF_Swap_XZ = 0xf /* 10-10-10 format to IFF = fvalue in order of (Z, Y, X, 1.0) and set 1.0 to W. X <==> Z. */
} PutConversionCodes;
diff --git a/src/xg47_videohw.c b/src/xg47_videohw.c
index 6efd25b..06b75f0 100644
--- a/src/xg47_videohw.c
+++ b/src/xg47_videohw.c
@@ -537,7 +537,7 @@ void XG47HwOverDriveSetPara(ScrnInfoPtr pScrn)
/* Overdrive LUT content value divided by 2.
* 247B<11>: LOD_DIV2
- * i.e. {Content, 2’b0} => {1’b0,Content,1’b0}
+ * i.e. {Content, 2'b0} => {1'b0,Content,1'b0}
*/
OUTB(0x247C, INB(0x247C) & ~0x8);