mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-01 23:56:48 +02: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