Linux: gcc 11 issues

Issue:
I can not compile citra-nightly with gcc 11 in Fedora 34. I made a patch to fix the issue but it’s not very elegant:
citra_nightly_gcc11_fix.diff.txt (5.5 KB)

System Information
Linux Fedora 34

  • Citra Version (found in title bar): nightly master-9ff97270c-dirty