2014-11-12 21:13:08 +00:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 05:38:14 +00:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-11-12 21:13:08 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "core/hle/hle.h"
|
|
|
|
#include "core/hle/service/csnd_snd.h"
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Namespace CSND_SND
|
|
|
|
|
|
|
|
namespace CSND_SND {
|
|
|
|
|
|
|
|
const Interface::FunctionInfo FunctionTable[] = {
|
|
|
|
{0x00010140, nullptr, "Initialize"},
|
|
|
|
{0x00020000, nullptr, "Shutdown"},
|
2015-01-02 00:58:27 +00:00
|
|
|
{0x00030040, nullptr, "ExecuteType0Commands"},
|
|
|
|
{0x00040080, nullptr, "ExecuteType1Commands"},
|
|
|
|
{0x00050000, nullptr, "AcquireSoundChannels"},
|
|
|
|
{0x00060000, nullptr, "ReleaseSoundChannels"},
|
|
|
|
{0x00070000, nullptr, "AcquireCaptureDevice"},
|
|
|
|
{0x00080040, nullptr, "ReleaseCaptureDevice"},
|
2014-11-12 21:13:08 +00:00
|
|
|
{0x00090082, nullptr, "FlushDCache"},
|
|
|
|
{0x000A0082, nullptr, "StoreDCache"},
|
|
|
|
{0x000B0082, nullptr, "InvalidateDCache"},
|
|
|
|
};
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Interface class
|
|
|
|
|
|
|
|
Interface::Interface() {
|
2015-01-30 18:56:49 +00:00
|
|
|
Register(FunctionTable);
|
2014-11-12 21:13:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace
|