mic_u.cpp 1.5 KB

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