mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-05 06:47:53 +00:00
ef24e72b26
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
34 lines
1.2 KiB
C++
34 lines
1.2 KiB
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// 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"},
|
|
{0x00030040, nullptr, "ExecuteType0Commands"},
|
|
{0x00040080, nullptr, "ExecuteType1Commands"},
|
|
{0x00050000, nullptr, "AcquireSoundChannels"},
|
|
{0x00060000, nullptr, "ReleaseSoundChannels"},
|
|
{0x00070000, nullptr, "AcquireCaptureDevice"},
|
|
{0x00080040, nullptr, "ReleaseCaptureDevice"},
|
|
{0x00090082, nullptr, "FlushDCache"},
|
|
{0x000A0082, nullptr, "StoreDCache"},
|
|
{0x000B0082, nullptr, "InvalidateDCache"},
|
|
};
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Interface class
|
|
|
|
Interface::Interface() {
|
|
Register(FunctionTable);
|
|
}
|
|
|
|
} // namespace
|