Add special log for stubs (#81)
* add stub loglevel * add log for stubbed methods
This commit is contained in:
@@ -57,6 +57,8 @@ namespace Ryujinx.Core.OsHle.Services.Aud
|
||||
|
||||
string Name = AMemoryHelper.ReadAsciiString(Context.Memory, Position, Size);
|
||||
|
||||
Logging.Stub(LogClass.ServiceAudio, $"Volume = {Volume}, Position = {Position}, Size = {Size}");
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@@ -124,14 +124,14 @@ namespace Ryujinx.Core.OsHle.Services.Aud
|
||||
|
||||
public long AppendAudioOutBufferEx(ServiceCtx Context)
|
||||
{
|
||||
Logging.Warn(LogClass.ServiceAudio, "Not implemented!");
|
||||
Logging.Stub(LogClass.ServiceAudio, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public long GetReleasedAudioOutBufferEx(ServiceCtx Context)
|
||||
{
|
||||
Logging.Warn(LogClass.ServiceAudio, "Not implemented!");
|
||||
Logging.Stub(LogClass.ServiceAudio, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@@ -54,11 +54,15 @@ namespace Ryujinx.Core.OsHle.Services.Aud
|
||||
|
||||
public long StartAudioRenderer(ServiceCtx Context)
|
||||
{
|
||||
Logging.Stub(LogClass.ServiceAudio, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public long StopAudioRenderer(ServiceCtx Context)
|
||||
{
|
||||
Logging.Stub(LogClass.ServiceAudio, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -42,6 +42,8 @@ namespace Ryujinx.Core.OsHle.Services.Aud
|
||||
int Unknown2c = Context.RequestData.ReadInt32();
|
||||
int Rev1Magic = Context.RequestData.ReadInt32();
|
||||
|
||||
Logging.Stub(LogClass.ServiceAudio, "BufferSize = 0x400L");
|
||||
|
||||
Context.ResponseData.Write(0x400L);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user