Code: Select all
uint32_t crap; resource_bg = vc_dispmanx_resource_create(VC_IMAGE_RGB565, 128, 128, &crap); dispman_element_bg = vc_dispmanx_element_add( dispman_update, dispman_display, 9, &dst_rect, resource_bg, &src_rect, DISPMANX_PROTECTION_NONE, 0, 0, (DISPMANX_TRANSFORM_T) 0 ); nativewindow.element = dispman_element; nativewindow.width = display_width; nativewindow.height = display_height; vc_dispmanx_update_submit_sync(dispman_update); surface = eglCreateWindowSurface(display, config, &nativewindow, NULL);// HERE assert(surface != EGL_NO_SURFACE);
I'm having this exact issue right now! Yet I'm using the most current version of PiSNES... any ideas people?JBaker1225 wrote:Awesome, thanks. I tried pulling the build down from the new Retro Pie setup script, and it's the same problem with regards to controls. It's launching from /RetroPie/emulators/pisnes/snes9x and the snes9x.cfg is in the same directory, but it still won't recognize it.pudding wrote:I'll put a fix in for this. And I'll add an option to stretch the video.JBaker1225 wrote:However, I redirected EmulationStation to launch my ROMs in SNES9X. And when I do, everything works perfectly, except the controls have reverted back to the default settings, without my custom mapping.
Any idea why this is
But when I launch from the terminal viaThe controls I set are recognized and work perfectly. So it seems like an odd bug (at least to someone like me who understands absolute zero about programming and Linux )
Code: Select all
Anyway, glad to hear you're working on it and really appreciate everything you've done. Looking forward to an update in the next few days.
Yes.mrpi64 wrote:Is there any way to save states?
Code: Select all
[Keyboard] # Get codes from /usr/include/SDL/SDL_keysym.h # PuppetHound Z Custom Layout. This allows you to use the Keyboard in a more natural layout for your hands while at the same time attempting to mimick a game pad or Arcade Joypad with minimal hand strain. A_1=59 # A Button= Keyboard ; # should rest your right pinky finger on this key. B_1=111 # B Button= Keybaord O # rest your right ring finger on this key X_1=105 # X Button=Keyboard I # rest your right middle finger on this key Y_1=106 # Y Button= Keyboard J # rest your right index finger on this key L_1=276 # Left Trigger= Keyboard A # rest your left pinky finger on this key R_1=32 # Right Trigger= Space Bar # rest your left or right thumb on this key START_1=13 # Keybaord Return # Default key based on PiSNES, but can be accessed with your right pinky finger SELECT_1=9 # Keyboard Tab # Default key based on the PiSNES, but can be easily reached with your left pinky finger LEFT_1=115 # D-Pad Left= S # rest your left ring finger on this key RIGHT_1=102 # D-Pad Right= F # rest your left index finger on this key UP_1=101 # D-Pad Up= E also used for navigating menu in PiSNES # middle finger can rest on this key or D DOWN_1=100 # D-Pad Down= D also used for navigating menu in PiSNES # middle finger can rest on this key or E QUIT=27 # Escape Key # default in PiSNES ACCEL=8 # Backspace # default in PiSNES [Joystick] # Get codes from "jstest /dev/input/js0" # from package "joystick" A_1=3 B_1=2 X_1=1 Y_1=0 L_1=4 R_1=6 START_1=9 SELECT_1=8 QUIT=99 ACCEL=7 QLOAD=10 QSAVE=11 #Joystick axis JA_LR=0 JA_UD=1 [Graphics] DisplaySmoothStretch=1 # Display Effect: 0 none, 1 scanlines, 2 phospher # NOTE Phospher does not run at full speed DisplayEffect=0 MaintainAspectRatio=1 DisplayBorder=0 AutoFrameskip=1 Frameskip=200 Transparency=1 CPUCycles=100 [Sound] APUEnabled=1 # Sound rates below as index, i.e. 7=44100 (some of these produce static) # 0, 8192, 11025, 16000, 22050, 29300, 32000, 44100 SoundPlaybackRate=7 InterpolatedSound=0
Code: Select all
kernel:[ 83.151277] Internal error: Oops: 5 [#1] PREEMPT ARM Message from [email protected] at Mar 17 16:28:02 ... kernel:[ 83.228558] Process snes9x (pid: 2190, stack limit = 0xda2ac1b0) Message from [email protected] at Mar 17 16:28:02 ... kernel:[ 83.234554] Stack: (0xda2adfb0 to 0xda2ae000) Message from [email protected] at Mar 17 16:28:02 ... kernel:[ 83.238910] dfa0: bed412e8 00000000 55085612 00000001 Message from [email protected] at Mar 17 16:28:02 ... kernel:[ 83.247080] dfc0: bed412e8 0007e3bc 001376f0 0000004e 00000005 000080a5 00000000 b5a1c008 Message from [email protected] at Mar 17 16:28:02 ... kernel:[ 83.255249] dfe0: 00000005 bed412e8 00044310 b6a252ec 20000010 bed412e8 00000000 00000000 Message from [email protected] at Mar 17 16:28:02 ... kernel:[ 83.269793] Code: e58d0044 e3a0b000 ee11cf10 e59fa0b0 (e59aa000)
Awesome. I didn't even know he made a new update and migrated to Sourceforge. Sweet.ulysess wrote:With the new release of pisnes in http://sourceforge.net/projects/pisnes, I test on the Pi2 and works fine, but when I try to run on the Raspberry Pi Model B, I get the next error:
I use the latest Raspbian.