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

Previously, the devices vector would be passed to all backends. They would then manually push_back to it to add new devices. This was fine but caused issues when trying to add synchronisation. Instead, backends now call AddDevice() to fill m_devices so that it is not accessible from the outside.
17 lines
256 B
C++
17 lines
256 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 DeInit();
|
|
|
|
void DeviceElementDebugPrint(const void*, void*);
|
|
}
|
|
}
|