IL2CPU
IL2CPU copied to clipboard
Struct member to object conversion
Possible issues
The convertion between a struct member to an object in IL2CPU might be not working for some reasons.
Log
System.Exception: OpCode IL_007D: Ldflda tries to pop item at stack position 0 with type Aura_OS.Core.VBE+ModeInfo&, but actual type is System.IntPtr
Example
public struct ModeInfo
{
public byte bpp;
}
Console.WriteLine("BPP: " + ModeInfo.bpp);