// Copyright 2018 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #include "core/frontend/mic.h" #include "core/hle/service/mic_u.h" namespace Frontend { static std::shared_ptr current_mic; void RegisterMic(std::shared_ptr mic) { current_mic = mic; } std::shared_ptr GetCurrentMic() { if (!current_mic) { current_mic = std::make_shared(); } return current_mic; } } // namespace Frontend