libretro / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
68 stars 73 forks source link

Add compile flags for Odroid Go Advance #232

Closed christianhaitian closed 3 years ago

christianhaitian commented 3 years ago

Provides best optimized performance for the Odroid Go Advance and related clones that use the same RK3326 chipset

endrift commented 3 years ago

I already merged it, but does -Ofast actually make a difference vs -O3? mGBA barely uses floating point so I didn't think enabling -ffast-math for example would matter.

christianhaitian commented 3 years ago

It seemed to help with one game named Monster Truck Madness. Without Ofast, game stayed around 50fps and sound was choppy, with this flag, game went to 59-60fps with smooth sound on this platform.