MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / GetControllerVersion

Function GetControllerVersion

projects/uSystem/source/ul/system/la/la_Open.cpp:116–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 }
115
116 inline u32 GetControllerVersion() {
117 if(hosversionAtLeast(11,0,0)) {
118 return 0x8;
119 }
120 else if(hosversionAtLeast(8,0,0)) {
121 return 0x7;
122 }
123 else if(hosversionAtLeast(6,0,0)) {
124 return 0x5;
125 }
126 else if(hosversionAtLeast(3,0,0)) {
127 return 0x4;
128 }
129 else {
130 return 0x3;
131 }
132 }
133
134 }
135

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected