wut  v1.7.0
Wii U Toolchain
Typedefs | Enumerations | Functions
nn_cmpt

Wii backwards compatibility (vWii) More...

Typedefs

typedef enum CmptScreenType CmptScreenType
 

Enumerations

enum  CmptScreenType {
  CMPT_SCREEN_TYPE_TV = 1 ,
  CMPT_SCREEN_TYPE_DRC ,
  CMPT_SCREEN_TYPE_BOTH
}
 

Functions

int32_t CMPTGetDataSize (uint32_t *outSize)
 Gets the required size which needs to be allocated for the "dataBuffer". More...
 
int32_t CMPTLaunchTitle (void *dataBuffer, uint32_t bufferSize, uint64_t titleId)
 Launches the specified vWii title. More...
 
int32_t CMPTLaunchMenu (void *dataBuffer, uint32_t bufferSize)
 Launches vWii System Menu. More...
 
int32_t CMPTLaunchDataManager (void *dataBuffer, uint32_t bufferSize)
 Launches vWii Data Management. More...
 
int32_t CMPTAcctSetScreenType (CmptScreenType type)
 Sets the screen type. More...
 
int32_t CMPTCheckScreenState (void)
 Checks if the current screen configuration is valid. More...
 

Detailed Description

Wii backwards compatibility (vWii)

Typedef Documentation

◆ CmptScreenType

Enumeration Type Documentation

◆ CmptScreenType

Enumerator
CMPT_SCREEN_TYPE_TV 
CMPT_SCREEN_TYPE_DRC 
CMPT_SCREEN_TYPE_BOTH 

Definition at line 15 of file cmpt.h.

Function Documentation

◆ CMPTGetDataSize()

int32_t CMPTGetDataSize ( uint32_t *  outSize)

Gets the required size which needs to be allocated for the "dataBuffer".

The allocated buffer needs to be aligned by 0x40.

Returns
0 on success.

◆ CMPTLaunchTitle()

int32_t CMPTLaunchTitle ( void *  dataBuffer,
uint32_t  bufferSize,
uint64_t  titleId 
)

Launches the specified vWii title.

Returns
0 on success.

◆ CMPTLaunchMenu()

int32_t CMPTLaunchMenu ( void *  dataBuffer,
uint32_t  bufferSize 
)

Launches vWii System Menu.

Returns
0 on success.

◆ CMPTLaunchDataManager()

int32_t CMPTLaunchDataManager ( void *  dataBuffer,
uint32_t  bufferSize 
)

Launches vWii Data Management.

Returns
0 on success.

◆ CMPTAcctSetScreenType()

int32_t CMPTAcctSetScreenType ( CmptScreenType  type)

Sets the screen type.

Returns
0 on success.

◆ CMPTCheckScreenState()

int32_t CMPTCheckScreenState ( void  )

Checks if the current screen configuration is valid.

Returns
0 on success.