Mario Kart 64
Loading...
Searching...
No Matches
EuAudioCmd Struct Reference

#include <internal.h>

Collaboration diagram for EuAudioCmd:
[legend]

Data Fields

union { 
 
   struct { 
 
      u8   arg3 
 
      u8   arg2 
 
      u8   bankId 
 
      u8   op 
 
   }   s 
 
   s32   first 
 
u 
 
union { 
 
   s32   as_s32 
 
   u32   as_u32 
 
   f32   as_f32 
 
   struct { 
 
      u8   pad0 [3] 
 
      u8   as_u8 
 
   }  
 
   struct { 
 
      u8   pad1 [3] 
 
      s8   as_s8 
 
   }  
 
u2 
 

Detailed Description

This definition comes from SM64. For reasons not fully understood eu_process_audio_cmd does not match properly if this definition is used. We're either: Missing a compiler -D for IS_BIG_ENDIAN or The version of that function in MK64 is significantly different from its SM64 counterpart Or we just have a poor understanding of this part of the system.

Field Documentation

◆ arg2

u8 EuAudioCmd::arg2

◆ arg3

u8 EuAudioCmd::arg3

◆ as_f32

f32 EuAudioCmd::as_f32

◆ as_s32

s32 EuAudioCmd::as_s32

◆ as_s8

s8 EuAudioCmd::as_s8

◆ as_u32

u32 EuAudioCmd::as_u32

◆ as_u8

u8 EuAudioCmd::as_u8

◆ bankId

u8 EuAudioCmd::bankId

◆ first

s32 EuAudioCmd::first

◆ op

u8 EuAudioCmd::op

◆ pad0

u8 EuAudioCmd::pad0[3]

◆ pad1

u8 EuAudioCmd::pad1[3]

◆ [struct]

struct { ... } EuAudioCmd::s

◆ [union]

union { ... } EuAudioCmd::u

◆ [union]

union { ... } EuAudioCmd::u2

The documentation for this struct was generated from the following file: