Skip to content

Commit

Permalink
Add a bit more info
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentHammerHUN committed Aug 3, 2019
1 parent dc1d48d commit e3c8522
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rhydon.Core/Parser/KoiHeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void ReadReferences(RhydonContext ctx, int count) {
var token = FromCodedToken(ctx.ReadCompressedUint());
var resolved = (IMemberRef)ctx.Module.ResolveToken(token);

ctx.Logger.Debug($"Reference[{id:D3}]: Token: 0x{token:X} | MemberRef: {resolved.FullName}");
ctx.Logger.Debug($"Reference[{id:D3}]: Token: 0x{token:X} | MemberRef: {resolved.Name}");
References[id] = resolved;
}
}
Expand Down
2 changes: 2 additions & 0 deletions Rhydon.Emulator/KoiEmulator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public KoiEmulator(RhydonContext ctx, MethodExport export) {
.Select(Activator.CreateInstance).Cast<IKoiHandler>().ToArray()) {
_handlers[h.Handles] = h;
}

ctx.Logger.Info($"Emulating virtualized method at offset: 0x{export.Offset:X8}");
}

readonly RhydonContext _ctx;
Expand Down

0 comments on commit e3c8522

Please sign in to comment.