Skip to content

Commit ec77bba

Browse files
committed
Normalize some spacing
1 parent 0fc1251 commit ec77bba

2 files changed

Lines changed: 60 additions & 59 deletions

File tree

include/ogc/machine/asm.h

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@
133133

134134
#define IABR 1010
135135

136-
#define PMC1 953
137-
#define PMC2 954
138-
#define PMC3 957
139-
#define PMC4 958
136+
#define PMC1 953
137+
#define PMC2 954
138+
#define PMC3 957
139+
#define PMC4 958
140140

141141
#define MMCR0 952
142142
#define MMCR1 956
@@ -198,10 +198,10 @@
198198
#define MSR_OFFSET 196
199199
#define DABR_OFFSET 200
200200

201-
#define STATE_OFFSET 204
201+
#define STATE_OFFSET 204
202202
#define MODE_OFFSET 206
203-
204-
#define FPR0_OFFSET 208
203+
204+
#define FPR0_OFFSET 208
205205
#define FPR1_OFFSET 216
206206
#define FPR2_OFFSET 224
207207
#define FPR3_OFFSET 232
@@ -275,31 +275,31 @@
275275
*/
276276
#define EXCEPTION_FRAME_END 728
277277

278-
#define IBAT0U 528
279-
#define IBAT0L 529
280-
#define IBAT1U 530
281-
#define IBAT1L 531
282-
#define IBAT2U 532
283-
#define IBAT2L 533
284-
#define IBAT3U 534
285-
#define IBAT3L 535
286-
#define IBAT4U 560
287-
#define IBAT4L 561
288-
#define IBAT5U 562
289-
#define IBAT5L 563
290-
#define IBAT6U 564
291-
#define IBAT6L 565
292-
#define IBAT7U 566
293-
#define IBAT7L 567
294-
295-
#define DBAT0U 536
296-
#define DBAT0L 537
297-
#define DBAT1U 538
298-
#define DBAT1L 539
299-
#define DBAT2U 540
300-
#define DBAT2L 541
301-
#define DBAT3U 542
302-
#define DBAT3L 543
278+
#define IBAT0U 528
279+
#define IBAT0L 529
280+
#define IBAT1U 530
281+
#define IBAT1L 531
282+
#define IBAT2U 532
283+
#define IBAT2L 533
284+
#define IBAT3U 534
285+
#define IBAT3L 535
286+
#define IBAT4U 560
287+
#define IBAT4L 561
288+
#define IBAT5U 562
289+
#define IBAT5L 563
290+
#define IBAT6U 564
291+
#define IBAT6L 565
292+
#define IBAT7U 566
293+
#define IBAT7L 567
294+
295+
#define DBAT0U 536
296+
#define DBAT0L 537
297+
#define DBAT1U 538
298+
#define DBAT1L 539
299+
#define DBAT2U 540
300+
#define DBAT2L 541
301+
#define DBAT3U 542
302+
#define DBAT3L 543
303303
#define DBAT4U 568
304304
#define DBAT4L 569
305305
#define DBAT5U 570
@@ -311,7 +311,7 @@
311311

312312
#define HID0 1008
313313
#define HID1 1009
314-
#define HID2 920
314+
#define HID2 920
315315
#define HID4 1011
316316

317317
#define GQR0 912
@@ -374,8 +374,8 @@
374374
#define THRM3_SITV(n) (((n) << 1) & THRM3_SITV_MASK)
375375
#define THRM3_E 0x00000001
376376

377-
#define PPC_ALIGNMENT 8
377+
#define PPC_ALIGNMENT 8
378378

379-
#define PPC_CACHE_ALIGNMENT 32
379+
#define PPC_CACHE_ALIGNMENT 32
380380

381381
#endif //__OGC_MACHINE_ASM_H__

libogc/video.c

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,8 @@ static const struct _timing {
15621562
u8 bs1,bs2,bs3,bs4;
15631563
u16 be1,be2,be3,be4;
15641564
u16 nhlines,hlw;
1565-
u8 hsy,hcs,hce,hbe640;
1565+
u8 hsy,hcs,hce;
1566+
u8 hbe640;
15661567
u16 hbs640;
15671568
u8 hbeCCIR656;
15681569
u16 hbsCCIR656;
@@ -1573,8 +1574,8 @@ static const struct _timing {
15731574
0x0C,0x0D,0x0C,0x0D,
15741575
0x0208,0x0207,0x0208,0x0207,
15751576
0x020D,0x01AD,
1576-
0x40,0x47,0x69,0xA2,
1577-
0x0175,
1577+
0x40,0x47,0x69,
1578+
0xA2,0x0175,
15781579
0x7A,0x019C
15791580
},
15801581
{
@@ -1583,8 +1584,8 @@ static const struct _timing {
15831584
0x0C,0x0C,0x0C,0x0C,
15841585
0x0208,0x0208,0x0208,0x0208,
15851586
0x020E,0x01AD,
1586-
0x40,0x47,0x69,0xA2,
1587-
0x0175,
1587+
0x40,0x47,0x69,
1588+
0xA2,0x0175,
15881589
0x7A,0x019C
15891590
},
15901591
{
@@ -1593,8 +1594,8 @@ static const struct _timing {
15931594
0x0D,0x0C,0x0B,0x0A,
15941595
0x026B,0x026A,0x0269,0x026C,
15951596
0x0271,0x01B0,
1596-
0x40,0x4B,0x6A,0xAC,
1597-
0x017C,
1597+
0x40,0x4B,0x6A,
1598+
0xAC,0x017C,
15981599
0x85,0x01A4
15991600
},
16001601
{
@@ -1603,8 +1604,8 @@ static const struct _timing {
16031604
0x0D,0x0B,0x0D,0x0B,
16041605
0x026B,0x026D,0x026B,0x026D,
16051606
0x0270,0x01B0,
1606-
0x40,0x4B,0x6A,0xAC,
1607-
0x017C,
1607+
0x40,0x4B,0x6A,
1608+
0xAC,0x017C,
16081609
0x85,0x01A4
16091610
},
16101611
{
@@ -1613,8 +1614,8 @@ static const struct _timing {
16131614
0x10,0x0F,0x0E,0x0D,
16141615
0x0206,0x0205,0x0204,0x0207,
16151616
0x020D,0x01AD,
1616-
0x40,0x4E,0x70,0xA2,
1617-
0x0175,
1617+
0x40,0x4E,0x70,
1618+
0xA2,0x0175,
16181619
0x7A,0x019C
16191620
},
16201621
{
@@ -1623,8 +1624,8 @@ static const struct _timing {
16231624
0x10,0x0E,0x10,0x0E,
16241625
0x0206,0x0208,0x0206,0x0208,
16251626
0x020E,0x01AD,
1626-
0x40,0x4E,0x70,0xA2,
1627-
0x0175,
1627+
0x40,0x4E,0x70,
1628+
0xA2,0x0175,
16281629
0x7A,0x019C
16291630
},
16301631
{
@@ -1633,8 +1634,8 @@ static const struct _timing {
16331634
0x18,0x18,0x18,0x18,
16341635
0x040E,0x040E,0x040E,0x040E,
16351636
0x041A,0x01AD,
1636-
0x40,0x47,0x69,0xA2,
1637-
0x0175,
1637+
0x40,0x47,0x69,
1638+
0xA2,0x0175,
16381639
0x7A,0x019C
16391640
},
16401641
{
@@ -1643,18 +1644,18 @@ static const struct _timing {
16431644
0x18,0x18,0x18,0x18,
16441645
0x040E,0x040E,0x040E,0x040E,
16451646
0x041A,0x01AD,
1646-
0x40,0x47,0x69,0xA8,
1647-
0x017B,
1648-
0x7A,0x019C
1647+
0x40,0x47,0x69,
1648+
0xA8,0x017B,
1649+
0x80,0x01A2
16491650
},
16501651
{
16511652
0x06,0x0120,
16521653
0x001E,0x001F,0x0001,0x0000,
16531654
0x0D,0x0C,0x0B,0x0A,
16541655
0x026B,0x026A,0x0269,0x026C,
16551656
0x0271,0x01AD,
1656-
0x40,0x47,0x69,0xA2,
1657-
0x0175,
1657+
0x40,0x47,0x69,
1658+
0xA2,0x0175,
16581659
0x7A,0x019C
16591660
},
16601661
{
@@ -1663,8 +1664,8 @@ static const struct _timing {
16631664
0x0D,0x0B,0x0D,0x0B,
16641665
0x026B,0x026D,0x026B,0x026D,
16651666
0x0272,0x01AD,
1666-
0x40,0x47,0x69,0xA2,
1667-
0x0175,
1667+
0x40,0x47,0x69,
1668+
0xA2,0x0175,
16681669
0x7A,0x019C
16691670
},
16701671
{
@@ -1673,8 +1674,8 @@ static const struct _timing {
16731674
0x14,0x14,0x14,0x14,
16741675
0x04D8,0x04D8,0x04D8,0x04D8,
16751676
0x04E2,0x01B0,
1676-
0x40,0x4B,0x6A,0xAC,
1677-
0x017C,
1677+
0x40,0x4B,0x6A,
1678+
0xAC,0x017C,
16781679
0x85,0x01A4
16791680
}
16801681
};

0 commit comments

Comments
 (0)