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 - SDL_JoystickName return NULL if SDL1.2 mixed whit SDL2.0
Summary: SDL_JoystickName return NULL if SDL1.2 mixed whit SDL2.0
Status: RESOLVED WONTFIX
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: 2.0.2
Hardware: x86 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 10:07 UTC by Guillermo Reisch
Modified: 2015-08-12 14:14 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.