2014-11-12 16:13:08 -05:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 00:38:14 -05:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-11-12 16:13:08 -05:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "common/log.h"
|
|
|
|
#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-01 19:58:27 -05:00
|
|
|
{0x00030040, nullptr, "ExecuteType0Commands"},
|
|
|
|
{0x00040080, nullptr, "ExecuteType1Commands"},
|
|
|
|
{0x00050000, nullptr, "AcquireSoundChannels"},
|
|
|
|
{0x00060000, nullptr, "ReleaseSoundChannels"},
|
|
|
|
{0x00070000, nullptr, "AcquireCaptureDevice"},
|
|
|
|
{0x00080040, nullptr, "ReleaseCaptureDevice"},
|
2014-11-12 16:13:08 -05:00
|
|
|
{0x00090082, nullptr, "FlushDCache"},
|
|
|
|
{0x000A0082, nullptr, "StoreDCache"},
|
|
|
|
{0x000B0082, nullptr, "InvalidateDCache"},
|
|
|
|
};
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Interface class
|
|
|
|
|
|
|
|
Interface::Interface() {
|
|
|
|
Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace
|