MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / gteNCT

Function gteNCT

pcsx2/IopGte.cpp:2723–2822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2721}
2722
2723void gteNCT() {
2724 // double RR0,GG0,BB0;
2725 s32 gte_LL1, gte_LL2, gte_LL3;
2726 // s32 RR0,GG0,BB0;
2727 // double t1, t2, t3;
2728#ifdef GTE_DUMP
2729 static int sample = 0; sample++;
2730#endif
2731
2732#ifdef GTE_LOG
2733 GTE_LOG("GTE_NCT\n");
2734#endif
2735
2736#ifdef GTE_DUMP
2737 if (sample < 100)
2738 {
2739 G_OP("NCT", 30);
2740 G_SD(0);
2741 G_SD(1);
2742 G_SD(2);
2743 G_SD(3);
2744 G_SD(4);
2745 G_SD(5);
2746 G_SD(6);
2747
2748 G_SC(8);
2749 G_SC(9);
2750 G_SC(10);
2751 G_SC(11);
2752 G_SC(12);
2753 G_SC(13);
2754 G_SC(14);
2755 G_SC(15);
2756 G_SC(16);
2757 G_SC(17);
2758 G_SC(18);
2759 G_SC(19);
2760 G_SC(20);
2761 }
2762#endif
2763 /*
2764 gteFLAG = 0;
2765
2766 //V0
2767 GTE_NCS(0);
2768 //V1
2769 GTE_NCS(1);
2770 //V2
2771 GTE_NCS(2);
2772
2773 gteMAC1=(long)RR0;
2774 gteMAC2=(long)GG0;
2775 gteMAC3=(long)BB0;
2776
2777 gteIR1=(long)t1;
2778 gteIR2=(long)t2;
2779 gteIR3=(long)t3;
2780

Callers

nothing calls this directly

Calls 3

FlimB1Function · 0.85
FlimB2Function · 0.85
FlimB3Function · 0.85

Tested by

no test coverage detected