Dolphin, the GameCube and Wii emulator - Forums

Full Version: How does dolphin handle the endian difference
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering what are some of the ways dolphin has efficiently handled the endian difference between the powerpc chip being emulated and the host system being little endian?
Nothing fancy, really. When we read from or write to emulated memory, we do a byteswap. In certain special cases like optimized MMIO handling, we're able to skip the byteswap, but 99% of the time we're doing nothing special at all.