In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
1,542 bytes added ,  08:47, 9 April 2016
Page Creation
==Functions==
{| class="wikitable"
!Name
!Prototype
!Description
|-
|AVMProbeDRCNum
|<code>int AVMProbeDRCNum(void)</code>
|Called by AVMGetDRCMode, number of Gamepads loaded??
|-
|AVMGetDRCMode
|<code>int AVMGetDRCMode(void *mode)</code>
|Stores results of AVMProbeDRCNum in mode, if more than 2 Gamepads loaded(?) just returns 1
|-
|AVMProbeDRCState
|<code>BOOL AVMProbeDRCState(int drcnum)</code>
|Returns state (Not/Active) for DRC number (only allows Gamepads 0, 1)
|-
|AVMGetTVStereoCapability
|<code>void AVMGetTVStereoCapability(void *capability)</code>
|Stores 0 in capability, returns 1 (Success)
|-
|AVMGetDRCChipRevision
|<code>int AVMGetDRCChipRevision(int drcnum, void *revision)</code>
|Returns 0 if successful, calls CCRCDCSysGetInfo, if 0 (no errors), gets chip revision from 0xC in stack. Can return -4 if SysGetInfo fails, or -2 if 100068E0 is 0
|-
|AVMGetDRHChipRevision
|<code>int AVMGetDRHChipRevision(void *revision)</code>
|Returns 0 if successful. Can return -2 if 100068E0 is 0
|-
|AVMGetTVAudioMode
|<code>BOOL AVMGetTVAudioMode(void *mode)</code>
|Puts TVAudioMode in *mode, returns 1 (Success)
|-
|AVMSetTVScale
|<code>BOOL AVMSetTVScale(int width, int height)</code>
|Calls DCSetRenderResolution with 0, width, height and 1, width, height. Seems to auto-set to full resolution if it is the "normal" width eg 1280, 1920
|}

==Enums==
<syntaxhighlight lang="C">
typedef enum {
TV_AUDIO_MONO = 0, //Monaural in Settings
TV_AUDIO_STEREO = 1,
TV_AUDIO_SURROUND = 3 //???
} TVAudioMode;
</syntaxhighlight>
52

edits

Navigation menu