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

Function Swap2

src/SB/Core/x/xbinio.cpp:376–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376static void Swap2(char* d, S32 n)
377{
378 char t;
379
380 while (n--)
381 {
382 t = d[0];
383 d[0] = d[1];
384 d[1] = t;
385
386 d += 2;
387 }
388}
389
390static void Swap4(char* d, S32 n)
391{

Callers 2

ReadMShortsFunction · 0.85
ReadIShortsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected