[gnome-games] pc-engine: Look for local covers for CD-ROM² games
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] pc-engine: Look for local covers for CD-ROM² games
- Date: Tue, 13 Sep 2016 14:42:42 +0000 (UTC)
commit 1d9109467d1fa9bfbb2af212476c529cde3e3733
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Sep 13 16:38:25 2016 +0200
pc-engine: Look for local covers for CD-ROM² games
https://bugzilla.gnome.org/show_bug.cgi?id=771361
plugins/pc-engine/src/pc-engine-plugin.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/pc-engine/src/pc-engine-plugin.vala b/plugins/pc-engine/src/pc-engine-plugin.vala
index 3aeddc5..2a2a2f0 100644
--- a/plugins/pc-engine/src/pc-engine-plugin.vala
+++ b/plugins/pc-engine/src/pc-engine-plugin.vala
@@ -47,7 +47,9 @@ private class Games.PcEnginePlugin : Object, Plugin {
var title = new FilenameTitle (uri);
var icon = new DummyIcon ();
var media = new GriloMedia (title, 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, { CUE_MIME_TYPE, MIME_TYPE }, 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]