MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / SwapLE

Function SwapLE

Source/utils/language.cpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83};
84
85void SwapLE(MoHead &head)
86{
87 head.magic = SDL_SwapLE32(head.magic);
88 head.revision.major = SDL_SwapLE16(head.revision.major);
89 head.revision.minor = SDL_SwapLE16(head.revision.minor);
90 head.nbMappings = SDL_SwapLE32(head.nbMappings);
91 head.srcOffset = SDL_SwapLE32(head.srcOffset);
92 head.dstOffset = SDL_SwapLE32(head.dstOffset);
93}
94
95struct MoEntry {
96 uint32_t length;

Callers 1

LanguageInitializeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected