Updated Legacy code in arm gba