mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
dd4203bec8
Also moves a cpp file's related header file to the top of the inclusions if it isn't already there.
19 lines
402 B
C++
19 lines
402 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "Core/DSPEmulator.h"
|
|
|
|
#include <memory>
|
|
|
|
#include "Core/HW/DSPHLE/DSPHLE.h"
|
|
#include "Core/HW/DSPLLE/DSPLLE.h"
|
|
|
|
std::unique_ptr<DSPEmulator> CreateDSPEmulator(bool hle)
|
|
{
|
|
if (hle)
|
|
return std::make_unique<DSP::HLE::DSPHLE>();
|
|
|
|
return std::make_unique<DSP::LLE::DSPLLE>();
|
|
}
|