mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-19 10:46:28 +01:00

The SDL backend crashes when you close a joystick after SDL_Quit has been called. Some backends don't need to be shutdown and re-initialized everytime, we can just ask to enumerate devices again.
18 lines
292 B
C++
18 lines
292 B
C++
// Copyright 2010 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
namespace ciface
|
|
{
|
|
namespace OSX
|
|
{
|
|
void Init(void* window);
|
|
void PopulateDevices(void* window);
|
|
void DeInit();
|
|
|
|
void DeviceElementDebugPrint(const void*, void*);
|
|
}
|
|
}
|