src/video/gem/SDL_gemvideo.c
branchSDL-1.2
changeset 9131 8b9217e06b02
parent 9130 347df449e563
--- a/src/video/gem/SDL_gemvideo.c	Thu Sep 11 21:51:10 2014 +0200
+++ b/src/video/gem/SDL_gemvideo.c	Thu Sep 11 21:53:06 2014 +0200
@@ -304,7 +304,8 @@
 	short work_in[12], work_out[272], dummy;
 
 	/* Open AES (Application Environment Services) */
-	if (appl_init() == -1) {
+	GEM_ap_id = appl_init();
+	if (GEM_ap_id == -1) {
 		fprintf(stderr,"Can not open AES\n");
 		return 1;
 	}