citra/src/core/loader
Pengfei f85bde3ca3
Replace &vec[0] with vec.data()
When the vector is empty, using `&vec[0]` involves undefined behaviour. While that works fine most of the time, Flatpak builds aborted on a failed `__builtin_expect`.

I searched for such occurences across the codebase with the regex `(?<!&)&\w+\[0\]` and fixed those that would potentially cause issues.
2021-07-14 17:01:14 +08:00
..
3dsx.cpp Replace &vec[0] with vec.data() 2021-07-14 17:01:14 +08:00
3dsx.h cleanup includes 2019-03-26 10:50:41 -04:00
elf.cpp Bump kernel version for 3DSX (#5446) 2020-10-01 09:54:42 +08:00
elf.h cleanup includes 2019-03-26 10:50:41 -04:00
loader.cpp Bump kernel version for 3DSX (#5446) 2020-10-01 09:54:42 +08:00
loader.h Bump kernel version for 3DSX (#5446) 2020-10-01 09:54:42 +08:00
ncch.cpp common/telemetry: Migrate namespace into the Common namespace 2021-01-04 05:17:13 +01:00
ncch.h core: Add support for N3DS memory mappings (#5103) 2020-02-29 19:48:27 +01:00
smdh.cpp Allow displaying of the full title in the interface, as well as use the full title in the search filter 2019-09-09 23:36:21 -03:00
smdh.h Allow displaying of the full title in the interface, as well as use the full title in the search filter 2019-09-09 23:36:21 -03:00