summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/defaults/apps.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 62dbb68c..7e9fe385 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -68,6 +68,8 @@ class CustomApplications(Applications):
 				return self.either(c, 'firefox', 'opera')
 			if f.extension in ('swf', ):
 				return self.either(c, 'firefox', 'opera', 'elinks')
+			if f.extension == 'nes':
+				return self.app_fceux(c)
 			if f.extension in ('swc', 'smc'):
 				return self.app_zsnes(c)
 
@@ -181,6 +183,10 @@ class CustomApplications(Applications):
 			return tup('aunpack', '-l', c.file.path)
 		return tup('aunpack', c.file.path)
 
+	@depends_on('fceux')
+	def app_fceux(self, c):
+		return tup('fceux', *c)
+
 	@depends_on('apvlv')
 	def app_apvlv(self, c):
 		c.flags += 'd'