Rename Ryujinx.Core to Ryujinx.HLE and add a separate project for a future LLE implementation

This commit is contained in:
gdkchan 2018-06-10 21:46:42 -03:00
parent 518fe799da
commit 76f3b1b3a4
248 changed files with 2266 additions and 2244 deletions

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
class BlockLinearSwizzle : ISwizzle class BlockLinearSwizzle : ISwizzle
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
interface INvGpuEngine interface INvGpuEngine
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
interface ISwizzle interface ISwizzle
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
class LinearSwizzle : ISwizzle class LinearSwizzle : ISwizzle
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
class MacroInterpreter class MacroInterpreter
{ {

View File

@ -1,7 +1,7 @@
using Ryujinx.Graphics.Gal; using Ryujinx.Graphics.Gal;
using System.Threading; using System.Threading;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
class NvGpu class NvGpu
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
enum NvGpuBufferType enum NvGpuBufferType
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
enum NvGpuEngine enum NvGpuEngine
{ {

View File

@ -1,7 +1,7 @@
using Ryujinx.Graphics.Gal; using Ryujinx.Graphics.Gal;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
class NvGpuEngine2d : INvGpuEngine class NvGpuEngine2d : INvGpuEngine
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
enum NvGpuEngine2dReg enum NvGpuEngine2dReg
{ {

View File

@ -2,7 +2,7 @@ using Ryujinx.Graphics.Gal;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
class NvGpuEngine3d : INvGpuEngine class NvGpuEngine3d : INvGpuEngine
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
enum NvGpuEngine3dReg enum NvGpuEngine3dReg
{ {

View File

@ -1,6 +1,6 @@
using System.Collections.Concurrent; using System.Collections.Concurrent;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
class NvGpuFifo class NvGpuFifo
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
enum NvGpuFifoMeth enum NvGpuFifoMeth
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
delegate void NvGpuMethod(NvGpuVmm Vmm, NvGpuPBEntry PBEntry); delegate void NvGpuMethod(NvGpuVmm Vmm, NvGpuPBEntry PBEntry);
} }

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
struct NvGpuPBEntry struct NvGpuPBEntry
{ {

View File

@ -1,7 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
static class NvGpuPushBuffer static class NvGpuPushBuffer
{ {

View File

@ -2,7 +2,7 @@ using ChocolArm64.Memory;
using Ryujinx.Graphics.Gal; using Ryujinx.Graphics.Gal;
using System.Collections.Concurrent; using System.Collections.Concurrent;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
class NvGpuVmm : IAMemory, IGalMemory class NvGpuVmm : IAMemory, IGalMemory
{ {

View File

@ -2,7 +2,7 @@ using ChocolArm64.Memory;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
class NvGpuVmmCache class NvGpuVmmCache
{ {

View File

@ -1,6 +1,6 @@
using Ryujinx.Graphics.Gal; using Ryujinx.Graphics.Gal;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
struct Texture struct Texture
{ {

View File

@ -1,7 +1,7 @@
using Ryujinx.Graphics.Gal; using Ryujinx.Graphics.Gal;
using System; using System;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
static class TextureFactory static class TextureFactory
{ {

View File

@ -2,7 +2,7 @@ using ChocolArm64.Memory;
using Ryujinx.Graphics.Gal; using Ryujinx.Graphics.Gal;
using System; using System;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
static class TextureHelper static class TextureHelper
{ {

View File

@ -2,7 +2,7 @@ using ChocolArm64.Memory;
using Ryujinx.Graphics.Gal; using Ryujinx.Graphics.Gal;
using System; using System;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
static class TextureReader static class TextureReader
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
enum TextureSwizzle enum TextureSwizzle
{ {

View File

@ -2,7 +2,7 @@ using ChocolArm64.Memory;
using Ryujinx.Graphics.Gal; using Ryujinx.Graphics.Gal;
using System; using System;
namespace Ryujinx.Core.Gpu namespace Ryujinx.HLE.Gpu
{ {
static class TextureWriter static class TextureWriter
{ {

View File

@ -1,10 +1,10 @@
using ChocolArm64.Memory; using ChocolArm64.Memory;
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle; using Ryujinx.HLE.OsHle;
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using System; using System;
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
public class Hid public class Hid
{ {

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
[Flags] [Flags]
public enum HidControllerButtons public enum HidControllerButtons

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
[Flags] [Flags]
public enum HidControllerColorDesc public enum HidControllerColorDesc

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
[Flags] [Flags]
public enum HidControllerConnState public enum HidControllerConnState

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
public enum HidControllerId public enum HidControllerId
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
public enum HidControllerLayouts public enum HidControllerLayouts
{ {

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
[Flags] [Flags]
public enum HidControllerType public enum HidControllerType

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
public struct HidJoystickPosition public struct HidJoystickPosition
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
public struct HidTouchPoint public struct HidTouchPoint
{ {

View File

@ -1,5 +1,5 @@
//TODO: This is only used by Config, it doesn't belong to Core. //TODO: This is only used by Config, it doesn't belong to Core.
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
public struct JoyConLeft public struct JoyConLeft
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Input namespace Ryujinx.HLE.Input
{ {
public enum JoyConColor //Thanks to CTCaer public enum JoyConColor //Thanks to CTCaer
{ {

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Ryujinx.Core.Loaders.Compression namespace Ryujinx.HLE.Loaders.Compression
{ {
static class Lz4 static class Lz4
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Loaders namespace Ryujinx.HLE.Loaders
{ {
struct ElfDyn struct ElfDyn
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Loaders namespace Ryujinx.HLE.Loaders
{ {
enum ElfDynTag enum ElfDynTag
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Loaders namespace Ryujinx.HLE.Loaders
{ {
struct ElfRel struct ElfRel
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Loaders namespace Ryujinx.HLE.Loaders
{ {
enum ElfRelType enum ElfRelType
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Loaders namespace Ryujinx.HLE.Loaders
{ {
struct ElfSym struct ElfSym
{ {
@ -12,7 +12,7 @@ namespace Ryujinx.Core.Loaders
Type == ElfSymType.STT_FUNC || Type == ElfSymType.STT_FUNC ||
Type == ElfSymType.STT_OBJECT; Type == ElfSymType.STT_OBJECT;
public bool IsGlobalOrWeak => public bool IsGlobalOrWeak =>
Binding == ElfSymBinding.STB_GLOBAL || Binding == ElfSymBinding.STB_GLOBAL ||
Binding == ElfSymBinding.STB_WEAK; Binding == ElfSymBinding.STB_WEAK;
@ -22,7 +22,7 @@ namespace Ryujinx.Core.Loaders
public ElfSym( public ElfSym(
string Name, string Name,
int Info, int Info,
int Other, int Other,
int SHIdx, int SHIdx,
long Value, long Value,

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Loaders namespace Ryujinx.HLE.Loaders
{ {
enum ElfSymBinding enum ElfSymBinding
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Loaders namespace Ryujinx.HLE.Loaders
{ {
enum ElfSymType enum ElfSymType
{ {

View File

@ -1,10 +1,10 @@
namespace Ryujinx.Core.Loaders namespace Ryujinx.HLE.Loaders
{ {
enum ElfSymVisibility enum ElfSymVisibility
{ {
STV_DEFAULT = 0, STV_DEFAULT = 0,
STV_INTERNAL = 1, STV_INTERNAL = 1,
STV_HIDDEN = 2, STV_HIDDEN = 2,
STV_PROTECTED = 3 STV_PROTECTED = 3
} }
} }

View File

@ -1,9 +1,9 @@
using ChocolArm64.Memory; using ChocolArm64.Memory;
using Ryujinx.Core.Loaders.Executables; using Ryujinx.HLE.Loaders.Executables;
using Ryujinx.Core.OsHle; using Ryujinx.HLE.OsHle;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.Loaders namespace Ryujinx.HLE.Loaders
{ {
class Executable class Executable
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Loaders.Executables namespace Ryujinx.HLE.Loaders.Executables
{ {
public interface IExecutable public interface IExecutable
{ {

View File

@ -1,6 +1,6 @@
using System.IO; using System.IO;
namespace Ryujinx.Core.Loaders.Executables namespace Ryujinx.HLE.Loaders.Executables
{ {
class Nro : IExecutable class Nro : IExecutable
{ {

View File

@ -1,8 +1,8 @@
using Ryujinx.Core.Loaders.Compression; using Ryujinx.HLE.Loaders.Compression;
using System; using System;
using System.IO; using System.IO;
namespace Ryujinx.Core.Loaders.Executables namespace Ryujinx.HLE.Loaders.Executables
{ {
class Nso : IExecutable class Nso : IExecutable
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Logging namespace Ryujinx.HLE.Logging
{ {
public enum LogClass public enum LogClass
{ {

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Ryujinx.Core.Logging namespace Ryujinx.HLE.Logging
{ {
public class LogEventArgs : EventArgs public class LogEventArgs : EventArgs
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.Logging namespace Ryujinx.HLE.Logging
{ {
public enum LogLevel public enum LogLevel
{ {

View File

@ -2,7 +2,7 @@ using System;
using System.Diagnostics; using System.Diagnostics;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
namespace Ryujinx.Core.Logging namespace Ryujinx.HLE.Logging
{ {
public class Logger public class Logger
{ {

View File

@ -1,9 +1,9 @@
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using Ryujinx.Core.OsHle.Services.Am; using Ryujinx.HLE.OsHle.Services.Am;
using System; using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
class AppletStateMgr : IDisposable class AppletStateMgr : IDisposable
{ {

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Ryujinx.Core.OsHle.Diagnostics namespace Ryujinx.HLE.OsHle.Diagnostics
{ {
static class Demangler static class Demangler
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
static class ErrorCode static class ErrorCode
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
enum ErrorModule enum ErrorModule
{ {

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Ryujinx.Core.OsHle.Exceptions namespace Ryujinx.HLE.OsHle.Exceptions
{ {
public class GuestBrokeExecutionException : Exception public class GuestBrokeExecutionException : Exception
{ {

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Ryujinx.Core.OsHle.Exceptions namespace Ryujinx.HLE.OsHle.Exceptions
{ {
public class UndefinedInstructionException : Exception public class UndefinedInstructionException : Exception
{ {

View File

@ -1,7 +1,7 @@
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
class GlobalStateTable class GlobalStateTable
{ {

View File

@ -2,7 +2,7 @@ using ChocolArm64.Memory;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.OsHle.Handles namespace Ryujinx.HLE.OsHle.Handles
{ {
class HSharedMem class HSharedMem
{ {

View File

@ -1,6 +1,6 @@
using ChocolArm64.Memory; using ChocolArm64.Memory;
namespace Ryujinx.Core.OsHle.Handles namespace Ryujinx.HLE.OsHle.Handles
{ {
class HTransferMem class HTransferMem
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle.Handles namespace Ryujinx.HLE.OsHle.Handles
{ {
class KEvent : KSynchronizationObject { } class KEvent : KSynchronizationObject { }
} }

View File

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.OsHle.Handles namespace Ryujinx.HLE.OsHle.Handles
{ {
class KProcessHandleTable class KProcessHandleTable
{ {

View File

@ -1,9 +1,9 @@
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using System; using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Threading; using System.Threading;
namespace Ryujinx.Core.OsHle.Handles namespace Ryujinx.HLE.OsHle.Handles
{ {
class KProcessScheduler : IDisposable class KProcessScheduler : IDisposable
{ {

View File

@ -1,7 +1,7 @@
using Ryujinx.Core.OsHle.Services; using Ryujinx.HLE.OsHle.Services;
using System; using System;
namespace Ryujinx.Core.OsHle.Handles namespace Ryujinx.HLE.OsHle.Handles
{ {
class KSession : IDisposable class KSession : IDisposable
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Threading; using System.Threading;
namespace Ryujinx.Core.OsHle.Handles namespace Ryujinx.HLE.OsHle.Handles
{ {
class KSynchronizationObject : IDisposable class KSynchronizationObject : IDisposable
{ {

View File

@ -1,7 +1,7 @@
using ChocolArm64; using ChocolArm64;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.OsHle.Handles namespace Ryujinx.HLE.OsHle.Handles
{ {
class KThread : KSynchronizationObject class KThread : KSynchronizationObject
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Threading; using System.Threading;
namespace Ryujinx.Core.OsHle.Handles namespace Ryujinx.HLE.OsHle.Handles
{ {
class SchedulerThread : IDisposable class SchedulerThread : IDisposable
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle.Handles namespace Ryujinx.HLE.OsHle.Handles
{ {
class ThreadQueue class ThreadQueue
{ {

View File

@ -1,6 +1,6 @@
using ChocolArm64.Memory; using ChocolArm64.Memory;
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
static class Homebrew static class Homebrew
{ {

View File

@ -1,11 +1,11 @@
using Ryujinx.Core.Loaders.Executables; using Ryujinx.HLE.Loaders.Executables;
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using System; using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.IO; using System.IO;
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
public class Horizon : IDisposable public class Horizon : IDisposable
{ {

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
class IdDictionary class IdDictionary
{ {

View File

@ -1,6 +1,6 @@
using System.IO; using System.IO;
namespace Ryujinx.Core.OsHle.Ipc namespace Ryujinx.HLE.OsHle.Ipc
{ {
struct IpcBuffDesc struct IpcBuffDesc
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using System.IO; using System.IO;
namespace Ryujinx.Core.OsHle.Ipc namespace Ryujinx.HLE.OsHle.Ipc
{ {
class IpcHandleDesc class IpcHandleDesc
{ {

View File

@ -1,9 +1,9 @@
using ChocolArm64.Memory; using ChocolArm64.Memory;
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using System; using System;
using System.IO; using System.IO;
namespace Ryujinx.Core.OsHle.Ipc namespace Ryujinx.HLE.OsHle.Ipc
{ {
static class IpcHandler static class IpcHandler
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle.Ipc namespace Ryujinx.HLE.OsHle.Ipc
{ {
abstract class IpcMagic abstract class IpcMagic
{ {

View File

@ -1,7 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
namespace Ryujinx.Core.OsHle.Ipc namespace Ryujinx.HLE.OsHle.Ipc
{ {
class IpcMessage class IpcMessage
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle.Ipc namespace Ryujinx.HLE.OsHle.Ipc
{ {
enum IpcMessageType enum IpcMessageType
{ {

View File

@ -1,6 +1,6 @@
using System.IO; using System.IO;
namespace Ryujinx.Core.OsHle.Ipc namespace Ryujinx.HLE.OsHle.Ipc
{ {
struct IpcPtrBuffDesc struct IpcPtrBuffDesc
{ {

View File

@ -1,6 +1,6 @@
using System.IO; using System.IO;
namespace Ryujinx.Core.OsHle.Ipc namespace Ryujinx.HLE.OsHle.Ipc
{ {
struct IpcRecvListBuffDesc struct IpcRecvListBuffDesc
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle.Ipc namespace Ryujinx.HLE.OsHle.Ipc
{ {
delegate long ServiceProcessRequest(ServiceCtx Context); delegate long ServiceProcessRequest(ServiceCtx Context);
} }

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle.Kernel namespace Ryujinx.HLE.OsHle.Kernel
{ {
static class KernelErr static class KernelErr
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle.Kernel namespace Ryujinx.HLE.OsHle.Kernel
{ {
static class NsTimeConverter static class NsTimeConverter
{ {

View File

@ -1,14 +1,14 @@
using ChocolArm64.Events; using ChocolArm64.Events;
using ChocolArm64.Memory; using ChocolArm64.Memory;
using ChocolArm64.State; using ChocolArm64.State;
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using System; using System;
using System.Collections.Generic;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading; using System.Threading;
namespace Ryujinx.Core.OsHle.Kernel namespace Ryujinx.HLE.OsHle.Kernel
{ {
partial class SvcHandler : IDisposable partial class SvcHandler : IDisposable
{ {

View File

@ -1,11 +1,11 @@
using ChocolArm64.Memory; using ChocolArm64.Memory;
using ChocolArm64.State; using ChocolArm64.State;
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using static Ryujinx.Core.OsHle.ErrorCode; using static Ryujinx.HLE.OsHle.ErrorCode;
namespace Ryujinx.Core.OsHle.Kernel namespace Ryujinx.HLE.OsHle.Kernel
{ {
partial class SvcHandler partial class SvcHandler
{ {

View File

@ -1,16 +1,16 @@
using ChocolArm64.Memory; using ChocolArm64.Memory;
using ChocolArm64.State; using ChocolArm64.State;
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle.Exceptions; using Ryujinx.HLE.OsHle.Exceptions;
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using Ryujinx.Core.OsHle.Ipc; using Ryujinx.HLE.OsHle.Ipc;
using Ryujinx.Core.OsHle.Services; using Ryujinx.HLE.OsHle.Services;
using System; using System;
using System.Threading; using System.Threading;
using static Ryujinx.Core.OsHle.ErrorCode; using static Ryujinx.HLE.OsHle.ErrorCode;
namespace Ryujinx.Core.OsHle.Kernel namespace Ryujinx.HLE.OsHle.Kernel
{ {
partial class SvcHandler partial class SvcHandler
{ {
@ -352,7 +352,7 @@ namespace Ryujinx.Core.OsHle.Kernel
case 15: case 15:
ThreadState.X1 = MemoryRegions.MapRegionSize; ThreadState.X1 = MemoryRegions.MapRegionSize;
break; break;
case 16: case 16:
ThreadState.X1 = IsVirtualMemoryEnabled ? 1 : 0; ThreadState.X1 = IsVirtualMemoryEnabled ? 1 : 0;
break; break;

View File

@ -1,11 +1,11 @@
using ChocolArm64.State; using ChocolArm64.State;
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using System.Threading; using System.Threading;
using static Ryujinx.Core.OsHle.ErrorCode; using static Ryujinx.HLE.OsHle.ErrorCode;
namespace Ryujinx.Core.OsHle.Kernel namespace Ryujinx.HLE.OsHle.Kernel
{ {
partial class SvcHandler partial class SvcHandler
{ {
@ -160,7 +160,7 @@ namespace Ryujinx.Core.OsHle.Kernel
ThreadState.X0 = MakeError(ErrorModule.Kernel, KernelErr.InvalidHandle); ThreadState.X0 = MakeError(ErrorModule.Kernel, KernelErr.InvalidHandle);
} }
} }
private void SvcSetThreadCoreMask(AThreadState ThreadState) private void SvcSetThreadCoreMask(AThreadState ThreadState)
{ {
//FIXME: This is wrong, but the "correct" way to handle //FIXME: This is wrong, but the "correct" way to handle

View File

@ -1,14 +1,14 @@
using ChocolArm64.State; using ChocolArm64.State;
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading; using System.Threading;
using static Ryujinx.Core.OsHle.ErrorCode; using static Ryujinx.HLE.OsHle.ErrorCode;
namespace Ryujinx.Core.OsHle.Kernel namespace Ryujinx.HLE.OsHle.Kernel
{ {
partial class SvcHandler partial class SvcHandler
{ {

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
class MemoryAllocator class MemoryAllocator
{ {

View File

@ -1,6 +1,6 @@
using ChocolArm64.Memory; using ChocolArm64.Memory;
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
static class MemoryRegions static class MemoryRegions
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
enum MemoryType enum MemoryType
{ {

View File

@ -2,20 +2,20 @@ using ChocolArm64;
using ChocolArm64.Events; using ChocolArm64.Events;
using ChocolArm64.Memory; using ChocolArm64.Memory;
using ChocolArm64.State; using ChocolArm64.State;
using Ryujinx.Core.Loaders; using Ryujinx.HLE.Loaders;
using Ryujinx.Core.Loaders.Executables; using Ryujinx.HLE.Loaders.Executables;
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle.Diagnostics; using Ryujinx.HLE.OsHle.Diagnostics;
using Ryujinx.Core.OsHle.Exceptions; using Ryujinx.HLE.OsHle.Exceptions;
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using Ryujinx.Core.OsHle.Kernel; using Ryujinx.HLE.OsHle.Kernel;
using Ryujinx.Core.OsHle.Services.Nv; using Ryujinx.HLE.OsHle.Services.Nv;
using System; using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
class Process : IDisposable class Process : IDisposable
{ {

View File

@ -1,9 +1,9 @@
using ChocolArm64.Memory; using ChocolArm64.Memory;
using Ryujinx.Core.OsHle.Handles; using Ryujinx.HLE.OsHle.Handles;
using Ryujinx.Core.OsHle.Ipc; using Ryujinx.HLE.OsHle.Ipc;
using System.IO; using System.IO;
namespace Ryujinx.Core.OsHle namespace Ryujinx.HLE.OsHle
{ {
class ServiceCtx class ServiceCtx
{ {

View File

@ -1,8 +1,8 @@
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle.Ipc; using Ryujinx.HLE.OsHle.Ipc;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.OsHle.Services.Acc namespace Ryujinx.HLE.OsHle.Services.Acc
{ {
class IAccountServiceForApplication : IpcService class IAccountServiceForApplication : IpcService
{ {
@ -33,7 +33,7 @@ namespace Ryujinx.Core.OsHle.Services.Acc
return 0; return 0;
} }
public long GetUserExistence(ServiceCtx Context) public long GetUserExistence(ServiceCtx Context)
{ {
Context.ResponseData.Write(1); Context.ResponseData.Write(1);
@ -49,7 +49,7 @@ namespace Ryujinx.Core.OsHle.Services.Acc
return 0; return 0;
} }
public long ListOpenUsers(ServiceCtx Context) public long ListOpenUsers(ServiceCtx Context)
{ {
Context.Ns.Log.PrintStub(LogClass.ServiceAcc, "Stubbed."); Context.Ns.Log.PrintStub(LogClass.ServiceAcc, "Stubbed.");

View File

@ -1,8 +1,8 @@
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle.Ipc; using Ryujinx.HLE.OsHle.Ipc;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.OsHle.Services.Acc namespace Ryujinx.HLE.OsHle.Services.Acc
{ {
class IManagerForApplication : IpcService class IManagerForApplication : IpcService
{ {

View File

@ -1,8 +1,8 @@
using Ryujinx.Core.Logging; using Ryujinx.HLE.Logging;
using Ryujinx.Core.OsHle.Ipc; using Ryujinx.HLE.OsHle.Ipc;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.OsHle.Services.Acc namespace Ryujinx.HLE.OsHle.Services.Acc
{ {
class IProfile : IpcService class IProfile : IpcService
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle.Services.Am namespace Ryujinx.HLE.OsHle.Services.Am
{ {
static class AmErr static class AmErr
{ {

View File

@ -1,4 +1,4 @@
namespace Ryujinx.Core.OsHle.Services.Am namespace Ryujinx.HLE.OsHle.Services.Am
{ {
enum FocusState enum FocusState
{ {

View File

@ -1,7 +1,7 @@
using Ryujinx.Core.OsHle.Ipc; using Ryujinx.HLE.OsHle.Ipc;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.Core.OsHle.Services.Am namespace Ryujinx.HLE.OsHle.Services.Am
{ {
class IAllSystemAppletProxiesService : IpcService class IAllSystemAppletProxiesService : IpcService
{ {

Some files were not shown because too many files have changed in this diff Show More