We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3091

Summary: SDL_JoystickName return NULL if SDL1.2 mixed whit SDL2.0
Product: SDL Reporter: Guillermo Reisch <guillere>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED WONTFIX QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus
Version: 2.0.2   
Hardware: x86   
OS: Linux   

Description Guillermo Reisch 2015-08-12 10:07:02 UTC
The problem is whit mupen64plus (Nintendo 64 emulator) is a plugin based emulator, if the core is compiled whit SDL1.2 and the plugin is compiled whit SDL2.0 then the plugin cannot get Joystick Name ( it return NULL )

If the plugin is a Third party plugin you can't recompile...

Can SDL check for other version already loaded and inform the problem (if conjunt work is not posible) ? maybe "exit(-1) ; "mixed SDL version detected!" >> stderr"

Greetings
Guillermo Reisch
Comment 1 Ryan C. Gordon 2015-08-12 14:14:32 UTC
I don't think we'll be able to resolve this on our end. Mupen needs to move to SDL2.

Sorry.

--ryan.