src/video/gem/SDL_gemvideo.c
branchSDL-1.2
changeset 9131 8b9217e06b02
parent 9130 347df449e563
equal deleted inserted replaced
9130:347df449e563 9131:8b9217e06b02
   302 {
   302 {
   303 	int i, menubar_size;
   303 	int i, menubar_size;
   304 	short work_in[12], work_out[272], dummy;
   304 	short work_in[12], work_out[272], dummy;
   305 
   305 
   306 	/* Open AES (Application Environment Services) */
   306 	/* Open AES (Application Environment Services) */
   307 	if (appl_init() == -1) {
   307 	GEM_ap_id = appl_init();
       
   308 	if (GEM_ap_id == -1) {
   308 		fprintf(stderr,"Can not open AES\n");
   309 		fprintf(stderr,"Can not open AES\n");
   309 		return 1;
   310 		return 1;
   310 	}
   311 	}
   311 
   312 
   312 	/* Read version and features */
   313 	/* Read version and features */