mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-16 12:16:29 +02:00
add bionic nativeaot support
This commit is contained in:
parent
ad0f9a7fc7
commit
4d06f19fe7
45 changed files with 2046 additions and 27 deletions
|
@ -41,10 +41,16 @@ namespace LibRyujinx
|
|||
|
||||
ConfigurationState.Initialize();
|
||||
LoggerModule.Initialize();
|
||||
Logger.AddTarget(
|
||||
new AsyncLogTargetWrapper(
|
||||
new AndroidLogTarget("Ryujinx"),
|
||||
1000,
|
||||
AsyncLogTargetOverflowAction.Block
|
||||
));
|
||||
|
||||
SwitchDevice = new SwitchDevice();
|
||||
|
||||
Logger.SetEnable(LogLevel.Debug, false);
|
||||
Logger.SetEnable(LogLevel.Debug, true);
|
||||
Logger.SetEnable(LogLevel.Stub, true);
|
||||
Logger.SetEnable(LogLevel.Info, true);
|
||||
Logger.SetEnable(LogLevel.Warning, true);
|
||||
|
@ -94,7 +100,7 @@ namespace LibRyujinx
|
|||
UserChannelPersistence = new UserChannelPersistence();
|
||||
}
|
||||
|
||||
public bool InitializeContext()
|
||||
public bool InitializeContext(bool isHostMapped)
|
||||
{
|
||||
if(LibRyujinx.Renderer == null)
|
||||
{
|
||||
|
@ -130,7 +136,7 @@ namespace LibRyujinx
|
|||
0,
|
||||
0,
|
||||
"UTC",
|
||||
MemoryManagerMode.HostMappedUnsafe,
|
||||
isHostMapped ? MemoryManagerMode.HostMappedUnsafe : MemoryManagerMode.SoftwarePageTable,
|
||||
false,
|
||||
LibRyujinx.GraphicsConfiguration.AspectRatio,
|
||||
0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue