Solve picasso crash by setting O2 to the crashing function

This commit is contained in:
Chips-fr 2015-11-21 17:18:19 +01:00
parent a100ea0d9d
commit 54d9b09133

View file

@ -1912,7 +1912,7 @@ FillRect:
* d5: UBYTE Mask
* d7: uae_u32 RGBFormat
***********************************************************/
static uae_u32 REGPARAM2 picasso_FillRect (TrapContext *ctx)
__attribute__((optimize("O2"))) static uae_u32 REGPARAM2 picasso_FillRect (TrapContext *ctx)
{
struct regstruct *regs = &ctx->regs;
uaecptr renderinfo = m68k_areg (regs, 1);