0
0
Fork 0

hle: Fix some inconsistencies in namespace naming in Services (#808)

Also fix IShopServiceAccessSystemInterface being in the wrong namespace.
This commit is contained in:
Thomas Guillemard 2019-11-03 18:26:29 +01:00 committed by Ac_K
parent 9426ef3f06
commit b29950dbd6
38 changed files with 40 additions and 40 deletions

View file

@ -3,7 +3,7 @@ using Ryujinx.HLE.HOS.Ipc;
using Ryujinx.HLE.HOS.Kernel.Common;
using Ryujinx.HLE.HOS.Kernel.Threading;
namespace Ryujinx.HLE.HOS.Services.Btm.BtmUser
namespace Ryujinx.HLE.HOS.Services.BluetoothManager.BtmUser
{
class IBtmUserCore : IpcService
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Btm
namespace Ryujinx.HLE.HOS.Services.BluetoothManager
{
[Service("btm")]
class IBtm : IpcService

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Btm
namespace Ryujinx.HLE.HOS.Services.BluetoothManager
{
[Service("btm:dbg")]
class IBtmDebug : IpcService

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Btm
namespace Ryujinx.HLE.HOS.Services.BluetoothManager
{
[Service("btm:sys")]
class IBtmSystem : IpcService

View file

@ -1,6 +1,6 @@
using Ryujinx.HLE.HOS.Services.Btm.BtmUser;
using Ryujinx.HLE.HOS.Services.BluetoothManager.BtmUser;
namespace Ryujinx.HLE.HOS.Services.Btm
namespace Ryujinx.HLE.HOS.Services.BluetoothManager
{
[Service("btm:u")] // 5.0.0+
class IBtmUser : IpcService

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Btm
namespace Ryujinx.HLE.HOS.Services.BluetoothManager
{
enum ResultCode
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
[Service("ldr:dmnt")]
class IDebugMonitorInterface : IpcService

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
[Service("ldr:pm")]
class IProcessManagerInterface : IpcService

View file

@ -10,7 +10,7 @@ using System.IO;
using System.Linq;
using System.Security.Cryptography;
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
[Service("ldr:ro")]
[Service("ro:1")] // 7.0.0+

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
[Service("ldr:shel")]
class IShellInterface : IpcService

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
enum ResultCode
{

View file

@ -1,6 +1,6 @@
using Ryujinx.HLE.Loaders.Executables;
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
class NroInfo
{

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
[StructLayout(LayoutKind.Explicit, Size = 0x350)]
unsafe struct NrrHeader

View file

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
class NrrInfo
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Nim
{
[Service("nim:ecas")] // 7.0.0+
class IShopServiceAccessSystemInterface : IpcService

View file

@ -11,9 +11,9 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using static Ryujinx.HLE.HOS.Services.Android.Parcel;
using static Ryujinx.HLE.HOS.Services.SurfaceFlinger.Parcel;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
class NvFlinger : IDisposable
{

View file

@ -1,7 +1,7 @@
using System;
using System.IO;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
static class Parcel
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
struct BufferEntry
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum BufferState
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorBytePerPixel
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorComponent : uint
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorDataType
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorFormat : ulong
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
class ColorShift
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorSpace : ulong
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorSwizzle
{

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
[StructLayout(LayoutKind.Sequential, Size = 0x8)]
struct Fence

View file

@ -3,7 +3,7 @@ using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
struct GbpBuffer
{

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
[StructLayout(LayoutKind.Sequential, Size = 0x28)]
struct GraphicBufferHeader

View file

@ -1,6 +1,6 @@
using System;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
[Flags]
enum HalTransform

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
[StructLayout(LayoutKind.Explicit, Size = 0x24)]
struct MultiFence

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
[StructLayout(LayoutKind.Explicit, Size = 0x144)]
struct NvGraphicBuffer

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
[StructLayout(LayoutKind.Explicit, Size = 0x58)]
struct NvGraphicBufferSurface

View file

@ -1,7 +1,7 @@
using System;
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
[StructLayout(LayoutKind.Explicit)]
struct NvGraphicBufferSurfaceArray

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
[StructLayout(LayoutKind.Explicit)]
struct QueueBufferObject

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
[StructLayout(LayoutKind.Sequential, Size = 0x10)]
struct Rect

View file

@ -2,7 +2,7 @@ using Ryujinx.Graphics.Gal;
using Ryujinx.HLE.HOS.Ipc;
using Ryujinx.HLE.HOS.Kernel.Common;
using Ryujinx.HLE.HOS.Kernel.Threading;
using Ryujinx.HLE.HOS.Services.Android;
using Ryujinx.HLE.HOS.Services.SurfaceFlinger;
using System;
namespace Ryujinx.HLE.HOS.Services.Vi.RootService.ApplicationDisplayService

View file

@ -6,7 +6,7 @@ using System;
using System.IO;
using System.Text;
using static Ryujinx.HLE.HOS.Services.Android.Parcel;
using static Ryujinx.HLE.HOS.Services.SurfaceFlinger.Parcel;
namespace Ryujinx.HLE.HOS.Services.Vi.RootService
{