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

Function Swap8

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

Source from the content-addressed store, hash-verified

406}
407
408static void Swap8(char* d, S32 n)
409{
410 char t;
411
412 while (n--)
413 {
414 t = d[0];
415 d[0] = d[7];
416 d[7] = t;
417
418 t = d[1];
419 d[1] = d[6];
420 d[6] = t;
421
422 t = d[2];
423 d[2] = d[5];
424 d[5] = t;
425
426 t = d[3];
427 d[3] = d[4];
428 d[4] = t;
429
430 d += 8;
431 }
432}
433
434static tag_xFile* BFD_open(const char* filename, const char* mode, U32 lockid, S32, void* xtradata)
435{

Callers 2

ReadMDoublesFunction · 0.70
ReadIDoublesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected