mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 02:58:54 -06:00

Cmake compiles we an absolute path, so the macro __FILE__ also has the absolute file in it. It seems that gcc doesn't provide macros for the basename, so we have to truncate them in c directly: https://stackoverflow.com/questions/8487986/file-macro-shows-full-path