[gnome-games] mega-drive: Look for local covers for Mega-CD games
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] mega-drive: Look for local covers for Mega-CD games
- Date: Tue, 13 Sep 2016 14:42:37 +0000 (UTC)
commit 3e5f9a93bb9ecc4b53bf386059e095597e8ff7f2
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Sep 13 16:37:51 2016 +0200
mega-drive: Look for local covers for Mega-CD games
https://bugzilla.gnome.org/show_bug.cgi?id=771360
plugins/mega-drive/src/mega-drive-plugin.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/mega-drive/src/mega-drive-plugin.vala b/plugins/mega-drive/src/mega-drive-plugin.vala
index 8d38e30..cfa3e6a 100644
--- a/plugins/mega-drive/src/mega-drive-plugin.vala
+++ b/plugins/mega-drive/src/mega-drive-plugin.vala
@@ -93,7 +93,9 @@ private class Games.MegaDrivePlugin : Object, Plugin {
var title = new FilenameTitle (uri);
var icon = new DummyIcon ();
var media = new GriloMedia (title, MEGA_CD_MIME_TYPE);
- var cover = new GriloCover (media, uid);
+ var cover = new CompositeCover ({
+ new LocalCover (uri),
+ new GriloCover (media, uid)});
var runner = new RetroRunner (uri, uid, mime_types, MODULE_BASENAME, SUPPORTS_SNAPSHOTTING);
return new GenericGame (title, icon, cover, runner);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]