forked from MeloNX/MeloNX
* Implement NGC service * Use raw byte arrays instead of string for _wordSeparators * Silence IDE0230 for _wordSeparators * Try to silence warning about _rangeValuesCount not being read on SparseSet * Make AcType enum private * Add abstract methods and one TODO that I forgot * PR feedback * More PR feedback * More PR feedback
21 lines
627 B
C#
21 lines
627 B
C#
using Ryujinx.Horizon.Common;
|
|
using Ryujinx.Horizon.Sdk.Lm;
|
|
using Ryujinx.Horizon.Sdk.Sf;
|
|
|
|
namespace Ryujinx.Horizon.LogManager.Ipc
|
|
{
|
|
partial class LogService : ILogService
|
|
{
|
|
public LogDestination LogDestination { get; set; } = LogDestination.TargetManager;
|
|
|
|
[CmifCommand(0)]
|
|
public Result OpenLogger(out LmLogger logger, [ClientProcessId] ulong pid)
|
|
{
|
|
// NOTE: Internal name is Logger, but we rename it to LmLogger to avoid name clash with Ryujinx.Common.Logging logger.
|
|
logger = new LmLogger(this, pid);
|
|
|
|
return Result.Success;
|
|
}
|
|
}
|
|
}
|