mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
refactor: remove unnecessary logging from libc hooks
This commit is contained in:
parent
4f9cfd3b45
commit
3ba590e3f9
2 changed files with 0 additions and 4 deletions
|
|
@ -26,8 +26,6 @@ namespace Dalamud.Game.Internal.Libc {
|
|||
}
|
||||
|
||||
public OwnedStdString NewString(byte[] content) {
|
||||
Log.Verbose("Allocating");
|
||||
|
||||
// While 0x70 bytes in the memory should be enough in DX11 version,
|
||||
// I don't trust my analysis so we're just going to allocate almost two times more than that.
|
||||
var pString = Marshal.AllocHGlobal(256);
|
||||
|
|
|
|||
|
|
@ -39,8 +39,6 @@ namespace Dalamud.Game.Internal.Libc {
|
|||
// Something got seriously fucked.
|
||||
throw new AccessViolationException();
|
||||
}
|
||||
|
||||
Log.Verbose("Deallocting {Addr}", Address);
|
||||
|
||||
// Deallocate inner string first
|
||||
this.dealloc(Address);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue