[gnome-games] retro: Log cores with Retro.g_log()



commit e3b595aa89867f3ea144aad15b10487f3094bc93
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue May 16 08:29:51 2017 +0200

    retro: Log cores with Retro.g_log()
    
    This allows to keep printing logs for the Libretro cores and it avoids
    adding useless information like the line emitting the error from
    retro-gtk and add useful ones like the core's name as the log domain.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782504

 src/retro/retro-runner.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index 0be9d0b..7e5cb9b 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -279,6 +279,7 @@ public class Games.RetroRunner : Object, Runner {
                        core.system_directory = @"$platforms_dir/$platform/system";
                }
 
+               core.log.connect (Retro.g_log);
                video.set_core (core);
                audio.set_core (core);
                core.input_interface = input_manager;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]