mic_u.cpp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/hle.h"
  5. #include "core/hle/service/mic_u.h"
  6. ////////////////////////////////////////////////////////////////////////////////////////////////////
  7. // Namespace MIC_U
  8. namespace MIC_U {
  9. const Interface::FunctionInfo FunctionTable[] = {
  10. {0x00010042, nullptr, "MapSharedMem"},
  11. {0x00020000, nullptr, "UnmapSharedMem"},
  12. {0x00030140, nullptr, "Initialize"},
  13. {0x00040040, nullptr, "AdjustSampling"},
  14. {0x00050000, nullptr, "StopSampling"},
  15. {0x00060000, nullptr, "IsSampling"},
  16. {0x00070000, nullptr, "GetEventHandle"},
  17. {0x00080040, nullptr, "SetGain"},
  18. {0x00090000, nullptr, "GetGain"},
  19. {0x000A0040, nullptr, "SetPower"},
  20. {0x000B0000, nullptr, "GetPower"},
  21. {0x000C0042, nullptr, "size"},
  22. {0x000D0040, nullptr, "SetClamp"},
  23. {0x000E0000, nullptr, "GetClamp"},
  24. {0x000F0040, nullptr, "SetAllowShellClosed"},
  25. {0x00100040, nullptr, "unknown_input2"},
  26. };
  27. ////////////////////////////////////////////////////////////////////////////////////////////////////
  28. // Interface class
  29. Interface::Interface() {
  30. Register(FunctionTable);
  31. }
  32. } // namespace