diff options
| author | bunnei <bunneidev@gmail.com> | 2014-11-23 14:32:55 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2014-11-23 14:32:55 -0500 |
| commit | aa986370f3d19d93c24fcd158c551f2a994eec58 (patch) | |
| tree | 1d1d0a92efa278d7254c99245c10aa3b78ed700d /src/core/hle/service/csnd_snd.cpp | |
| parent | c0cd0fa78edc37795176c6fb45a52c1d015f3690 (diff) | |
| parent | 9821bfcb8e6be2e220ae757d65d47cd478e8bfc8 (diff) | |
Merge pull request #190 from purpasmart96/more_services
Add more services and general fixes
Diffstat (limited to 'src/core/hle/service/csnd_snd.cpp')
| -rw-r--r-- | src/core/hle/service/csnd_snd.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/core/hle/service/csnd_snd.cpp b/src/core/hle/service/csnd_snd.cpp new file mode 100644 index 000000000..6e59a9bf3 --- /dev/null +++ b/src/core/hle/service/csnd_snd.cpp @@ -0,0 +1,39 @@ +// Copyright 2014 Citra Emulator Project +// Licensed under GPLv2 +// 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"}, + {0x00030040, nullptr, "Unknown"}, + {0x00040080, nullptr, "Unknown"}, + {0x00050000, nullptr, "Unknown"}, + {0x00060000, nullptr, "Unknown"}, + {0x00070000, nullptr, "Unknown"}, + {0x00080040, nullptr, "Unknown"}, + {0x00090082, nullptr, "FlushDCache"}, + {0x000A0082, nullptr, "StoreDCache"}, + {0x000B0082, nullptr, "InvalidateDCache"}, + {0x000C0000, nullptr, "Unknown"}, +}; + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Interface class + +Interface::Interface() { + Register(FunctionTable, ARRAY_SIZE(FunctionTable)); +} + +Interface::~Interface() { +} + +} // namespace |
