MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / swap16

Function swap16

src/dolphin/src/eth/eth.c:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78static void exiinthandler(s32 chan, OSContext* context);
79
80static inline u16 swap16(u16 val) {
81 u16 ret = __lhbrx(&val, 0);
82 return ret;
83}
84
85static inline u8 higher(u16 val) {
86 return (val >> 8) & 0xff;

Callers 2

readcmd16Function · 0.85
writecmd16Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected