2013-04-17 22:43:11 -04:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2010-08-04 14:00:59 +00:00
|
|
|
|
2014-02-17 05:18:15 -05:00
|
|
|
#include "Core/DSPEmulator.h"
|
2010-08-04 14:00:59 +00:00
|
|
|
|
2014-02-17 05:18:15 -05:00
|
|
|
#include "Core/HW/DSPHLE/DSPHLE.h"
|
2014-02-19 13:09:14 -05:00
|
|
|
#include "Core/HW/DSPLLE/DSPLLE.h"
|
2010-08-04 14:00:59 +00:00
|
|
|
|
2013-10-29 01:23:17 -04:00
|
|
|
DSPEmulator *CreateDSPEmulator(bool HLE)
|
2010-08-04 14:00:59 +00:00
|
|
|
{
|
2011-01-28 18:39:30 +00:00
|
|
|
if (HLE)
|
|
|
|
{
|
|
|
|
return new DSPHLE();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
return new DSPLLE();
|
|
|
|
}
|
|
|
|
}
|