mirror of https://github.com/zeldaret/tp.git
77 lines
2.2 KiB
C
77 lines
2.2 KiB
C
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: SISamplingRate
|
|
//
|
|
|
|
#include "dolphin/si/SISamplingRate.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
//
|
|
// Forward References:
|
|
//
|
|
|
|
void SISetSamplingRate();
|
|
void SIRefreshSamplingRate();
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
void OSReport();
|
|
void OSDisableInterrupts();
|
|
void OSRestoreInterrupts();
|
|
void SISetXY();
|
|
void VIGetTvFormat();
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* ############################################################################################## */
|
|
/* 803D12D0-803D1300 02E3F0 0030+00 1/1 0/0 0/0 .data XYNTSC */
|
|
SECTION_DATA static u8 XYNTSC[48] = {
|
|
0x00, 0xF6, 0x02, 0x00, 0x00, 0x0E, 0x13, 0x00, 0x00, 0x1E, 0x09, 0x00, 0x00, 0x2C, 0x06, 0x00,
|
|
0x00, 0x34, 0x05, 0x00, 0x00, 0x41, 0x04, 0x00, 0x00, 0x57, 0x03, 0x00, 0x00, 0x57, 0x03, 0x00,
|
|
0x00, 0x57, 0x03, 0x00, 0x00, 0x83, 0x02, 0x00, 0x00, 0x83, 0x02, 0x00, 0x00, 0x83, 0x02, 0x00,
|
|
};
|
|
|
|
/* 803D1300-803D1330 02E420 0030+00 0/1 0/0 0/0 .data XYPAL */
|
|
#pragma push
|
|
#pragma force_active on
|
|
SECTION_DATA static u8 XYPAL[48] = {
|
|
0x01, 0x28, 0x02, 0x00, 0x00, 0x0F, 0x15, 0x00, 0x00, 0x1D, 0x0B, 0x00, 0x00, 0x2D, 0x07, 0x00,
|
|
0x00, 0x34, 0x06, 0x00, 0x00, 0x3F, 0x05, 0x00, 0x00, 0x4E, 0x04, 0x00, 0x00, 0x68, 0x03, 0x00,
|
|
0x00, 0x68, 0x03, 0x00, 0x00, 0x68, 0x03, 0x00, 0x00, 0x68, 0x03, 0x00, 0x00, 0x9C, 0x02, 0x00,
|
|
};
|
|
#pragma pop
|
|
|
|
/* 803D1330-803D1368 02E450 0033+05 0/1 0/0 0/0 .data @16 */
|
|
#pragma push
|
|
#pragma force_active on
|
|
SECTION_DATA static char lit_16[] = "SISetSamplingRate: unknown TV format. Use default.";
|
|
#pragma pop
|
|
|
|
/* 80451700-80451708 000C00 0004+04 2/2 0/0 0/0 .sbss SamplingRate */
|
|
static u8 SamplingRate[4 + 4 /* padding */];
|
|
|
|
/* 80346290-80346374 340BD0 00E4+00 1/1 1/1 0/0 .text SISetSamplingRate */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void SISetSamplingRate() {
|
|
nofralloc
|
|
#include "asm/dolphin/si/SISamplingRate/SISetSamplingRate.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 80346374-80346398 340CB4 0024+00 0/0 2/2 0/0 .text SIRefreshSamplingRate */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void SIRefreshSamplingRate() {
|
|
nofralloc
|
|
#include "asm/dolphin/si/SISamplingRate/SIRefreshSamplingRate.s"
|
|
}
|
|
#pragma pop
|