[Scummvm-devel] Wii & Gamecube (resp. PowerPC) vs. unaligned memory access

Andre Heider a.heider at gmail.com
Fri May 6 20:20:00 CEST 2011


On Fri, May 6, 2011 at 8:03 PM, Marcus Comstedt <marcus at mc.pp.se> wrote:
>
> Andre Heider <a.heider at gmail.com> writes:
>
>> Since the READ/WRITE functions are just doing that cast+dereference
>> and they're marked as (forced) inline I don't know if that rule
>> applies.
>
> If the functions are inlined, the rule extends to the function they are
> inlined into.  Doesn't have to be more complicated than that.  :-)

Erm, yes :) Sorry, that's what I meant. Which is exactly what makes
them potentially dangerous for use_memalign=no




More information about the Scummvm-devel mailing list