[gnome-games/wip/exalm/ds: 5/11] retro-runner: Add get_core()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/ds: 5/11] retro-runner: Add get_core()
- Date: Tue, 8 Jan 2019 09:30:57 +0000 (UTC)
commit 87d3a357b95909331b1e2621d9329b28555c10f6
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Fri Jan 4 14:49:28 2019 +0500
retro-runner: Add get_core()
Provide a way for plugins to interact with the running core.
src/retro/retro-runner.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index fe621541..a8bcc3b1 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -578,4 +578,8 @@ public class Games.RetroRunner : Object, Runner {
return _("The system isn’t supported yet, but full support is planned.");
}
+
+ public Retro.Core get_core () {
+ return core;
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]