lightrec: Set program name to /proc/self/exe on Linux
authorPaul Cercueil <paul@crapouillou.net>
Tue, 11 Jun 2024 08:36:01 +0000 (10:36 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Tue, 11 Jun 2024 08:37:32 +0000 (10:37 +0200)
commit3bf2e5ab375a0e453b64b03296c1bfaa115ee95d
tree8109316fb521db78f5138f4234c9de8ac6b3b63d
parent8afce295870dc97704b0e9e1efe1801b6b56090d
lightrec: Set program name to /proc/self/exe on Linux

On Linux, /proc/self/exe is a virtual link to the ELF program being
executed. Use this instead of hardcoding "retroarch.exe".

This is used when compiling Lightrec with disassembler support.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
libpcsxcore/lightrec/plugin.c