RSDKModding / RSDKv3-Decompilation

A Full Decompilation of Sonic CD (2011) & Retro Engine (v3)
Other
591 stars 120 forks source link

Avoid allocation of `screenBuffer2x` if `drawStageGFXHQ` is false #210

Closed fjtrujy closed 1 year ago

fjtrujy commented 1 year ago

Description

screenBuffer2x is just used when drawStageGFXHQ is true, so in order to save memory RAM, this array just should be allocated if the GFXHQ are true.

Cheers