diff --git a/Ryujinx/Cpu/ABitUtils.cs b/ChocolArm64/ABitUtils.cs
similarity index 100%
rename from Ryujinx/Cpu/ABitUtils.cs
rename to ChocolArm64/ABitUtils.cs
diff --git a/Ryujinx/Cpu/AOpCodeTable.cs b/ChocolArm64/AOpCodeTable.cs
similarity index 100%
rename from Ryujinx/Cpu/AOpCodeTable.cs
rename to ChocolArm64/AOpCodeTable.cs
diff --git a/Ryujinx/Cpu/AOptimizations.cs b/ChocolArm64/AOptimizations.cs
similarity index 100%
rename from Ryujinx/Cpu/AOptimizations.cs
rename to ChocolArm64/AOptimizations.cs
diff --git a/Ryujinx/Cpu/AThread.cs b/ChocolArm64/AThread.cs
similarity index 100%
rename from Ryujinx/Cpu/AThread.cs
rename to ChocolArm64/AThread.cs
diff --git a/Ryujinx/Cpu/ATranslatedSub.cs b/ChocolArm64/ATranslatedSub.cs
similarity index 100%
rename from Ryujinx/Cpu/ATranslatedSub.cs
rename to ChocolArm64/ATranslatedSub.cs
diff --git a/Ryujinx/Cpu/ATranslator.cs b/ChocolArm64/ATranslator.cs
similarity index 100%
rename from Ryujinx/Cpu/ATranslator.cs
rename to ChocolArm64/ATranslator.cs
diff --git a/ChocolArm64/ChocolArm64.csproj b/ChocolArm64/ChocolArm64.csproj
new file mode 100644
index 0000000000..47d66cf153
--- /dev/null
+++ b/ChocolArm64/ChocolArm64.csproj
@@ -0,0 +1,15 @@
+
+
+
+ netcoreapp2.0
+
+
+
+ true
+
+
+
+ true
+
+
+
diff --git a/Ryujinx/Cpu/Decoder/ABlock.cs b/ChocolArm64/Decoder/ABlock.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/ABlock.cs
rename to ChocolArm64/Decoder/ABlock.cs
diff --git a/Ryujinx/Cpu/Decoder/ACond.cs b/ChocolArm64/Decoder/ACond.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/ACond.cs
rename to ChocolArm64/Decoder/ACond.cs
diff --git a/Ryujinx/Cpu/Decoder/ADataOp.cs b/ChocolArm64/Decoder/ADataOp.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/ADataOp.cs
rename to ChocolArm64/Decoder/ADataOp.cs
diff --git a/Ryujinx/Cpu/Decoder/ADecoder.cs b/ChocolArm64/Decoder/ADecoder.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/ADecoder.cs
rename to ChocolArm64/Decoder/ADecoder.cs
diff --git a/Ryujinx/Cpu/Decoder/ADecoderHelper.cs b/ChocolArm64/Decoder/ADecoderHelper.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/ADecoderHelper.cs
rename to ChocolArm64/Decoder/ADecoderHelper.cs
diff --git a/Ryujinx/Cpu/Decoder/AIntType.cs b/ChocolArm64/Decoder/AIntType.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AIntType.cs
rename to ChocolArm64/Decoder/AIntType.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCode.cs b/ChocolArm64/Decoder/AOpCode.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCode.cs
rename to ChocolArm64/Decoder/AOpCode.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeAdr.cs b/ChocolArm64/Decoder/AOpCodeAdr.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeAdr.cs
rename to ChocolArm64/Decoder/AOpCodeAdr.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeAlu.cs b/ChocolArm64/Decoder/AOpCodeAlu.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeAlu.cs
rename to ChocolArm64/Decoder/AOpCodeAlu.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeAluImm.cs b/ChocolArm64/Decoder/AOpCodeAluImm.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeAluImm.cs
rename to ChocolArm64/Decoder/AOpCodeAluImm.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeAluRs.cs b/ChocolArm64/Decoder/AOpCodeAluRs.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeAluRs.cs
rename to ChocolArm64/Decoder/AOpCodeAluRs.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeAluRx.cs b/ChocolArm64/Decoder/AOpCodeAluRx.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeAluRx.cs
rename to ChocolArm64/Decoder/AOpCodeAluRx.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeBImm.cs b/ChocolArm64/Decoder/AOpCodeBImm.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeBImm.cs
rename to ChocolArm64/Decoder/AOpCodeBImm.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeBImmAl.cs b/ChocolArm64/Decoder/AOpCodeBImmAl.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeBImmAl.cs
rename to ChocolArm64/Decoder/AOpCodeBImmAl.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeBImmCmp.cs b/ChocolArm64/Decoder/AOpCodeBImmCmp.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeBImmCmp.cs
rename to ChocolArm64/Decoder/AOpCodeBImmCmp.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeBImmCond.cs b/ChocolArm64/Decoder/AOpCodeBImmCond.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeBImmCond.cs
rename to ChocolArm64/Decoder/AOpCodeBImmCond.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeBImmTest.cs b/ChocolArm64/Decoder/AOpCodeBImmTest.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeBImmTest.cs
rename to ChocolArm64/Decoder/AOpCodeBImmTest.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeBReg.cs b/ChocolArm64/Decoder/AOpCodeBReg.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeBReg.cs
rename to ChocolArm64/Decoder/AOpCodeBReg.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeBfm.cs b/ChocolArm64/Decoder/AOpCodeBfm.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeBfm.cs
rename to ChocolArm64/Decoder/AOpCodeBfm.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeCcmp.cs b/ChocolArm64/Decoder/AOpCodeCcmp.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeCcmp.cs
rename to ChocolArm64/Decoder/AOpCodeCcmp.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeCcmpImm.cs b/ChocolArm64/Decoder/AOpCodeCcmpImm.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeCcmpImm.cs
rename to ChocolArm64/Decoder/AOpCodeCcmpImm.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeCcmpReg.cs b/ChocolArm64/Decoder/AOpCodeCcmpReg.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeCcmpReg.cs
rename to ChocolArm64/Decoder/AOpCodeCcmpReg.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeCsel.cs b/ChocolArm64/Decoder/AOpCodeCsel.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeCsel.cs
rename to ChocolArm64/Decoder/AOpCodeCsel.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeException.cs b/ChocolArm64/Decoder/AOpCodeException.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeException.cs
rename to ChocolArm64/Decoder/AOpCodeException.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeMem.cs b/ChocolArm64/Decoder/AOpCodeMem.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeMem.cs
rename to ChocolArm64/Decoder/AOpCodeMem.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeMemEx.cs b/ChocolArm64/Decoder/AOpCodeMemEx.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeMemEx.cs
rename to ChocolArm64/Decoder/AOpCodeMemEx.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeMemImm.cs b/ChocolArm64/Decoder/AOpCodeMemImm.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeMemImm.cs
rename to ChocolArm64/Decoder/AOpCodeMemImm.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeMemLit.cs b/ChocolArm64/Decoder/AOpCodeMemLit.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeMemLit.cs
rename to ChocolArm64/Decoder/AOpCodeMemLit.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeMemPair.cs b/ChocolArm64/Decoder/AOpCodeMemPair.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeMemPair.cs
rename to ChocolArm64/Decoder/AOpCodeMemPair.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeMemReg.cs b/ChocolArm64/Decoder/AOpCodeMemReg.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeMemReg.cs
rename to ChocolArm64/Decoder/AOpCodeMemReg.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeMov.cs b/ChocolArm64/Decoder/AOpCodeMov.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeMov.cs
rename to ChocolArm64/Decoder/AOpCodeMov.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeMul.cs b/ChocolArm64/Decoder/AOpCodeMul.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeMul.cs
rename to ChocolArm64/Decoder/AOpCodeMul.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimd.cs b/ChocolArm64/Decoder/AOpCodeSimd.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimd.cs
rename to ChocolArm64/Decoder/AOpCodeSimd.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdCvt.cs b/ChocolArm64/Decoder/AOpCodeSimdCvt.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdCvt.cs
rename to ChocolArm64/Decoder/AOpCodeSimdCvt.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdFcond.cs b/ChocolArm64/Decoder/AOpCodeSimdFcond.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdFcond.cs
rename to ChocolArm64/Decoder/AOpCodeSimdFcond.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdFmov.cs b/ChocolArm64/Decoder/AOpCodeSimdFmov.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdFmov.cs
rename to ChocolArm64/Decoder/AOpCodeSimdFmov.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdImm.cs b/ChocolArm64/Decoder/AOpCodeSimdImm.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdImm.cs
rename to ChocolArm64/Decoder/AOpCodeSimdImm.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdIns.cs b/ChocolArm64/Decoder/AOpCodeSimdIns.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdIns.cs
rename to ChocolArm64/Decoder/AOpCodeSimdIns.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdMemImm.cs b/ChocolArm64/Decoder/AOpCodeSimdMemImm.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdMemImm.cs
rename to ChocolArm64/Decoder/AOpCodeSimdMemImm.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdMemLit.cs b/ChocolArm64/Decoder/AOpCodeSimdMemLit.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdMemLit.cs
rename to ChocolArm64/Decoder/AOpCodeSimdMemLit.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdMemMs.cs b/ChocolArm64/Decoder/AOpCodeSimdMemMs.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdMemMs.cs
rename to ChocolArm64/Decoder/AOpCodeSimdMemMs.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdMemPair.cs b/ChocolArm64/Decoder/AOpCodeSimdMemPair.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdMemPair.cs
rename to ChocolArm64/Decoder/AOpCodeSimdMemPair.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdMemReg.cs b/ChocolArm64/Decoder/AOpCodeSimdMemReg.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdMemReg.cs
rename to ChocolArm64/Decoder/AOpCodeSimdMemReg.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdMemSs.cs b/ChocolArm64/Decoder/AOpCodeSimdMemSs.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdMemSs.cs
rename to ChocolArm64/Decoder/AOpCodeSimdMemSs.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdReg.cs b/ChocolArm64/Decoder/AOpCodeSimdReg.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdReg.cs
rename to ChocolArm64/Decoder/AOpCodeSimdReg.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdRegElem.cs b/ChocolArm64/Decoder/AOpCodeSimdRegElem.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdRegElem.cs
rename to ChocolArm64/Decoder/AOpCodeSimdRegElem.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdShImm.cs b/ChocolArm64/Decoder/AOpCodeSimdShImm.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdShImm.cs
rename to ChocolArm64/Decoder/AOpCodeSimdShImm.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSimdTbl.cs b/ChocolArm64/Decoder/AOpCodeSimdTbl.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSimdTbl.cs
rename to ChocolArm64/Decoder/AOpCodeSimdTbl.cs
diff --git a/Ryujinx/Cpu/Decoder/AOpCodeSystem.cs b/ChocolArm64/Decoder/AOpCodeSystem.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AOpCodeSystem.cs
rename to ChocolArm64/Decoder/AOpCodeSystem.cs
diff --git a/Ryujinx/Cpu/Decoder/AShiftType.cs b/ChocolArm64/Decoder/AShiftType.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/AShiftType.cs
rename to ChocolArm64/Decoder/AShiftType.cs
diff --git a/Ryujinx/Cpu/Decoder/IAOpCode.cs b/ChocolArm64/Decoder/IAOpCode.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/IAOpCode.cs
rename to ChocolArm64/Decoder/IAOpCode.cs
diff --git a/Ryujinx/Cpu/Decoder/IAOpCodeAlu.cs b/ChocolArm64/Decoder/IAOpCodeAlu.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/IAOpCodeAlu.cs
rename to ChocolArm64/Decoder/IAOpCodeAlu.cs
diff --git a/Ryujinx/Cpu/Decoder/IAOpCodeAluImm.cs b/ChocolArm64/Decoder/IAOpCodeAluImm.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/IAOpCodeAluImm.cs
rename to ChocolArm64/Decoder/IAOpCodeAluImm.cs
diff --git a/Ryujinx/Cpu/Decoder/IAOpCodeAluRs.cs b/ChocolArm64/Decoder/IAOpCodeAluRs.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/IAOpCodeAluRs.cs
rename to ChocolArm64/Decoder/IAOpCodeAluRs.cs
diff --git a/Ryujinx/Cpu/Decoder/IAOpCodeAluRx.cs b/ChocolArm64/Decoder/IAOpCodeAluRx.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/IAOpCodeAluRx.cs
rename to ChocolArm64/Decoder/IAOpCodeAluRx.cs
diff --git a/Ryujinx/Cpu/Decoder/IAOpCodeCond.cs b/ChocolArm64/Decoder/IAOpCodeCond.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/IAOpCodeCond.cs
rename to ChocolArm64/Decoder/IAOpCodeCond.cs
diff --git a/Ryujinx/Cpu/Decoder/IAOpCodeLit.cs b/ChocolArm64/Decoder/IAOpCodeLit.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/IAOpCodeLit.cs
rename to ChocolArm64/Decoder/IAOpCodeLit.cs
diff --git a/Ryujinx/Cpu/Decoder/IAOpCodeSimd.cs b/ChocolArm64/Decoder/IAOpCodeSimd.cs
similarity index 100%
rename from Ryujinx/Cpu/Decoder/IAOpCodeSimd.cs
rename to ChocolArm64/Decoder/IAOpCodeSimd.cs
diff --git a/Ryujinx/Cpu/Exceptions/VmmAccessViolationException.cs b/ChocolArm64/Exceptions/VmmAccessViolationException.cs
similarity index 100%
rename from Ryujinx/Cpu/Exceptions/VmmAccessViolationException.cs
rename to ChocolArm64/Exceptions/VmmAccessViolationException.cs
diff --git a/Ryujinx/Cpu/Exceptions/VmmOutOfMemoryException.cs b/ChocolArm64/Exceptions/VmmOutOfMemoryException.cs
similarity index 100%
rename from Ryujinx/Cpu/Exceptions/VmmOutOfMemoryException.cs
rename to ChocolArm64/Exceptions/VmmOutOfMemoryException.cs
diff --git a/Ryujinx/Cpu/Exceptions/VmmPageFaultException.cs b/ChocolArm64/Exceptions/VmmPageFaultException.cs
similarity index 100%
rename from Ryujinx/Cpu/Exceptions/VmmPageFaultException.cs
rename to ChocolArm64/Exceptions/VmmPageFaultException.cs
diff --git a/Ryujinx/Cpu/Instruction/AInst.cs b/ChocolArm64/Instruction/AInst.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInst.cs
rename to ChocolArm64/Instruction/AInst.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitAlu.cs b/ChocolArm64/Instruction/AInstEmitAlu.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitAlu.cs
rename to ChocolArm64/Instruction/AInstEmitAlu.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitAluHelper.cs b/ChocolArm64/Instruction/AInstEmitAluHelper.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitAluHelper.cs
rename to ChocolArm64/Instruction/AInstEmitAluHelper.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitBfm.cs b/ChocolArm64/Instruction/AInstEmitBfm.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitBfm.cs
rename to ChocolArm64/Instruction/AInstEmitBfm.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitCcmp.cs b/ChocolArm64/Instruction/AInstEmitCcmp.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitCcmp.cs
rename to ChocolArm64/Instruction/AInstEmitCcmp.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitCsel.cs b/ChocolArm64/Instruction/AInstEmitCsel.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitCsel.cs
rename to ChocolArm64/Instruction/AInstEmitCsel.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitException.cs b/ChocolArm64/Instruction/AInstEmitException.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitException.cs
rename to ChocolArm64/Instruction/AInstEmitException.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitFlow.cs b/ChocolArm64/Instruction/AInstEmitFlow.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitFlow.cs
rename to ChocolArm64/Instruction/AInstEmitFlow.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitMemory.cs b/ChocolArm64/Instruction/AInstEmitMemory.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitMemory.cs
rename to ChocolArm64/Instruction/AInstEmitMemory.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitMemoryEx.cs b/ChocolArm64/Instruction/AInstEmitMemoryEx.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitMemoryEx.cs
rename to ChocolArm64/Instruction/AInstEmitMemoryEx.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitMemoryHelper.cs b/ChocolArm64/Instruction/AInstEmitMemoryHelper.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitMemoryHelper.cs
rename to ChocolArm64/Instruction/AInstEmitMemoryHelper.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitMove.cs b/ChocolArm64/Instruction/AInstEmitMove.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitMove.cs
rename to ChocolArm64/Instruction/AInstEmitMove.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitMul.cs b/ChocolArm64/Instruction/AInstEmitMul.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitMul.cs
rename to ChocolArm64/Instruction/AInstEmitMul.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitSimdArithmetic.cs b/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitSimdArithmetic.cs
rename to ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitSimdCmp.cs b/ChocolArm64/Instruction/AInstEmitSimdCmp.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitSimdCmp.cs
rename to ChocolArm64/Instruction/AInstEmitSimdCmp.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitSimdCvt.cs b/ChocolArm64/Instruction/AInstEmitSimdCvt.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitSimdCvt.cs
rename to ChocolArm64/Instruction/AInstEmitSimdCvt.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitSimdHelper.cs b/ChocolArm64/Instruction/AInstEmitSimdHelper.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitSimdHelper.cs
rename to ChocolArm64/Instruction/AInstEmitSimdHelper.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitSimdLogical.cs b/ChocolArm64/Instruction/AInstEmitSimdLogical.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitSimdLogical.cs
rename to ChocolArm64/Instruction/AInstEmitSimdLogical.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitSimdMemory.cs b/ChocolArm64/Instruction/AInstEmitSimdMemory.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitSimdMemory.cs
rename to ChocolArm64/Instruction/AInstEmitSimdMemory.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitSimdMove.cs b/ChocolArm64/Instruction/AInstEmitSimdMove.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitSimdMove.cs
rename to ChocolArm64/Instruction/AInstEmitSimdMove.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitSimdShift.cs b/ChocolArm64/Instruction/AInstEmitSimdShift.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitSimdShift.cs
rename to ChocolArm64/Instruction/AInstEmitSimdShift.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitSystem.cs b/ChocolArm64/Instruction/AInstEmitSystem.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitSystem.cs
rename to ChocolArm64/Instruction/AInstEmitSystem.cs
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitter.cs b/ChocolArm64/Instruction/AInstEmitter.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/AInstEmitter.cs
rename to ChocolArm64/Instruction/AInstEmitter.cs
diff --git a/Ryujinx/Cpu/Instruction/ASoftFallback.cs b/ChocolArm64/Instruction/ASoftFallback.cs
similarity index 100%
rename from Ryujinx/Cpu/Instruction/ASoftFallback.cs
rename to ChocolArm64/Instruction/ASoftFallback.cs
diff --git a/Ryujinx/Cpu/Memory/AMemory.cs b/ChocolArm64/Memory/AMemory.cs
similarity index 100%
rename from Ryujinx/Cpu/Memory/AMemory.cs
rename to ChocolArm64/Memory/AMemory.cs
diff --git a/Ryujinx/Cpu/Memory/AMemoryAlloc.cs b/ChocolArm64/Memory/AMemoryAlloc.cs
similarity index 100%
rename from Ryujinx/Cpu/Memory/AMemoryAlloc.cs
rename to ChocolArm64/Memory/AMemoryAlloc.cs
diff --git a/Ryujinx/Cpu/Memory/AMemoryHelper.cs b/ChocolArm64/Memory/AMemoryHelper.cs
similarity index 100%
rename from Ryujinx/Cpu/Memory/AMemoryHelper.cs
rename to ChocolArm64/Memory/AMemoryHelper.cs
diff --git a/Ryujinx/Cpu/Memory/AMemoryMapInfo.cs b/ChocolArm64/Memory/AMemoryMapInfo.cs
similarity index 100%
rename from Ryujinx/Cpu/Memory/AMemoryMapInfo.cs
rename to ChocolArm64/Memory/AMemoryMapInfo.cs
diff --git a/Ryujinx/Cpu/Memory/AMemoryMgr.cs b/ChocolArm64/Memory/AMemoryMgr.cs
similarity index 100%
rename from Ryujinx/Cpu/Memory/AMemoryMgr.cs
rename to ChocolArm64/Memory/AMemoryMgr.cs
diff --git a/Ryujinx/Cpu/Memory/AMemoryPerm.cs b/ChocolArm64/Memory/AMemoryPerm.cs
similarity index 100%
rename from Ryujinx/Cpu/Memory/AMemoryPerm.cs
rename to ChocolArm64/Memory/AMemoryPerm.cs
diff --git a/Ryujinx/Cpu/State/AInstExceptEventArgs.cs b/ChocolArm64/State/AInstExceptEventArgs.cs
similarity index 100%
rename from Ryujinx/Cpu/State/AInstExceptEventArgs.cs
rename to ChocolArm64/State/AInstExceptEventArgs.cs
diff --git a/Ryujinx/Cpu/State/AInstUndEventArgs.cs b/ChocolArm64/State/AInstUndEventArgs.cs
similarity index 100%
rename from Ryujinx/Cpu/State/AInstUndEventArgs.cs
rename to ChocolArm64/State/AInstUndEventArgs.cs
diff --git a/Ryujinx/Cpu/State/APState.cs b/ChocolArm64/State/APState.cs
similarity index 100%
rename from Ryujinx/Cpu/State/APState.cs
rename to ChocolArm64/State/APState.cs
diff --git a/Ryujinx/Cpu/State/ARegister.cs b/ChocolArm64/State/ARegister.cs
similarity index 100%
rename from Ryujinx/Cpu/State/ARegister.cs
rename to ChocolArm64/State/ARegister.cs
diff --git a/Ryujinx/Cpu/State/ARegisterSize.cs b/ChocolArm64/State/ARegisterSize.cs
similarity index 100%
rename from Ryujinx/Cpu/State/ARegisterSize.cs
rename to ChocolArm64/State/ARegisterSize.cs
diff --git a/Ryujinx/Cpu/State/ARegisterType.cs b/ChocolArm64/State/ARegisterType.cs
similarity index 100%
rename from Ryujinx/Cpu/State/ARegisterType.cs
rename to ChocolArm64/State/ARegisterType.cs
diff --git a/Ryujinx/Cpu/State/AThreadState.cs b/ChocolArm64/State/AThreadState.cs
similarity index 100%
rename from Ryujinx/Cpu/State/AThreadState.cs
rename to ChocolArm64/State/AThreadState.cs
diff --git a/Ryujinx/Cpu/State/AVec.cs b/ChocolArm64/State/AVec.cs
similarity index 100%
rename from Ryujinx/Cpu/State/AVec.cs
rename to ChocolArm64/State/AVec.cs
diff --git a/Ryujinx/Cpu/Translation/AILBlock.cs b/ChocolArm64/Translation/AILBlock.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILBlock.cs
rename to ChocolArm64/Translation/AILBlock.cs
diff --git a/Ryujinx/Cpu/Translation/AILEmitter.cs b/ChocolArm64/Translation/AILEmitter.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILEmitter.cs
rename to ChocolArm64/Translation/AILEmitter.cs
diff --git a/Ryujinx/Cpu/Translation/AILEmitterCtx.cs b/ChocolArm64/Translation/AILEmitterCtx.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILEmitterCtx.cs
rename to ChocolArm64/Translation/AILEmitterCtx.cs
diff --git a/Ryujinx/Cpu/Translation/AILLabel.cs b/ChocolArm64/Translation/AILLabel.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILLabel.cs
rename to ChocolArm64/Translation/AILLabel.cs
diff --git a/Ryujinx/Cpu/Translation/AILOpCode.cs b/ChocolArm64/Translation/AILOpCode.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILOpCode.cs
rename to ChocolArm64/Translation/AILOpCode.cs
diff --git a/Ryujinx/Cpu/Translation/AILOpCodeBranch.cs b/ChocolArm64/Translation/AILOpCodeBranch.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILOpCodeBranch.cs
rename to ChocolArm64/Translation/AILOpCodeBranch.cs
diff --git a/Ryujinx/Cpu/Translation/AILOpCodeCall.cs b/ChocolArm64/Translation/AILOpCodeCall.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILOpCodeCall.cs
rename to ChocolArm64/Translation/AILOpCodeCall.cs
diff --git a/Ryujinx/Cpu/Translation/AILOpCodeConst.cs b/ChocolArm64/Translation/AILOpCodeConst.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILOpCodeConst.cs
rename to ChocolArm64/Translation/AILOpCodeConst.cs
diff --git a/Ryujinx/Cpu/Translation/AILOpCodeLoad.cs b/ChocolArm64/Translation/AILOpCodeLoad.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILOpCodeLoad.cs
rename to ChocolArm64/Translation/AILOpCodeLoad.cs
diff --git a/Ryujinx/Cpu/Translation/AILOpCodeLog.cs b/ChocolArm64/Translation/AILOpCodeLog.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILOpCodeLog.cs
rename to ChocolArm64/Translation/AILOpCodeLog.cs
diff --git a/Ryujinx/Cpu/Translation/AILOpCodeStore.cs b/ChocolArm64/Translation/AILOpCodeStore.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AILOpCodeStore.cs
rename to ChocolArm64/Translation/AILOpCodeStore.cs
diff --git a/Ryujinx/Cpu/Translation/AIoType.cs b/ChocolArm64/Translation/AIoType.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/AIoType.cs
rename to ChocolArm64/Translation/AIoType.cs
diff --git a/Ryujinx/Cpu/Translation/ALocalAlloc.cs b/ChocolArm64/Translation/ALocalAlloc.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/ALocalAlloc.cs
rename to ChocolArm64/Translation/ALocalAlloc.cs
diff --git a/Ryujinx/Cpu/Translation/IAILEmit.cs b/ChocolArm64/Translation/IAILEmit.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/IAILEmit.cs
rename to ChocolArm64/Translation/IAILEmit.cs
diff --git a/Ryujinx/Cpu/Translation/ILGeneratorEx.cs b/ChocolArm64/Translation/ILGeneratorEx.cs
similarity index 100%
rename from Ryujinx/Cpu/Translation/ILGeneratorEx.cs
rename to ChocolArm64/Translation/ILGeneratorEx.cs
diff --git a/Ryujinx/Config.cs b/Ryujinx.Core/Config.cs
similarity index 99%
rename from Ryujinx/Config.cs
rename to Ryujinx.Core/Config.cs
index b536142111..b97e80b89f 100644
--- a/Ryujinx/Config.cs
+++ b/Ryujinx.Core/Config.cs
@@ -4,7 +4,7 @@ using System.IO;
using System.Linq;
using System.Reflection;
-namespace Ryujinx
+namespace Ryujinx.Core
{
public static class Config
{
diff --git a/Ryujinx/Hid.cs b/Ryujinx.Core/Hid.cs
similarity index 99%
rename from Ryujinx/Hid.cs
rename to Ryujinx.Core/Hid.cs
index c344ec5877..44d3e0fb7d 100644
--- a/Ryujinx/Hid.cs
+++ b/Ryujinx.Core/Hid.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle;
+using Ryujinx.Core.OsHle;
using System;
using System.Runtime.InteropServices;
-namespace Ryujinx
+namespace Ryujinx.Core
{
public class Hid
{
diff --git a/Ryujinx/Hid/HidController.cs b/Ryujinx.Core/Hid/HidController.cs
similarity index 99%
rename from Ryujinx/Hid/HidController.cs
rename to Ryujinx.Core/Hid/HidController.cs
index 7dd1984120..641bc55695 100644
--- a/Ryujinx/Hid/HidController.cs
+++ b/Ryujinx.Core/Hid/HidController.cs
@@ -1,7 +1,7 @@
using System;
using System.Runtime.InteropServices;
-namespace Ryujinx
+namespace Ryujinx.Core
{
[Flags]
public enum HidControllerKeys
diff --git a/Ryujinx/Hid/HidKeyboard.cs b/Ryujinx.Core/Hid/HidKeyboard.cs
similarity index 97%
rename from Ryujinx/Hid/HidKeyboard.cs
rename to Ryujinx.Core/Hid/HidKeyboard.cs
index 2ee51bfa13..f9987f68b2 100644
--- a/Ryujinx/Hid/HidKeyboard.cs
+++ b/Ryujinx.Core/Hid/HidKeyboard.cs
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
-namespace Ryujinx
+namespace Ryujinx.Core
{
[StructLayout(LayoutKind.Sequential, Size = 0x20)]
public struct HidKeyboardHeader
diff --git a/Ryujinx/Hid/HidMouse.cs b/Ryujinx.Core/Hid/HidMouse.cs
similarity index 97%
rename from Ryujinx/Hid/HidMouse.cs
rename to Ryujinx.Core/Hid/HidMouse.cs
index db01e649c9..9a019dd5ff 100644
--- a/Ryujinx/Hid/HidMouse.cs
+++ b/Ryujinx.Core/Hid/HidMouse.cs
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
-namespace Ryujinx
+namespace Ryujinx.Core
{
[StructLayout(LayoutKind.Sequential, Size = 0x20)]
public struct HidMouseHeader
diff --git a/Ryujinx/Hid/HidTouchScreen.cs b/Ryujinx.Core/Hid/HidTouchScreen.cs
similarity index 98%
rename from Ryujinx/Hid/HidTouchScreen.cs
rename to Ryujinx.Core/Hid/HidTouchScreen.cs
index 7fb022893e..b755cb95c1 100644
--- a/Ryujinx/Hid/HidTouchScreen.cs
+++ b/Ryujinx.Core/Hid/HidTouchScreen.cs
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
-namespace Ryujinx
+namespace Ryujinx.Core
{
[StructLayout(LayoutKind.Sequential, Size = 0x28)]
public struct HidTouchScreenHeader
diff --git a/Ryujinx/Hid/HidUnknown.cs b/Ryujinx.Core/Hid/HidUnknown.cs
similarity index 98%
rename from Ryujinx/Hid/HidUnknown.cs
rename to Ryujinx.Core/Hid/HidUnknown.cs
index ef2172d5b4..c3fe68a833 100644
--- a/Ryujinx/Hid/HidUnknown.cs
+++ b/Ryujinx.Core/Hid/HidUnknown.cs
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
-namespace Ryujinx
+namespace Ryujinx.Core
{
[StructLayout(LayoutKind.Sequential, Size = 0x400)]
public struct HidSharedMemHeader
diff --git a/Ryujinx/Hid/JoyCon.cs b/Ryujinx.Core/Hid/JoyCon.cs
similarity index 100%
rename from Ryujinx/Hid/JoyCon.cs
rename to Ryujinx.Core/Hid/JoyCon.cs
diff --git a/Ryujinx/Loaders/Compression/Lz4.cs b/Ryujinx.Core/Loaders/Compression/Lz4.cs
similarity index 97%
rename from Ryujinx/Loaders/Compression/Lz4.cs
rename to Ryujinx.Core/Loaders/Compression/Lz4.cs
index aace200cc3..eb1602a098 100644
--- a/Ryujinx/Loaders/Compression/Lz4.cs
+++ b/Ryujinx.Core/Loaders/Compression/Lz4.cs
@@ -1,6 +1,6 @@
using System;
-namespace Ryujinx.Loaders.Compression
+namespace Ryujinx.Core.Loaders.Compression
{
static class Lz4
{
diff --git a/Ryujinx/Loaders/ElfDyn.cs b/Ryujinx.Core/Loaders/ElfDyn.cs
similarity index 89%
rename from Ryujinx/Loaders/ElfDyn.cs
rename to Ryujinx.Core/Loaders/ElfDyn.cs
index 595d6cfb5a..2ed50b3e61 100644
--- a/Ryujinx/Loaders/ElfDyn.cs
+++ b/Ryujinx.Core/Loaders/ElfDyn.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Loaders
+namespace Ryujinx.Core.Loaders
{
struct ElfDyn
{
diff --git a/Ryujinx/Loaders/ElfDynTag.cs b/Ryujinx.Core/Loaders/ElfDynTag.cs
similarity index 98%
rename from Ryujinx/Loaders/ElfDynTag.cs
rename to Ryujinx.Core/Loaders/ElfDynTag.cs
index fb6cab3fb9..1616c22380 100644
--- a/Ryujinx/Loaders/ElfDynTag.cs
+++ b/Ryujinx.Core/Loaders/ElfDynTag.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Loaders
+namespace Ryujinx.Core.Loaders
{
enum ElfDynTag
{
diff --git a/Ryujinx/Loaders/ElfRel.cs b/Ryujinx.Core/Loaders/ElfRel.cs
similarity index 93%
rename from Ryujinx/Loaders/ElfRel.cs
rename to Ryujinx.Core/Loaders/ElfRel.cs
index 8b691d99c3..8db274524d 100644
--- a/Ryujinx/Loaders/ElfRel.cs
+++ b/Ryujinx.Core/Loaders/ElfRel.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Loaders
+namespace Ryujinx.Core.Loaders
{
struct ElfRel
{
diff --git a/Ryujinx/Loaders/ElfRelType.cs b/Ryujinx.Core/Loaders/ElfRelType.cs
similarity index 99%
rename from Ryujinx/Loaders/ElfRelType.cs
rename to Ryujinx.Core/Loaders/ElfRelType.cs
index cc638b19dd..a053313889 100644
--- a/Ryujinx/Loaders/ElfRelType.cs
+++ b/Ryujinx.Core/Loaders/ElfRelType.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Loaders
+namespace Ryujinx.Core.Loaders
{
enum ElfRelType
{
diff --git a/Ryujinx/Loaders/ElfSym.cs b/Ryujinx.Core/Loaders/ElfSym.cs
similarity index 97%
rename from Ryujinx/Loaders/ElfSym.cs
rename to Ryujinx.Core/Loaders/ElfSym.cs
index c4ed810ce6..35a45500a4 100644
--- a/Ryujinx/Loaders/ElfSym.cs
+++ b/Ryujinx.Core/Loaders/ElfSym.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Loaders
+namespace Ryujinx.Core.Loaders
{
struct ElfSym
{
diff --git a/Ryujinx/Loaders/ElfSymBinding.cs b/Ryujinx.Core/Loaders/ElfSymBinding.cs
similarity index 77%
rename from Ryujinx/Loaders/ElfSymBinding.cs
rename to Ryujinx.Core/Loaders/ElfSymBinding.cs
index 8bbc6d4e0f..c878949626 100644
--- a/Ryujinx/Loaders/ElfSymBinding.cs
+++ b/Ryujinx.Core/Loaders/ElfSymBinding.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Loaders
+namespace Ryujinx.Core.Loaders
{
enum ElfSymBinding
{
diff --git a/Ryujinx/Loaders/ElfSymType.cs b/Ryujinx.Core/Loaders/ElfSymType.cs
similarity index 87%
rename from Ryujinx/Loaders/ElfSymType.cs
rename to Ryujinx.Core/Loaders/ElfSymType.cs
index e504411e17..786395e620 100644
--- a/Ryujinx/Loaders/ElfSymType.cs
+++ b/Ryujinx.Core/Loaders/ElfSymType.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Loaders
+namespace Ryujinx.Core.Loaders
{
enum ElfSymType
{
diff --git a/Ryujinx/Loaders/ElfSymVisibility.cs b/Ryujinx.Core/Loaders/ElfSymVisibility.cs
similarity index 82%
rename from Ryujinx/Loaders/ElfSymVisibility.cs
rename to Ryujinx.Core/Loaders/ElfSymVisibility.cs
index a308ef7952..e72eb5b831 100644
--- a/Ryujinx/Loaders/ElfSymVisibility.cs
+++ b/Ryujinx.Core/Loaders/ElfSymVisibility.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Loaders
+namespace Ryujinx.Core.Loaders
{
enum ElfSymVisibility
{
diff --git a/Ryujinx/Loaders/Executable.cs b/Ryujinx.Core/Loaders/Executable.cs
similarity index 98%
rename from Ryujinx/Loaders/Executable.cs
rename to Ryujinx.Core/Loaders/Executable.cs
index 6504365897..6a6073ef28 100644
--- a/Ryujinx/Loaders/Executable.cs
+++ b/Ryujinx.Core/Loaders/Executable.cs
@@ -1,9 +1,9 @@
using ChocolArm64.Memory;
-using Ryujinx.Loaders.Executables;
-using Ryujinx.OsHle;
+using Ryujinx.Core.Loaders.Executables;
+using Ryujinx.Core.OsHle;
using System.Collections.Generic;
-namespace Ryujinx.Loaders
+namespace Ryujinx.Core.Loaders
{
class Executable
{
diff --git a/Ryujinx/Loaders/Executables/IExecutable.cs b/Ryujinx.Core/Loaders/Executables/IExecutable.cs
similarity index 82%
rename from Ryujinx/Loaders/Executables/IExecutable.cs
rename to Ryujinx.Core/Loaders/Executables/IExecutable.cs
index 3e42a834ad..73787b1d24 100644
--- a/Ryujinx/Loaders/Executables/IExecutable.cs
+++ b/Ryujinx.Core/Loaders/Executables/IExecutable.cs
@@ -1,8 +1,8 @@
using System.Collections.ObjectModel;
-namespace Ryujinx.Loaders.Executables
+namespace Ryujinx.Core.Loaders.Executables
{
- interface IExecutable
+ public interface IExecutable
{
ReadOnlyCollection Text { get; }
ReadOnlyCollection RO { get; }
diff --git a/Ryujinx/Loaders/Executables/Nro.cs b/Ryujinx.Core/Loaders/Executables/Nro.cs
similarity index 97%
rename from Ryujinx/Loaders/Executables/Nro.cs
rename to Ryujinx.Core/Loaders/Executables/Nro.cs
index 2217f3310a..3cbc4c5d49 100644
--- a/Ryujinx/Loaders/Executables/Nro.cs
+++ b/Ryujinx.Core/Loaders/Executables/Nro.cs
@@ -2,7 +2,7 @@ using System;
using System.Collections.ObjectModel;
using System.IO;
-namespace Ryujinx.Loaders.Executables
+namespace Ryujinx.Core.Loaders.Executables
{
class Nro : IExecutable
{
diff --git a/Ryujinx/Loaders/Executables/Nso.cs b/Ryujinx.Core/Loaders/Executables/Nso.cs
similarity index 97%
rename from Ryujinx/Loaders/Executables/Nso.cs
rename to Ryujinx.Core/Loaders/Executables/Nso.cs
index ead1baf15c..7b8bf253a7 100644
--- a/Ryujinx/Loaders/Executables/Nso.cs
+++ b/Ryujinx.Core/Loaders/Executables/Nso.cs
@@ -1,9 +1,9 @@
-using Ryujinx.Loaders.Compression;
+using Ryujinx.Core.Loaders.Compression;
using System;
using System.Collections.ObjectModel;
using System.IO;
-namespace Ryujinx.Loaders.Executables
+namespace Ryujinx.Core.Loaders.Executables
{
class Nso : IExecutable
{
diff --git a/Ryujinx/Logging.cs b/Ryujinx.Core/Logging.cs
similarity index 99%
rename from Ryujinx/Logging.cs
rename to Ryujinx.Core/Logging.cs
index 2ae858b4ee..e14e5587a1 100644
--- a/Ryujinx/Logging.cs
+++ b/Ryujinx.Core/Logging.cs
@@ -2,7 +2,7 @@
using System.Diagnostics;
using System.IO;
-namespace Ryujinx
+namespace Ryujinx.Core
{
public static class Logging
{
diff --git a/Ryujinx/OsHle/CondVar.cs b/Ryujinx.Core/OsHle/CondVar.cs
similarity index 97%
rename from Ryujinx/OsHle/CondVar.cs
rename to Ryujinx.Core/OsHle/CondVar.cs
index 91ea37bdb2..7b3e18521a 100644
--- a/Ryujinx/OsHle/CondVar.cs
+++ b/Ryujinx.Core/OsHle/CondVar.cs
@@ -1,10 +1,10 @@
-using Ryujinx.OsHle.Handles;
+using Ryujinx.Core.OsHle.Handles;
using System.Collections.Generic;
using System.Threading;
-namespace Ryujinx.OsHle
+namespace Ryujinx.Core.OsHle
{
- class CondVar
+ public class CondVar
{
private Process Process;
diff --git a/Ryujinx/OsHle/Display.cs b/Ryujinx.Core/OsHle/Display.cs
similarity index 85%
rename from Ryujinx/OsHle/Display.cs
rename to Ryujinx.Core/OsHle/Display.cs
index f62430fa89..590841fc50 100644
--- a/Ryujinx/OsHle/Display.cs
+++ b/Ryujinx.Core/OsHle/Display.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle
+namespace Ryujinx.Core.OsHle
{
class Display
{
diff --git a/Ryujinx/OsHle/Exceptions/GuestBrokeExecutionException.cs b/Ryujinx.Core/OsHle/Exceptions/GuestBrokeExecutionException.cs
similarity index 85%
rename from Ryujinx/OsHle/Exceptions/GuestBrokeExecutionException.cs
rename to Ryujinx.Core/OsHle/Exceptions/GuestBrokeExecutionException.cs
index 1369c57b23..db4929c5bc 100644
--- a/Ryujinx/OsHle/Exceptions/GuestBrokeExecutionException.cs
+++ b/Ryujinx.Core/OsHle/Exceptions/GuestBrokeExecutionException.cs
@@ -1,6 +1,6 @@
using System;
-namespace Ryujinx.OsHle.Exceptions
+namespace Ryujinx.Core.OsHle.Exceptions
{
public class GuestBrokeExecutionException : Exception
{
diff --git a/Ryujinx/OsHle/Exceptions/UndefinedInstructionException.cs b/Ryujinx.Core/OsHle/Exceptions/UndefinedInstructionException.cs
similarity index 90%
rename from Ryujinx/OsHle/Exceptions/UndefinedInstructionException.cs
rename to Ryujinx.Core/OsHle/Exceptions/UndefinedInstructionException.cs
index 86033a82aa..20cf838627 100644
--- a/Ryujinx/OsHle/Exceptions/UndefinedInstructionException.cs
+++ b/Ryujinx.Core/OsHle/Exceptions/UndefinedInstructionException.cs
@@ -1,6 +1,6 @@
using System;
-namespace Ryujinx.OsHle.Exceptions
+namespace Ryujinx.Core.OsHle.Exceptions
{
public class UndefinedInstructionException : Exception
{
diff --git a/Ryujinx/OsHle/FileDesc.cs b/Ryujinx.Core/OsHle/FileDesc.cs
similarity index 85%
rename from Ryujinx/OsHle/FileDesc.cs
rename to Ryujinx.Core/OsHle/FileDesc.cs
index 2a21f5007c..4be83bb07f 100644
--- a/Ryujinx/OsHle/FileDesc.cs
+++ b/Ryujinx.Core/OsHle/FileDesc.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle
+namespace Ryujinx.Core.OsHle
{
class FileDesc
{
diff --git a/Ryujinx/OsHle/Handles/HDomain.cs b/Ryujinx.Core/OsHle/Handles/HDomain.cs
similarity index 94%
rename from Ryujinx/OsHle/Handles/HDomain.cs
rename to Ryujinx.Core/OsHle/Handles/HDomain.cs
index e781602a11..ca287a5fda 100644
--- a/Ryujinx/OsHle/Handles/HDomain.cs
+++ b/Ryujinx.Core/OsHle/Handles/HDomain.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Utilities;
+using Ryujinx.Core.OsHle.Utilities;
using System;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Handles
+namespace Ryujinx.Core.OsHle.Handles
{
class HDomain : HSession
{
diff --git a/Ryujinx.Core/OsHle/Handles/HEvent.cs b/Ryujinx.Core/OsHle/Handles/HEvent.cs
new file mode 100644
index 0000000000..4e881ca249
--- /dev/null
+++ b/Ryujinx.Core/OsHle/Handles/HEvent.cs
@@ -0,0 +1,7 @@
+namespace Ryujinx.Core.OsHle.Handles
+{
+ class HEvent
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/Ryujinx/OsHle/Handles/HNvMap.cs b/Ryujinx.Core/OsHle/Handles/HNvMap.cs
similarity index 91%
rename from Ryujinx/OsHle/Handles/HNvMap.cs
rename to Ryujinx.Core/OsHle/Handles/HNvMap.cs
index 3e15eda385..09173730b3 100644
--- a/Ryujinx/OsHle/Handles/HNvMap.cs
+++ b/Ryujinx.Core/OsHle/Handles/HNvMap.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle.Handles
+namespace Ryujinx.Core.OsHle.Handles
{
class HNvMap
{
diff --git a/Ryujinx/OsHle/Handles/HSession.cs b/Ryujinx.Core/OsHle/Handles/HSession.cs
similarity index 93%
rename from Ryujinx/OsHle/Handles/HSession.cs
rename to Ryujinx.Core/OsHle/Handles/HSession.cs
index 6b90165916..8aa1c06bcb 100644
--- a/Ryujinx/OsHle/Handles/HSession.cs
+++ b/Ryujinx.Core/OsHle/Handles/HSession.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle.Handles
+namespace Ryujinx.Core.OsHle.Handles
{
class HSession
{
diff --git a/Ryujinx/OsHle/Handles/HSessionObj.cs b/Ryujinx.Core/OsHle/Handles/HSessionObj.cs
similarity index 94%
rename from Ryujinx/OsHle/Handles/HSessionObj.cs
rename to Ryujinx.Core/OsHle/Handles/HSessionObj.cs
index a871a11f4a..ed0530f74c 100644
--- a/Ryujinx/OsHle/Handles/HSessionObj.cs
+++ b/Ryujinx.Core/OsHle/Handles/HSessionObj.cs
@@ -1,6 +1,6 @@
using System;
-namespace Ryujinx.OsHle.Handles
+namespace Ryujinx.Core.OsHle.Handles
{
class HSessionObj : HSession, IDisposable
{
diff --git a/Ryujinx/OsHle/Handles/HSharedMem.cs b/Ryujinx.Core/OsHle/Handles/HSharedMem.cs
similarity index 97%
rename from Ryujinx/OsHle/Handles/HSharedMem.cs
rename to Ryujinx.Core/OsHle/Handles/HSharedMem.cs
index 4f943ebcd0..3d56ff9209 100644
--- a/Ryujinx/OsHle/Handles/HSharedMem.cs
+++ b/Ryujinx.Core/OsHle/Handles/HSharedMem.cs
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Handles
+namespace Ryujinx.Core.OsHle.Handles
{
class HSharedMem
{
diff --git a/Ryujinx/OsHle/Handles/HThread.cs b/Ryujinx.Core/OsHle/Handles/HThread.cs
similarity index 88%
rename from Ryujinx/OsHle/Handles/HThread.cs
rename to Ryujinx.Core/OsHle/Handles/HThread.cs
index fef2faf2c9..8bb276fa83 100644
--- a/Ryujinx/OsHle/Handles/HThread.cs
+++ b/Ryujinx.Core/OsHle/Handles/HThread.cs
@@ -1,8 +1,8 @@
using ChocolArm64;
-namespace Ryujinx.OsHle.Handles
+namespace Ryujinx.Core.OsHle.Handles
{
- class HThread
+ public class HThread
{
public AThread Thread { get; private set; }
diff --git a/Ryujinx/OsHle/Handles/HTransferMem.cs b/Ryujinx.Core/OsHle/Handles/HTransferMem.cs
similarity index 93%
rename from Ryujinx/OsHle/Handles/HTransferMem.cs
rename to Ryujinx.Core/OsHle/Handles/HTransferMem.cs
index b24e14129d..701fc451c8 100644
--- a/Ryujinx/OsHle/Handles/HTransferMem.cs
+++ b/Ryujinx.Core/OsHle/Handles/HTransferMem.cs
@@ -1,6 +1,6 @@
using ChocolArm64.Memory;
-namespace Ryujinx.OsHle.Handles
+namespace Ryujinx.Core.OsHle.Handles
{
class HTransferMem
{
diff --git a/Ryujinx/OsHle/Handles/KProcessScheduler.cs b/Ryujinx.Core/OsHle/Handles/KProcessScheduler.cs
similarity index 99%
rename from Ryujinx/OsHle/Handles/KProcessScheduler.cs
rename to Ryujinx.Core/OsHle/Handles/KProcessScheduler.cs
index 9044987fdc..2045f8a17a 100644
--- a/Ryujinx/OsHle/Handles/KProcessScheduler.cs
+++ b/Ryujinx.Core/OsHle/Handles/KProcessScheduler.cs
@@ -3,9 +3,9 @@ using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
-namespace Ryujinx.OsHle.Handles
+namespace Ryujinx.Core.OsHle.Handles
{
- class KProcessScheduler : IDisposable
+ public class KProcessScheduler : IDisposable
{
private class SchedulerThread : IDisposable
{
diff --git a/Ryujinx/OsHle/Horizon.cs b/Ryujinx.Core/OsHle/Horizon.cs
similarity index 97%
rename from Ryujinx/OsHle/Horizon.cs
rename to Ryujinx.Core/OsHle/Horizon.cs
index b9af69c2ff..e2d38d5227 100644
--- a/Ryujinx/OsHle/Horizon.cs
+++ b/Ryujinx.Core/OsHle/Horizon.cs
@@ -1,14 +1,14 @@
using ChocolArm64.Memory;
-using Ryujinx.Loaders.Executables;
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Utilities;
+using Ryujinx.Core.Loaders.Executables;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Utilities;
+using System;
using System.Collections.Concurrent;
using System.IO;
-using System;
-namespace Ryujinx.OsHle
+namespace Ryujinx.Core.OsHle
{
- class Horizon
+ public class Horizon
{
internal const int HidSize = 0x40000;
internal const int FontSize = 0x50;
diff --git a/Ryujinx/OsHle/Ipc/IpcBuffDesc.cs b/Ryujinx.Core/OsHle/Ipc/IpcBuffDesc.cs
similarity index 95%
rename from Ryujinx/OsHle/Ipc/IpcBuffDesc.cs
rename to Ryujinx.Core/OsHle/Ipc/IpcBuffDesc.cs
index 41b1efe031..01bb153922 100644
--- a/Ryujinx/OsHle/Ipc/IpcBuffDesc.cs
+++ b/Ryujinx.Core/OsHle/Ipc/IpcBuffDesc.cs
@@ -1,6 +1,6 @@
using System.IO;
-namespace Ryujinx.OsHle.Ipc
+namespace Ryujinx.Core.OsHle.Ipc
{
struct IpcBuffDesc
{
diff --git a/Ryujinx/OsHle/Ipc/IpcDomCmd.cs b/Ryujinx.Core/OsHle/Ipc/IpcDomCmd.cs
similarity index 70%
rename from Ryujinx/OsHle/Ipc/IpcDomCmd.cs
rename to Ryujinx.Core/OsHle/Ipc/IpcDomCmd.cs
index 035671859a..1ef0c40823 100644
--- a/Ryujinx/OsHle/Ipc/IpcDomCmd.cs
+++ b/Ryujinx.Core/OsHle/Ipc/IpcDomCmd.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle.Ipc
+namespace Ryujinx.Core.OsHle.Ipc
{
enum IpcDomCmd
{
diff --git a/Ryujinx/OsHle/Ipc/IpcHandleDesc.cs b/Ryujinx.Core/OsHle/Ipc/IpcHandleDesc.cs
similarity index 98%
rename from Ryujinx/OsHle/Ipc/IpcHandleDesc.cs
rename to Ryujinx.Core/OsHle/Ipc/IpcHandleDesc.cs
index fa5d7e1de7..572c0e6492 100644
--- a/Ryujinx/OsHle/Ipc/IpcHandleDesc.cs
+++ b/Ryujinx.Core/OsHle/Ipc/IpcHandleDesc.cs
@@ -1,7 +1,7 @@
using System;
using System.IO;
-namespace Ryujinx.OsHle.Ipc
+namespace Ryujinx.Core.OsHle.Ipc
{
class IpcHandleDesc
{
diff --git a/Ryujinx/OsHle/Ipc/IpcHandler.cs b/Ryujinx.Core/OsHle/Ipc/IpcHandler.cs
similarity index 98%
rename from Ryujinx/OsHle/Ipc/IpcHandler.cs
rename to Ryujinx.Core/OsHle/Ipc/IpcHandler.cs
index f127891458..deab88969a 100644
--- a/Ryujinx/OsHle/Ipc/IpcHandler.cs
+++ b/Ryujinx.Core/OsHle/Ipc/IpcHandler.cs
@@ -1,12 +1,12 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Objects;
-using Ryujinx.OsHle.Services;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Objects;
+using Ryujinx.Core.OsHle.Services;
using System;
using System.Collections.Generic;
using System.IO;
-namespace Ryujinx.OsHle.Ipc
+namespace Ryujinx.Core.OsHle.Ipc
{
static class IpcHandler
{
diff --git a/Ryujinx/OsHle/Ipc/IpcMessage.cs b/Ryujinx.Core/OsHle/Ipc/IpcMessage.cs
similarity index 99%
rename from Ryujinx/OsHle/Ipc/IpcMessage.cs
rename to Ryujinx.Core/OsHle/Ipc/IpcMessage.cs
index 407fd65f9b..3b38c45166 100644
--- a/Ryujinx/OsHle/Ipc/IpcMessage.cs
+++ b/Ryujinx.Core/OsHle/Ipc/IpcMessage.cs
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.IO;
-namespace Ryujinx.OsHle.Ipc
+namespace Ryujinx.Core.OsHle.Ipc
{
class IpcMessage
{
diff --git a/Ryujinx/OsHle/Ipc/IpcMessageType.cs b/Ryujinx.Core/OsHle/Ipc/IpcMessageType.cs
similarity index 79%
rename from Ryujinx/OsHle/Ipc/IpcMessageType.cs
rename to Ryujinx.Core/OsHle/Ipc/IpcMessageType.cs
index b0e283de74..8027508de2 100644
--- a/Ryujinx/OsHle/Ipc/IpcMessageType.cs
+++ b/Ryujinx.Core/OsHle/Ipc/IpcMessageType.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle.Ipc
+namespace Ryujinx.Core.OsHle.Ipc
{
enum IpcMessageType
{
diff --git a/Ryujinx/OsHle/Ipc/IpcPtrBuffDesc.cs b/Ryujinx.Core/OsHle/Ipc/IpcPtrBuffDesc.cs
similarity index 95%
rename from Ryujinx/OsHle/Ipc/IpcPtrBuffDesc.cs
rename to Ryujinx.Core/OsHle/Ipc/IpcPtrBuffDesc.cs
index 414d71f456..d39f78db81 100644
--- a/Ryujinx/OsHle/Ipc/IpcPtrBuffDesc.cs
+++ b/Ryujinx.Core/OsHle/Ipc/IpcPtrBuffDesc.cs
@@ -1,6 +1,6 @@
using System.IO;
-namespace Ryujinx.OsHle.Ipc
+namespace Ryujinx.Core.OsHle.Ipc
{
struct IpcPtrBuffDesc
{
diff --git a/Ryujinx/OsHle/Ipc/IpcRecvListBuffDesc.cs b/Ryujinx.Core/OsHle/Ipc/IpcRecvListBuffDesc.cs
similarity index 92%
rename from Ryujinx/OsHle/Ipc/IpcRecvListBuffDesc.cs
rename to Ryujinx.Core/OsHle/Ipc/IpcRecvListBuffDesc.cs
index 8180b8dd39..c647208f6c 100644
--- a/Ryujinx/OsHle/Ipc/IpcRecvListBuffDesc.cs
+++ b/Ryujinx.Core/OsHle/Ipc/IpcRecvListBuffDesc.cs
@@ -1,6 +1,6 @@
using System.IO;
-namespace Ryujinx.OsHle.Ipc
+namespace Ryujinx.Core.OsHle.Ipc
{
struct IpcRecvListBuffDesc
{
diff --git a/Ryujinx/OsHle/Ipc/ServiceProcessRequest.cs b/Ryujinx.Core/OsHle/Ipc/ServiceProcessRequest.cs
similarity index 65%
rename from Ryujinx/OsHle/Ipc/ServiceProcessRequest.cs
rename to Ryujinx.Core/OsHle/Ipc/ServiceProcessRequest.cs
index 838a6aea85..ea7580744c 100644
--- a/Ryujinx/OsHle/Ipc/ServiceProcessRequest.cs
+++ b/Ryujinx.Core/OsHle/Ipc/ServiceProcessRequest.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle.Ipc
+namespace Ryujinx.Core.OsHle.Ipc
{
delegate long ServiceProcessRequest(ServiceCtx Context);
}
\ No newline at end of file
diff --git a/Ryujinx/OsHle/MemoryInfo.cs b/Ryujinx.Core/OsHle/MemoryInfo.cs
similarity index 96%
rename from Ryujinx/OsHle/MemoryInfo.cs
rename to Ryujinx.Core/OsHle/MemoryInfo.cs
index 395ccf73ea..76a4bef3ba 100644
--- a/Ryujinx/OsHle/MemoryInfo.cs
+++ b/Ryujinx.Core/OsHle/MemoryInfo.cs
@@ -1,6 +1,6 @@
using ChocolArm64.Memory;
-namespace Ryujinx.OsHle
+namespace Ryujinx.Core.OsHle
{
struct MemoryInfo
{
diff --git a/Ryujinx/OsHle/MemoryType.cs b/Ryujinx.Core/OsHle/MemoryType.cs
similarity index 96%
rename from Ryujinx/OsHle/MemoryType.cs
rename to Ryujinx.Core/OsHle/MemoryType.cs
index b1ac330ae5..d3b43dd557 100644
--- a/Ryujinx/OsHle/MemoryType.cs
+++ b/Ryujinx.Core/OsHle/MemoryType.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle
+namespace Ryujinx.Core.OsHle
{
enum MemoryType
{
diff --git a/Ryujinx/OsHle/Mutex.cs b/Ryujinx.Core/OsHle/Mutex.cs
similarity index 97%
rename from Ryujinx/OsHle/Mutex.cs
rename to Ryujinx.Core/OsHle/Mutex.cs
index 43862d7b2b..c95ed77164 100644
--- a/Ryujinx/OsHle/Mutex.cs
+++ b/Ryujinx.Core/OsHle/Mutex.cs
@@ -1,10 +1,10 @@
-using Ryujinx.OsHle.Handles;
+using Ryujinx.Core.OsHle.Handles;
using System.Collections.Concurrent;
using System.Threading;
-namespace Ryujinx.OsHle
+namespace Ryujinx.Core.OsHle
{
- class Mutex
+ public class Mutex
{
private const int MutexHasListenersMask = 0x40000000;
diff --git a/Ryujinx/OsHle/Objects/Acc/IManagerForApplication.cs b/Ryujinx.Core/OsHle/Objects/Acc/IManagerForApplication.cs
similarity index 91%
rename from Ryujinx/OsHle/Objects/Acc/IManagerForApplication.cs
rename to Ryujinx.Core/OsHle/Objects/Acc/IManagerForApplication.cs
index 404ee7da64..afbfab2407 100644
--- a/Ryujinx/OsHle/Objects/Acc/IManagerForApplication.cs
+++ b/Ryujinx.Core/OsHle/Objects/Acc/IManagerForApplication.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Acc
+namespace Ryujinx.Core.OsHle.Objects.Acc
{
class IManagerForApplication : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Acc/IProfile.cs b/Ryujinx.Core/OsHle/Objects/Acc/IProfile.cs
similarity index 92%
rename from Ryujinx/OsHle/Objects/Acc/IProfile.cs
rename to Ryujinx.Core/OsHle/Objects/Acc/IProfile.cs
index c84c7ae286..94d171833a 100644
--- a/Ryujinx/OsHle/Objects/Acc/IProfile.cs
+++ b/Ryujinx.Core/OsHle/Objects/Acc/IProfile.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Acc
+namespace Ryujinx.Core.OsHle.Objects.Acc
{
class IProfile : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/IApplicationFunctions.cs b/Ryujinx.Core/OsHle/Objects/Am/IApplicationFunctions.cs
similarity index 94%
rename from Ryujinx/OsHle/Objects/Am/IApplicationFunctions.cs
rename to Ryujinx.Core/OsHle/Objects/Am/IApplicationFunctions.cs
index 138d9084f9..939ad2486e 100644
--- a/Ryujinx/OsHle/Objects/Am/IApplicationFunctions.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/IApplicationFunctions.cs
@@ -1,10 +1,10 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
using System.IO;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class IApplicationFunctions : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/IApplicationProxy.cs b/Ryujinx.Core/OsHle/Objects/Am/IApplicationProxy.cs
similarity index 94%
rename from Ryujinx/OsHle/Objects/Am/IApplicationProxy.cs
rename to Ryujinx.Core/OsHle/Objects/Am/IApplicationProxy.cs
index 3d692d6bc9..4a164daf12 100644
--- a/Ryujinx/OsHle/Objects/Am/IApplicationProxy.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/IApplicationProxy.cs
@@ -1,9 +1,9 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class IApplicationProxy : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/IAudioController.cs b/Ryujinx.Core/OsHle/Objects/Am/IAudioController.cs
similarity index 85%
rename from Ryujinx/OsHle/Objects/Am/IAudioController.cs
rename to Ryujinx.Core/OsHle/Objects/Am/IAudioController.cs
index 0ca49f892c..c37042fdba 100644
--- a/Ryujinx/OsHle/Objects/Am/IAudioController.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/IAudioController.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class IAudioController : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/ICommonStateGetter.cs b/Ryujinx.Core/OsHle/Objects/Am/ICommonStateGetter.cs
similarity index 96%
rename from Ryujinx/OsHle/Objects/Am/ICommonStateGetter.cs
rename to Ryujinx.Core/OsHle/Objects/Am/ICommonStateGetter.cs
index 5a3af8e113..83d61fa647 100644
--- a/Ryujinx/OsHle/Objects/Am/ICommonStateGetter.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/ICommonStateGetter.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class ICommonStateGetter : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/IDebugFunctions.cs b/Ryujinx.Core/OsHle/Objects/Am/IDebugFunctions.cs
similarity index 85%
rename from Ryujinx/OsHle/Objects/Am/IDebugFunctions.cs
rename to Ryujinx.Core/OsHle/Objects/Am/IDebugFunctions.cs
index dc57e8e6e8..d04d8363f9 100644
--- a/Ryujinx/OsHle/Objects/Am/IDebugFunctions.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/IDebugFunctions.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class IDebugFunctions : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/IDisplayController.cs b/Ryujinx.Core/OsHle/Objects/Am/IDisplayController.cs
similarity index 85%
rename from Ryujinx/OsHle/Objects/Am/IDisplayController.cs
rename to Ryujinx.Core/OsHle/Objects/Am/IDisplayController.cs
index 8861208667..9eafa70dc9 100644
--- a/Ryujinx/OsHle/Objects/Am/IDisplayController.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/IDisplayController.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class IDisplayController : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/ILibraryAppletCreator.cs b/Ryujinx.Core/OsHle/Objects/Am/ILibraryAppletCreator.cs
similarity index 86%
rename from Ryujinx/OsHle/Objects/Am/ILibraryAppletCreator.cs
rename to Ryujinx.Core/OsHle/Objects/Am/ILibraryAppletCreator.cs
index 91fae3dd0f..10e0f4f4af 100644
--- a/Ryujinx/OsHle/Objects/Am/ILibraryAppletCreator.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/ILibraryAppletCreator.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class ILibraryAppletCreator : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/IParentalControlService.cs b/Ryujinx.Core/OsHle/Objects/Am/IParentalControlService.cs
similarity index 86%
rename from Ryujinx/OsHle/Objects/Am/IParentalControlService.cs
rename to Ryujinx.Core/OsHle/Objects/Am/IParentalControlService.cs
index c462ff07fc..1feacfa642 100644
--- a/Ryujinx/OsHle/Objects/Am/IParentalControlService.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/IParentalControlService.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class IParentalControlService : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/ISelfController.cs b/Ryujinx.Core/OsHle/Objects/Am/ISelfController.cs
similarity index 95%
rename from Ryujinx/OsHle/Objects/Am/ISelfController.cs
rename to Ryujinx.Core/OsHle/Objects/Am/ISelfController.cs
index c46396c559..691bb202f9 100644
--- a/Ryujinx/OsHle/Objects/Am/ISelfController.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/ISelfController.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class ISelfController : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/IStorage.cs b/Ryujinx.Core/OsHle/Objects/Am/IStorage.cs
similarity index 84%
rename from Ryujinx/OsHle/Objects/Am/IStorage.cs
rename to Ryujinx.Core/OsHle/Objects/Am/IStorage.cs
index d5a7ee6107..b30059ba29 100644
--- a/Ryujinx/OsHle/Objects/Am/IStorage.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/IStorage.cs
@@ -1,9 +1,9 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class IStorage : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/IStorageAccessor.cs b/Ryujinx.Core/OsHle/Objects/Am/IStorageAccessor.cs
similarity index 95%
rename from Ryujinx/OsHle/Objects/Am/IStorageAccessor.cs
rename to Ryujinx.Core/OsHle/Objects/Am/IStorageAccessor.cs
index bcf0fc01cb..df260cc3e9 100644
--- a/Ryujinx/OsHle/Objects/Am/IStorageAccessor.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/IStorageAccessor.cs
@@ -1,9 +1,9 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class IStorageAccessor : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Am/IWindowController.cs b/Ryujinx.Core/OsHle/Objects/Am/IWindowController.cs
similarity index 91%
rename from Ryujinx/OsHle/Objects/Am/IWindowController.cs
rename to Ryujinx.Core/OsHle/Objects/Am/IWindowController.cs
index 1796644e3e..aa6e961e03 100644
--- a/Ryujinx/OsHle/Objects/Am/IWindowController.cs
+++ b/Ryujinx.Core/OsHle/Objects/Am/IWindowController.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Am
+namespace Ryujinx.Core.OsHle.Objects.Am
{
class IWindowController : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Apm/ISession.cs b/Ryujinx.Core/OsHle/Objects/Apm/ISession.cs
similarity index 90%
rename from Ryujinx/OsHle/Objects/Apm/ISession.cs
rename to Ryujinx.Core/OsHle/Objects/Apm/ISession.cs
index f3965b484d..3ab3300557 100644
--- a/Ryujinx/OsHle/Objects/Apm/ISession.cs
+++ b/Ryujinx.Core/OsHle/Objects/Apm/ISession.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Apm
+namespace Ryujinx.Core.OsHle.Objects.Apm
{
class ISession : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Aud/IAudioOut.cs b/Ryujinx.Core/OsHle/Objects/Aud/IAudioOut.cs
similarity index 98%
rename from Ryujinx/OsHle/Objects/Aud/IAudioOut.cs
rename to Ryujinx.Core/OsHle/Objects/Aud/IAudioOut.cs
index 9e55e30e8f..061c63763b 100644
--- a/Ryujinx/OsHle/Objects/Aud/IAudioOut.cs
+++ b/Ryujinx.Core/OsHle/Objects/Aud/IAudioOut.cs
@@ -1,13 +1,13 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Ipc;
using OpenTK.Audio;
using OpenTK.Audio.OpenAL;
using System;
using System.Collections.Generic;
using System.IO;
-namespace Ryujinx.OsHle.Objects.Aud
+namespace Ryujinx.Core.OsHle.Objects.Aud
{
class IAudioOut : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Aud/IAudioRenderer.cs b/Ryujinx.Core/OsHle/Objects/Aud/IAudioRenderer.cs
similarity index 95%
rename from Ryujinx/OsHle/Objects/Aud/IAudioRenderer.cs
rename to Ryujinx.Core/OsHle/Objects/Aud/IAudioRenderer.cs
index a953d82a0e..0535647733 100644
--- a/Ryujinx/OsHle/Objects/Aud/IAudioRenderer.cs
+++ b/Ryujinx.Core/OsHle/Objects/Aud/IAudioRenderer.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Aud
+namespace Ryujinx.Core.OsHle.Objects.Aud
{
class IAudioRenderer : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Friend/IFriendService.cs b/Ryujinx.Core/OsHle/Objects/Friend/IFriendService.cs
similarity index 85%
rename from Ryujinx/OsHle/Objects/Friend/IFriendService.cs
rename to Ryujinx.Core/OsHle/Objects/Friend/IFriendService.cs
index 41084f8dab..e98e27cad6 100644
--- a/Ryujinx/OsHle/Objects/Friend/IFriendService.cs
+++ b/Ryujinx.Core/OsHle/Objects/Friend/IFriendService.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Friend
+namespace Ryujinx.Core.OsHle.Objects.Friend
{
class IFriendService : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/FspSrv/IDirectory.cs b/Ryujinx.Core/OsHle/Objects/FspSrv/IDirectory.cs
similarity index 98%
rename from Ryujinx/OsHle/Objects/FspSrv/IDirectory.cs
rename to Ryujinx.Core/OsHle/Objects/FspSrv/IDirectory.cs
index 8286745115..88fce28eb6 100644
--- a/Ryujinx/OsHle/Objects/FspSrv/IDirectory.cs
+++ b/Ryujinx.Core/OsHle/Objects/FspSrv/IDirectory.cs
@@ -1,5 +1,5 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System;
using System.Collections.Generic;
using System.IO;
@@ -7,7 +7,7 @@ using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
-namespace Ryujinx.OsHle.Objects.FspSrv
+namespace Ryujinx.Core.OsHle.Objects.FspSrv
{
[StructLayout(LayoutKind.Sequential, Size = 0x310)]
struct DirectoryEntry
diff --git a/Ryujinx/OsHle/Objects/FspSrv/IFile.cs b/Ryujinx.Core/OsHle/Objects/FspSrv/IFile.cs
similarity index 97%
rename from Ryujinx/OsHle/Objects/FspSrv/IFile.cs
rename to Ryujinx.Core/OsHle/Objects/FspSrv/IFile.cs
index 2f38999092..95fbc650f5 100644
--- a/Ryujinx/OsHle/Objects/FspSrv/IFile.cs
+++ b/Ryujinx.Core/OsHle/Objects/FspSrv/IFile.cs
@@ -1,10 +1,10 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System;
using System.Collections.Generic;
using System.IO;
-namespace Ryujinx.OsHle.Objects.FspSrv
+namespace Ryujinx.Core.OsHle.Objects.FspSrv
{
class IFile : IIpcInterface, IDisposable
{
diff --git a/Ryujinx/OsHle/Objects/FspSrv/IFileSystem.cs b/Ryujinx.Core/OsHle/Objects/FspSrv/IFileSystem.cs
similarity index 98%
rename from Ryujinx/OsHle/Objects/FspSrv/IFileSystem.cs
rename to Ryujinx.Core/OsHle/Objects/FspSrv/IFileSystem.cs
index c3edf2712b..68b1584528 100644
--- a/Ryujinx/OsHle/Objects/FspSrv/IFileSystem.cs
+++ b/Ryujinx.Core/OsHle/Objects/FspSrv/IFileSystem.cs
@@ -1,11 +1,11 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
using System.IO;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Objects.FspSrv
+namespace Ryujinx.Core.OsHle.Objects.FspSrv
{
class IFileSystem : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/FspSrv/IStorage.cs b/Ryujinx.Core/OsHle/Objects/FspSrv/IStorage.cs
similarity index 94%
rename from Ryujinx/OsHle/Objects/FspSrv/IStorage.cs
rename to Ryujinx.Core/OsHle/Objects/FspSrv/IStorage.cs
index 40fb87cac5..4eca37e8e3 100644
--- a/Ryujinx/OsHle/Objects/FspSrv/IStorage.cs
+++ b/Ryujinx.Core/OsHle/Objects/FspSrv/IStorage.cs
@@ -1,9 +1,9 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
using System.IO;
-namespace Ryujinx.OsHle.Objects.FspSrv
+namespace Ryujinx.Core.OsHle.Objects.FspSrv
{
class IStorage : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Hid/IAppletResource.cs b/Ryujinx.Core/OsHle/Objects/Hid/IAppletResource.cs
similarity index 87%
rename from Ryujinx/OsHle/Objects/Hid/IAppletResource.cs
rename to Ryujinx.Core/OsHle/Objects/Hid/IAppletResource.cs
index ac7ccf5649..d6e8947bbc 100644
--- a/Ryujinx/OsHle/Objects/Hid/IAppletResource.cs
+++ b/Ryujinx.Core/OsHle/Objects/Hid/IAppletResource.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Hid
+namespace Ryujinx.Core.OsHle.Objects.Hid
{
class IAppletResource : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/IIpcInterface.cs b/Ryujinx.Core/OsHle/Objects/IIpcInterface.cs
similarity index 69%
rename from Ryujinx/OsHle/Objects/IIpcInterface.cs
rename to Ryujinx.Core/OsHle/Objects/IIpcInterface.cs
index af0594cc16..c57a097482 100644
--- a/Ryujinx/OsHle/Objects/IIpcInterface.cs
+++ b/Ryujinx.Core/OsHle/Objects/IIpcInterface.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects
+namespace Ryujinx.Core.OsHle.Objects
{
interface IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/ObjHelper.cs b/Ryujinx.Core/OsHle/Objects/ObjHelper.cs
similarity index 84%
rename from Ryujinx/OsHle/Objects/ObjHelper.cs
rename to Ryujinx.Core/OsHle/Objects/ObjHelper.cs
index bab2220321..a151a28799 100644
--- a/Ryujinx/OsHle/Objects/ObjHelper.cs
+++ b/Ryujinx.Core/OsHle/Objects/ObjHelper.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Ipc;
-namespace Ryujinx.OsHle.Objects
+namespace Ryujinx.Core.OsHle.Objects
{
static class ObjHelper
{
diff --git a/Ryujinx/OsHle/Objects/Parcel.cs b/Ryujinx.Core/OsHle/Objects/Parcel.cs
similarity index 97%
rename from Ryujinx/OsHle/Objects/Parcel.cs
rename to Ryujinx.Core/OsHle/Objects/Parcel.cs
index 0d322bab8c..cd7179e1ed 100644
--- a/Ryujinx/OsHle/Objects/Parcel.cs
+++ b/Ryujinx.Core/OsHle/Objects/Parcel.cs
@@ -1,7 +1,7 @@
using System;
using System.IO;
-namespace Ryujinx.OsHle.Objects.Android
+namespace Ryujinx.Core.OsHle.Objects.Android
{
static class Parcel
{
diff --git a/Ryujinx/OsHle/Objects/Time/ISteadyClock.cs b/Ryujinx.Core/OsHle/Objects/Time/ISteadyClock.cs
similarity index 85%
rename from Ryujinx/OsHle/Objects/Time/ISteadyClock.cs
rename to Ryujinx.Core/OsHle/Objects/Time/ISteadyClock.cs
index a5139bab00..1116b84927 100644
--- a/Ryujinx/OsHle/Objects/Time/ISteadyClock.cs
+++ b/Ryujinx.Core/OsHle/Objects/Time/ISteadyClock.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Time
+namespace Ryujinx.Core.OsHle.Objects.Time
{
class ISteadyClock : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Time/ISystemClock.cs b/Ryujinx.Core/OsHle/Objects/Time/ISystemClock.cs
similarity index 93%
rename from Ryujinx/OsHle/Objects/Time/ISystemClock.cs
rename to Ryujinx.Core/OsHle/Objects/Time/ISystemClock.cs
index 1d9bae3bb0..3aa7069150 100644
--- a/Ryujinx/OsHle/Objects/Time/ISystemClock.cs
+++ b/Ryujinx.Core/OsHle/Objects/Time/ISystemClock.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Time
+namespace Ryujinx.Core.OsHle.Objects.Time
{
class ISystemClock : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Time/ITimeZoneService.cs b/Ryujinx.Core/OsHle/Objects/Time/ITimeZoneService.cs
similarity index 85%
rename from Ryujinx/OsHle/Objects/Time/ITimeZoneService.cs
rename to Ryujinx.Core/OsHle/Objects/Time/ITimeZoneService.cs
index 29e7ec9276..c083628bb0 100644
--- a/Ryujinx/OsHle/Objects/Time/ITimeZoneService.cs
+++ b/Ryujinx.Core/OsHle/Objects/Time/ITimeZoneService.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Time
+namespace Ryujinx.Core.OsHle.Objects.Time
{
class ITimeZoneService : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Time/SystemClockType.cs b/Ryujinx.Core/OsHle/Objects/Time/SystemClockType.cs
similarity index 66%
rename from Ryujinx/OsHle/Objects/Time/SystemClockType.cs
rename to Ryujinx.Core/OsHle/Objects/Time/SystemClockType.cs
index ad9675aab4..f447ca1cfb 100644
--- a/Ryujinx/OsHle/Objects/Time/SystemClockType.cs
+++ b/Ryujinx.Core/OsHle/Objects/Time/SystemClockType.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle.Objects.Time
+namespace Ryujinx.Core.OsHle.Objects.Time
{
enum SystemClockType
{
diff --git a/Ryujinx/OsHle/Objects/Vi/IApplicationDisplayService.cs b/Ryujinx.Core/OsHle/Objects/Vi/IApplicationDisplayService.cs
similarity index 96%
rename from Ryujinx/OsHle/Objects/Vi/IApplicationDisplayService.cs
rename to Ryujinx.Core/OsHle/Objects/Vi/IApplicationDisplayService.cs
index 4fa3592800..b3ec0e90cc 100644
--- a/Ryujinx/OsHle/Objects/Vi/IApplicationDisplayService.cs
+++ b/Ryujinx.Core/OsHle/Objects/Vi/IApplicationDisplayService.cs
@@ -1,13 +1,13 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
using System.IO;
-using static Ryujinx.OsHle.Objects.Android.Parcel;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.Android.Parcel;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Objects.Vi
+namespace Ryujinx.Core.OsHle.Objects.Vi
{
class IApplicationDisplayService : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Vi/IHOSBinderDriver.cs b/Ryujinx.Core/OsHle/Objects/Vi/IHOSBinderDriver.cs
similarity index 97%
rename from Ryujinx/OsHle/Objects/Vi/IHOSBinderDriver.cs
rename to Ryujinx.Core/OsHle/Objects/Vi/IHOSBinderDriver.cs
index 157d600fb7..cfd271e85e 100644
--- a/Ryujinx/OsHle/Objects/Vi/IHOSBinderDriver.cs
+++ b/Ryujinx.Core/OsHle/Objects/Vi/IHOSBinderDriver.cs
@@ -1,15 +1,15 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Ipc;
-using Ryujinx.OsHle.Utilities;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
-using static Ryujinx.OsHle.Objects.Android.Parcel;
+using static Ryujinx.Core.OsHle.Objects.Android.Parcel;
-namespace Ryujinx.OsHle.Objects.Vi
+namespace Ryujinx.Core.OsHle.Objects.Vi
{
class IHOSBinderDriver : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Vi/IManagerDisplayService.cs b/Ryujinx.Core/OsHle/Objects/Vi/IManagerDisplayService.cs
similarity index 91%
rename from Ryujinx/OsHle/Objects/Vi/IManagerDisplayService.cs
rename to Ryujinx.Core/OsHle/Objects/Vi/IManagerDisplayService.cs
index c2bbf43b28..f1b3cdd0ad 100644
--- a/Ryujinx/OsHle/Objects/Vi/IManagerDisplayService.cs
+++ b/Ryujinx.Core/OsHle/Objects/Vi/IManagerDisplayService.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Vi
+namespace Ryujinx.Core.OsHle.Objects.Vi
{
class IManagerDisplayService : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Objects/Vi/ISystemDisplayService.cs b/Ryujinx.Core/OsHle/Objects/Vi/ISystemDisplayService.cs
similarity index 88%
rename from Ryujinx/OsHle/Objects/Vi/ISystemDisplayService.cs
rename to Ryujinx.Core/OsHle/Objects/Vi/ISystemDisplayService.cs
index 39d1978640..4c83c25f14 100644
--- a/Ryujinx/OsHle/Objects/Vi/ISystemDisplayService.cs
+++ b/Ryujinx.Core/OsHle/Objects/Vi/ISystemDisplayService.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Objects.Vi
+namespace Ryujinx.Core.OsHle.Objects.Vi
{
class ISystemDisplayService : IIpcInterface
{
diff --git a/Ryujinx/OsHle/Process.cs b/Ryujinx.Core/OsHle/Process.cs
similarity index 96%
rename from Ryujinx/OsHle/Process.cs
rename to Ryujinx.Core/OsHle/Process.cs
index 4d07b94bd9..8426788597 100644
--- a/Ryujinx/OsHle/Process.cs
+++ b/Ryujinx.Core/OsHle/Process.cs
@@ -1,19 +1,19 @@
using ChocolArm64;
using ChocolArm64.Memory;
using ChocolArm64.State;
-using Ryujinx.Loaders;
-using Ryujinx.Loaders.Executables;
-using Ryujinx.OsHle.Exceptions;
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Svc;
+using Ryujinx.Core.Loaders;
+using Ryujinx.Core.Loaders.Executables;
+using Ryujinx.Core.OsHle.Exceptions;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Svc;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
-namespace Ryujinx.OsHle
+namespace Ryujinx.Core.OsHle
{
- class Process : IDisposable
+ public class Process : IDisposable
{
private const int MaxStackSize = 8 * 1024 * 1024;
diff --git a/Ryujinx/OsHle/ServiceCtx.cs b/Ryujinx.Core/OsHle/ServiceCtx.cs
similarity index 92%
rename from Ryujinx/OsHle/ServiceCtx.cs
rename to Ryujinx.Core/OsHle/ServiceCtx.cs
index 501d8d0f01..31ecce3dec 100644
--- a/Ryujinx/OsHle/ServiceCtx.cs
+++ b/Ryujinx.Core/OsHle/ServiceCtx.cs
@@ -1,9 +1,9 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Ipc;
using System.IO;
-namespace Ryujinx.OsHle
+namespace Ryujinx.Core.OsHle
{
class ServiceCtx
{
diff --git a/Ryujinx/OsHle/Services/ServiceAcc.cs b/Ryujinx.Core/OsHle/Services/ServiceAcc.cs
similarity index 83%
rename from Ryujinx/OsHle/Services/ServiceAcc.cs
rename to Ryujinx.Core/OsHle/Services/ServiceAcc.cs
index 632fb41c25..f25113e59a 100644
--- a/Ryujinx/OsHle/Services/ServiceAcc.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceAcc.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Objects.Acc;
+using Ryujinx.Core.OsHle.Objects.Acc;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceApm.cs b/Ryujinx.Core/OsHle/Services/ServiceApm.cs
similarity index 61%
rename from Ryujinx/OsHle/Services/ServiceApm.cs
rename to Ryujinx.Core/OsHle/Services/ServiceApm.cs
index 81e68680a8..e1bc0d348e 100644
--- a/Ryujinx/OsHle/Services/ServiceApm.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceApm.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Objects.Apm;
+using Ryujinx.Core.OsHle.Objects.Apm;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceAppletOE.cs b/Ryujinx.Core/OsHle/Services/ServiceAppletOE.cs
similarity index 64%
rename from Ryujinx/OsHle/Services/ServiceAppletOE.cs
rename to Ryujinx.Core/OsHle/Services/ServiceAppletOE.cs
index 9f2391df73..bbb2484b4a 100644
--- a/Ryujinx/OsHle/Services/ServiceAppletOE.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceAppletOE.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Objects.Am;
+using Ryujinx.Core.OsHle.Objects.Am;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceAud.cs b/Ryujinx.Core/OsHle/Services/ServiceAud.cs
similarity index 94%
rename from Ryujinx/OsHle/Services/ServiceAud.cs
rename to Ryujinx.Core/OsHle/Services/ServiceAud.cs
index 6d1367cf1a..a8ba7dc010 100644
--- a/Ryujinx/OsHle/Services/ServiceAud.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceAud.cs
@@ -1,10 +1,10 @@
using ChocolArm64.Memory;
-using Ryujinx.OsHle.Objects.Aud;
+using Ryujinx.Core.OsHle.Objects.Aud;
using System.Text;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceFriend.cs b/Ryujinx.Core/OsHle/Services/ServiceFriend.cs
similarity index 62%
rename from Ryujinx/OsHle/Services/ServiceFriend.cs
rename to Ryujinx.Core/OsHle/Services/ServiceFriend.cs
index 10c23aaea4..d1229bd46f 100644
--- a/Ryujinx/OsHle/Services/ServiceFriend.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceFriend.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Objects.Friend;
+using Ryujinx.Core.OsHle.Objects.Friend;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceFspSrv.cs b/Ryujinx.Core/OsHle/Services/ServiceFspSrv.cs
similarity index 89%
rename from Ryujinx/OsHle/Services/ServiceFspSrv.cs
rename to Ryujinx.Core/OsHle/Services/ServiceFspSrv.cs
index 17aa3bda7d..3fe41cf061 100644
--- a/Ryujinx/OsHle/Services/ServiceFspSrv.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceFspSrv.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Objects.FspSrv;
+using Ryujinx.Core.OsHle.Objects.FspSrv;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceHid.cs b/Ryujinx.Core/OsHle/Services/ServiceHid.cs
similarity index 89%
rename from Ryujinx/OsHle/Services/ServiceHid.cs
rename to Ryujinx.Core/OsHle/Services/ServiceHid.cs
index 176c7842cc..4b2e82ffb1 100644
--- a/Ryujinx/OsHle/Services/ServiceHid.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceHid.cs
@@ -1,9 +1,9 @@
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Objects.Hid;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Objects.Hid;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceLm.cs b/Ryujinx.Core/OsHle/Services/ServiceLm.cs
similarity index 83%
rename from Ryujinx/OsHle/Services/ServiceLm.cs
rename to Ryujinx.Core/OsHle/Services/ServiceLm.cs
index dc6acad952..1fdde55219 100644
--- a/Ryujinx/OsHle/Services/ServiceLm.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceLm.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceNvDrv.cs b/Ryujinx.Core/OsHle/Services/ServiceNvDrv.cs
similarity index 96%
rename from Ryujinx/OsHle/Services/ServiceNvDrv.cs
rename to Ryujinx.Core/OsHle/Services/ServiceNvDrv.cs
index 405eace2b9..6c5fdaedd1 100644
--- a/Ryujinx/OsHle/Services/ServiceNvDrv.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceNvDrv.cs
@@ -1,12 +1,12 @@
using ChocolArm64.Memory;
-using Ryujinx.Gpu;
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Ipc;
-using Ryujinx.OsHle.Utilities;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Utilities;
+using Ryujinx.Graphics.Gpu;
using System;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
@@ -142,11 +142,11 @@ namespace Ryujinx.OsHle.Services
if ((Flags & 1) != 0)
{
- Align = Context.Ns.Gpu.MemoryMgr.Reserve(Align, (long)Pages * PageSize, 1);
+ Align = Context.Ns.Gpu.ReserveMemory(Align, (long)Pages * PageSize, 1);
}
else
{
- Align = Context.Ns.Gpu.MemoryMgr.Reserve((long)Pages * PageSize, Align);
+ Align = Context.Ns.Gpu.ReserveMemory((long)Pages * PageSize, Align);
}
Context.Memory.WriteInt64(Position + 0x10, Align);
@@ -174,11 +174,11 @@ namespace Ryujinx.OsHle.Services
{
if ((Flags & 1) != 0)
{
- Offset = Context.Ns.Gpu.MemoryMgr.Map(NvMap.Address, Offset, NvMap.Size);
+ Offset = Context.Ns.Gpu.MapMemory(NvMap.Address, Offset, NvMap.Size);
}
else
{
- Offset = Context.Ns.Gpu.MemoryMgr.Map(NvMap.Address, NvMap.Size);
+ Offset = Context.Ns.Gpu.MapMemory(NvMap.Address, NvMap.Size);
}
}
@@ -417,7 +417,7 @@ namespace Ryujinx.OsHle.Services
int Size = (int)(GpFifoHdr >> 40) & 0x7ffffc;
- long CpuAddr = Context.Ns.Gpu.MemoryMgr.GetCpuAddr(GpuAddr);
+ long CpuAddr = Context.Ns.Gpu.GetCpuAddr(GpuAddr);
if (CpuAddr != -1)
{
@@ -425,7 +425,7 @@ namespace Ryujinx.OsHle.Services
NsGpuPBEntry[] PushBuffer = NsGpuPBEntry.DecodePushBuffer(Data);
- Context.Ns.Gpu.PGraph.ProcessPushBuffer(PushBuffer, Context.Memory);
+ Context.Ns.Gpu.ProcessPushBuffer(PushBuffer, Context.Memory);
}
}
diff --git a/Ryujinx/OsHle/Services/ServicePctl.cs b/Ryujinx.Core/OsHle/Services/ServicePctl.cs
similarity index 63%
rename from Ryujinx/OsHle/Services/ServicePctl.cs
rename to Ryujinx.Core/OsHle/Services/ServicePctl.cs
index a0a5aaf3f8..9c4406bb64 100644
--- a/Ryujinx/OsHle/Services/ServicePctl.cs
+++ b/Ryujinx.Core/OsHle/Services/ServicePctl.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Objects.Am;
+using Ryujinx.Core.OsHle.Objects.Am;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServicePl.cs b/Ryujinx.Core/OsHle/Services/ServicePl.cs
similarity index 91%
rename from Ryujinx/OsHle/Services/ServicePl.cs
rename to Ryujinx.Core/OsHle/Services/ServicePl.cs
index 6981637f9c..21e6741cdf 100644
--- a/Ryujinx/OsHle/Services/ServicePl.cs
+++ b/Ryujinx.Core/OsHle/Services/ServicePl.cs
@@ -1,6 +1,6 @@
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Ipc;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceSet.cs b/Ryujinx.Core/OsHle/Services/ServiceSet.cs
similarity index 95%
rename from Ryujinx/OsHle/Services/ServiceSet.cs
rename to Ryujinx.Core/OsHle/Services/ServiceSet.cs
index f98e8f0de2..83ea5b2ce4 100644
--- a/Ryujinx/OsHle/Services/ServiceSet.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceSet.cs
@@ -1,6 +1,6 @@
using ChocolArm64.Memory;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceSm.cs b/Ryujinx.Core/OsHle/Services/ServiceSm.cs
similarity index 91%
rename from Ryujinx/OsHle/Services/ServiceSm.cs
rename to Ryujinx.Core/OsHle/Services/ServiceSm.cs
index 8af3ed5e4d..58abed2411 100644
--- a/Ryujinx/OsHle/Services/ServiceSm.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceSm.cs
@@ -1,7 +1,7 @@
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Ipc;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceTime.cs b/Ryujinx.Core/OsHle/Services/ServiceTime.cs
similarity index 88%
rename from Ryujinx/OsHle/Services/ServiceTime.cs
rename to Ryujinx.Core/OsHle/Services/ServiceTime.cs
index 8a32aabc19..a5fddcba6d 100644
--- a/Ryujinx/OsHle/Services/ServiceTime.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceTime.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Objects.Time;
+using Ryujinx.Core.OsHle.Objects.Time;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Services/ServiceVi.cs b/Ryujinx.Core/OsHle/Services/ServiceVi.cs
similarity index 69%
rename from Ryujinx/OsHle/Services/ServiceVi.cs
rename to Ryujinx.Core/OsHle/Services/ServiceVi.cs
index 096bc18f01..75cdc31b24 100644
--- a/Ryujinx/OsHle/Services/ServiceVi.cs
+++ b/Ryujinx.Core/OsHle/Services/ServiceVi.cs
@@ -1,8 +1,8 @@
-using Ryujinx.OsHle.Objects.Vi;
+using Ryujinx.Core.OsHle.Objects.Vi;
-using static Ryujinx.OsHle.Objects.ObjHelper;
+using static Ryujinx.Core.OsHle.Objects.ObjHelper;
-namespace Ryujinx.OsHle.Services
+namespace Ryujinx.Core.OsHle.Services
{
static partial class Service
{
diff --git a/Ryujinx/OsHle/Svc/SvcHandler.cs b/Ryujinx.Core/OsHle/Svc/SvcHandler.cs
similarity index 98%
rename from Ryujinx/OsHle/Svc/SvcHandler.cs
rename to Ryujinx.Core/OsHle/Svc/SvcHandler.cs
index 3ab89d4455..60af1e11d7 100644
--- a/Ryujinx/OsHle/Svc/SvcHandler.cs
+++ b/Ryujinx.Core/OsHle/Svc/SvcHandler.cs
@@ -3,7 +3,7 @@ using ChocolArm64.State;
using System;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Svc
+namespace Ryujinx.Core.OsHle.Svc
{
partial class SvcHandler
{
diff --git a/Ryujinx/OsHle/Svc/SvcMemory.cs b/Ryujinx.Core/OsHle/Svc/SvcMemory.cs
similarity index 98%
rename from Ryujinx/OsHle/Svc/SvcMemory.cs
rename to Ryujinx.Core/OsHle/Svc/SvcMemory.cs
index fa91397c45..7528f4e032 100644
--- a/Ryujinx/OsHle/Svc/SvcMemory.cs
+++ b/Ryujinx.Core/OsHle/Svc/SvcMemory.cs
@@ -1,8 +1,8 @@
using ChocolArm64.Memory;
using ChocolArm64.State;
-using Ryujinx.OsHle.Handles;
+using Ryujinx.Core.OsHle.Handles;
-namespace Ryujinx.OsHle.Svc
+namespace Ryujinx.Core.OsHle.Svc
{
partial class SvcHandler
{
diff --git a/Ryujinx/OsHle/Svc/SvcResult.cs b/Ryujinx.Core/OsHle/Svc/SvcResult.cs
similarity index 84%
rename from Ryujinx/OsHle/Svc/SvcResult.cs
rename to Ryujinx.Core/OsHle/Svc/SvcResult.cs
index 4f0c4f1fd5..a5be9a9457 100644
--- a/Ryujinx/OsHle/Svc/SvcResult.cs
+++ b/Ryujinx.Core/OsHle/Svc/SvcResult.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.OsHle.Svc
+namespace Ryujinx.Core.OsHle.Svc
{
enum SvcResult
{
diff --git a/Ryujinx/OsHle/Svc/SvcSystem.cs b/Ryujinx.Core/OsHle/Svc/SvcSystem.cs
similarity index 98%
rename from Ryujinx/OsHle/Svc/SvcSystem.cs
rename to Ryujinx.Core/OsHle/Svc/SvcSystem.cs
index 0570ccb09e..7f593c8f2a 100644
--- a/Ryujinx/OsHle/Svc/SvcSystem.cs
+++ b/Ryujinx.Core/OsHle/Svc/SvcSystem.cs
@@ -1,12 +1,12 @@
using ChocolArm64.Memory;
using ChocolArm64.State;
-using Ryujinx.OsHle.Exceptions;
-using Ryujinx.OsHle.Handles;
-using Ryujinx.OsHle.Ipc;
+using Ryujinx.Core.OsHle.Exceptions;
+using Ryujinx.Core.OsHle.Handles;
+using Ryujinx.Core.OsHle.Ipc;
using System;
using System.Threading;
-namespace Ryujinx.OsHle.Svc
+namespace Ryujinx.Core.OsHle.Svc
{
partial class SvcHandler
{
diff --git a/Ryujinx/OsHle/Svc/SvcThread.cs b/Ryujinx.Core/OsHle/Svc/SvcThread.cs
similarity index 97%
rename from Ryujinx/OsHle/Svc/SvcThread.cs
rename to Ryujinx.Core/OsHle/Svc/SvcThread.cs
index cc2bbb1eb3..a635edb15c 100644
--- a/Ryujinx/OsHle/Svc/SvcThread.cs
+++ b/Ryujinx.Core/OsHle/Svc/SvcThread.cs
@@ -1,7 +1,7 @@
using ChocolArm64.State;
-using Ryujinx.OsHle.Handles;
+using Ryujinx.Core.OsHle.Handles;
-namespace Ryujinx.OsHle.Svc
+namespace Ryujinx.Core.OsHle.Svc
{
partial class SvcHandler
{
diff --git a/Ryujinx/OsHle/Svc/SvcThreadSync.cs b/Ryujinx.Core/OsHle/Svc/SvcThreadSync.cs
similarity index 97%
rename from Ryujinx/OsHle/Svc/SvcThreadSync.cs
rename to Ryujinx.Core/OsHle/Svc/SvcThreadSync.cs
index f342f51d58..dec13f75e3 100644
--- a/Ryujinx/OsHle/Svc/SvcThreadSync.cs
+++ b/Ryujinx.Core/OsHle/Svc/SvcThreadSync.cs
@@ -1,7 +1,7 @@
using ChocolArm64.State;
-using Ryujinx.OsHle.Handles;
+using Ryujinx.Core.OsHle.Handles;
-namespace Ryujinx.OsHle.Svc
+namespace Ryujinx.Core.OsHle.Svc
{
partial class SvcHandler
{
diff --git a/Ryujinx/OsHle/Utilities/IdPool.cs b/Ryujinx.Core/OsHle/Utilities/IdPool.cs
similarity index 96%
rename from Ryujinx/OsHle/Utilities/IdPool.cs
rename to Ryujinx.Core/OsHle/Utilities/IdPool.cs
index 836d6310eb..a7e181fa23 100644
--- a/Ryujinx/OsHle/Utilities/IdPool.cs
+++ b/Ryujinx.Core/OsHle/Utilities/IdPool.cs
@@ -1,6 +1,6 @@
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Utilities
+namespace Ryujinx.Core.OsHle.Utilities
{
class IdPool
{
diff --git a/Ryujinx/OsHle/Utilities/IdPoolWithObj.cs b/Ryujinx.Core/OsHle/Utilities/IdPoolWithObj.cs
similarity index 97%
rename from Ryujinx/OsHle/Utilities/IdPoolWithObj.cs
rename to Ryujinx.Core/OsHle/Utilities/IdPoolWithObj.cs
index 621466a823..f0a339df3a 100644
--- a/Ryujinx/OsHle/Utilities/IdPoolWithObj.cs
+++ b/Ryujinx.Core/OsHle/Utilities/IdPoolWithObj.cs
@@ -3,7 +3,7 @@ using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
-namespace Ryujinx.OsHle.Utilities
+namespace Ryujinx.Core.OsHle.Utilities
{
class IdPoolWithObj : IEnumerable>
{
diff --git a/Ryujinx/OsHle/Utilities/MemReader.cs b/Ryujinx.Core/OsHle/Utilities/MemReader.cs
similarity index 95%
rename from Ryujinx/OsHle/Utilities/MemReader.cs
rename to Ryujinx.Core/OsHle/Utilities/MemReader.cs
index 9868293a04..fe92f68fd2 100644
--- a/Ryujinx/OsHle/Utilities/MemReader.cs
+++ b/Ryujinx.Core/OsHle/Utilities/MemReader.cs
@@ -1,6 +1,6 @@
using ChocolArm64.Memory;
-namespace Ryujinx.OsHle.Utilities
+namespace Ryujinx.Core.OsHle.Utilities
{
class MemReader
{
diff --git a/Ryujinx/OsHle/Utilities/MemWriter.cs b/Ryujinx.Core/OsHle/Utilities/MemWriter.cs
similarity index 94%
rename from Ryujinx/OsHle/Utilities/MemWriter.cs
rename to Ryujinx.Core/OsHle/Utilities/MemWriter.cs
index 041b0a970a..21b6a3b653 100644
--- a/Ryujinx/OsHle/Utilities/MemWriter.cs
+++ b/Ryujinx.Core/OsHle/Utilities/MemWriter.cs
@@ -1,6 +1,6 @@
using ChocolArm64.Memory;
-namespace Ryujinx.OsHle.Utilities
+namespace Ryujinx.Core.OsHle.Utilities
{
class MemWriter
{
diff --git a/Ryujinx.Core/Ryujinx.Core.csproj b/Ryujinx.Core/Ryujinx.Core.csproj
new file mode 100644
index 0000000000..7d5ad71853
--- /dev/null
+++ b/Ryujinx.Core/Ryujinx.Core.csproj
@@ -0,0 +1,20 @@
+
+
+
+ netcoreapp2.0
+
+
+
+ true
+
+
+
+ true
+
+
+
+
+
+
+
+
diff --git a/Ryujinx/Switch.cs b/Ryujinx.Core/Switch.cs
similarity index 54%
rename from Ryujinx/Switch.cs
rename to Ryujinx.Core/Switch.cs
index 4022061bc6..2b6a904573 100644
--- a/Ryujinx/Switch.cs
+++ b/Ryujinx.Core/Switch.cs
@@ -1,11 +1,11 @@
using ChocolArm64.Memory;
-using Gal;
-using Ryujinx.Gpu;
-using Ryujinx.OsHle;
+using Ryujinx.Core.OsHle;
+using Ryujinx.Graphics.Gal;
+using Ryujinx.Graphics.Gpu;
using System;
using System.Runtime.InteropServices;
-namespace Ryujinx
+namespace Ryujinx.Core
{
public class Switch : IDisposable
{
@@ -28,6 +28,30 @@ namespace Ryujinx
Hid = new Hid(this);
}
+ public void FinalizeAllProcesses()
+ {
+ Os.FinalizeAllProcesses();
+ }
+
+ public void LoadCart(string ExeFsDir, string RomFsFile = null)
+ {
+ Os.LoadCart(ExeFsDir, RomFsFile);
+ }
+
+ public void LoadProgram(string FileName)
+ {
+ Os.LoadProgram(FileName);
+ }
+
+ public void SendControllerButtons(HidControllerID ControllerId,
+ HidControllerLayouts Layout,
+ HidControllerKeys Buttons,
+ JoystickPosition LeftJoystick,
+ JoystickPosition RightJoystick)
+ {
+ Hid.SendControllerButtons(ControllerId, Layout, Buttons, LeftJoystick, RightJoystick);
+ }
+
internal virtual void OnFinish(EventArgs e)
{
Finish?.Invoke(this, e);
diff --git a/Ryujinx/VirtualFs.cs b/Ryujinx.Core/VirtualFs.cs
similarity index 98%
rename from Ryujinx/VirtualFs.cs
rename to Ryujinx.Core/VirtualFs.cs
index 98298053f4..23c7285c61 100644
--- a/Ryujinx/VirtualFs.cs
+++ b/Ryujinx.Core/VirtualFs.cs
@@ -1,7 +1,7 @@
using System;
using System.IO;
-namespace Ryujinx
+namespace Ryujinx.Core
{
class VirtualFs : IDisposable
{
diff --git a/Ryujinx/Gal/GalPrimitiveType.cs b/Ryujinx.Graphics/Gal/GalPrimitiveType.cs
similarity index 95%
rename from Ryujinx/Gal/GalPrimitiveType.cs
rename to Ryujinx.Graphics/Gal/GalPrimitiveType.cs
index 7b6d99a0bd..ce084149d1 100644
--- a/Ryujinx/Gal/GalPrimitiveType.cs
+++ b/Ryujinx.Graphics/Gal/GalPrimitiveType.cs
@@ -1,4 +1,4 @@
-namespace Gal
+namespace Ryujinx.Graphics.Gal
{
public enum GalPrimitiveType
{
diff --git a/Ryujinx/Gal/GalVertexAttrib.cs b/Ryujinx.Graphics/Gal/GalVertexAttrib.cs
similarity index 96%
rename from Ryujinx/Gal/GalVertexAttrib.cs
rename to Ryujinx.Graphics/Gal/GalVertexAttrib.cs
index bbc3263375..dc38c59345 100644
--- a/Ryujinx/Gal/GalVertexAttrib.cs
+++ b/Ryujinx.Graphics/Gal/GalVertexAttrib.cs
@@ -1,4 +1,4 @@
-namespace Gal
+namespace Ryujinx.Graphics.Gal
{
public struct GalVertexAttrib
{
diff --git a/Ryujinx/Gal/GalVertexAttribSize.cs b/Ryujinx.Graphics/Gal/GalVertexAttribSize.cs
similarity index 93%
rename from Ryujinx/Gal/GalVertexAttribSize.cs
rename to Ryujinx.Graphics/Gal/GalVertexAttribSize.cs
index 11f0470c28..d3ce60ace3 100644
--- a/Ryujinx/Gal/GalVertexAttribSize.cs
+++ b/Ryujinx.Graphics/Gal/GalVertexAttribSize.cs
@@ -1,4 +1,4 @@
-namespace Gal
+namespace Ryujinx.Graphics.Gal
{
public enum GalVertexAttribSize
{
diff --git a/Ryujinx/Gal/GalVertexAttribType.cs b/Ryujinx.Graphics/Gal/GalVertexAttribType.cs
similarity index 86%
rename from Ryujinx/Gal/GalVertexAttribType.cs
rename to Ryujinx.Graphics/Gal/GalVertexAttribType.cs
index c0ed59fb27..358836fdaf 100644
--- a/Ryujinx/Gal/GalVertexAttribType.cs
+++ b/Ryujinx.Graphics/Gal/GalVertexAttribType.cs
@@ -1,4 +1,4 @@
-namespace Gal
+namespace Ryujinx.Graphics.Gal
{
public enum GalVertexAttribType
{
diff --git a/Ryujinx/Gal/IGalRenderer.cs b/Ryujinx.Graphics/Gal/IGalRenderer.cs
similarity index 93%
rename from Ryujinx/Gal/IGalRenderer.cs
rename to Ryujinx.Graphics/Gal/IGalRenderer.cs
index 306d0d5111..1870aca5b7 100644
--- a/Ryujinx/Gal/IGalRenderer.cs
+++ b/Ryujinx.Graphics/Gal/IGalRenderer.cs
@@ -1,6 +1,6 @@
using System;
-namespace Gal
+namespace Ryujinx.Graphics.Gal
{
public interface IGalRenderer
{
diff --git a/Ryujinx/Gal/OpenGL/OpenGLRenderer.cs b/Ryujinx.Graphics/Gal/OpenGL/OpenGLRenderer.cs
similarity index 99%
rename from Ryujinx/Gal/OpenGL/OpenGLRenderer.cs
rename to Ryujinx.Graphics/Gal/OpenGL/OpenGLRenderer.cs
index 72ad6f706f..7429569b62 100644
--- a/Ryujinx/Gal/OpenGL/OpenGLRenderer.cs
+++ b/Ryujinx.Graphics/Gal/OpenGL/OpenGLRenderer.cs
@@ -2,7 +2,7 @@ using OpenTK.Graphics.OpenGL;
using System;
using System.Collections.Generic;
-namespace Gal.OpenGL
+namespace Ryujinx.Graphics.Gal.OpenGL
{
public class OpenGLRenderer : IGalRenderer
{
diff --git a/Ryujinx/Gpu/BCn.cs b/Ryujinx.Graphics/Gpu/BCn.cs
similarity index 99%
rename from Ryujinx/Gpu/BCn.cs
rename to Ryujinx.Graphics/Gpu/BCn.cs
index bf782d167f..b1caf46751 100644
--- a/Ryujinx/Gpu/BCn.cs
+++ b/Ryujinx.Graphics/Gpu/BCn.cs
@@ -1,7 +1,7 @@
using System;
using System.Drawing;
-namespace Ryujinx.Gpu
+namespace Ryujinx.Graphics.Gpu
{
static class BCn
{
diff --git a/Ryujinx.Graphics/Gpu/NsGpu.cs b/Ryujinx.Graphics/Gpu/NsGpu.cs
new file mode 100644
index 0000000000..133d0af25b
--- /dev/null
+++ b/Ryujinx.Graphics/Gpu/NsGpu.cs
@@ -0,0 +1,53 @@
+using ChocolArm64.Memory;
+using Ryujinx.Graphics.Gal;
+
+namespace Ryujinx.Graphics.Gpu
+{
+ public class NsGpu
+ {
+ public IGalRenderer Renderer { get; private set; }
+
+ internal NsGpuMemoryMgr MemoryMgr { get; private set; }
+
+ internal NsGpuPGraph PGraph { get; private set; }
+
+ public NsGpu(IGalRenderer Renderer)
+ {
+ this.Renderer = Renderer;
+
+ MemoryMgr = new NsGpuMemoryMgr();
+
+ PGraph = new NsGpuPGraph(this);
+ }
+
+ public long GetCpuAddr(long Position)
+ {
+ return MemoryMgr.GetCpuAddr(Position);
+ }
+
+ public long MapMemory(long CpuAddr, long Size)
+ {
+ return MemoryMgr.Map(CpuAddr, Size);
+ }
+
+ public long MapMemory(long CpuAddr, long GpuAddr, long Size)
+ {
+ return MemoryMgr.Map(CpuAddr, GpuAddr, Size);
+ }
+
+ public void ProcessPushBuffer(NsGpuPBEntry[] PushBuffer, AMemory Memory)
+ {
+ PGraph.ProcessPushBuffer(PushBuffer, Memory);
+ }
+
+ public long ReserveMemory(long Size, long Align)
+ {
+ return MemoryMgr.Reserve(Size, Align);
+ }
+
+ public long ReserveMemory(long GpuAddr, long Size, long Align)
+ {
+ return MemoryMgr.Reserve(GpuAddr, Size, Align);
+ }
+ }
+}
\ No newline at end of file
diff --git a/Ryujinx/Gpu/NsGpuEngine.cs b/Ryujinx.Graphics/Gpu/NsGpuEngine.cs
similarity index 87%
rename from Ryujinx/Gpu/NsGpuEngine.cs
rename to Ryujinx.Graphics/Gpu/NsGpuEngine.cs
index bf1045696a..118e2b72a5 100644
--- a/Ryujinx/Gpu/NsGpuEngine.cs
+++ b/Ryujinx.Graphics/Gpu/NsGpuEngine.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Gpu
+namespace Ryujinx.Graphics.Gpu
{
enum NsGpuEngine
{
diff --git a/Ryujinx/Gpu/NsGpuMemoryMgr.cs b/Ryujinx.Graphics/Gpu/NsGpuMemoryMgr.cs
similarity index 99%
rename from Ryujinx/Gpu/NsGpuMemoryMgr.cs
rename to Ryujinx.Graphics/Gpu/NsGpuMemoryMgr.cs
index 563a5c0998..54fabc6719 100644
--- a/Ryujinx/Gpu/NsGpuMemoryMgr.cs
+++ b/Ryujinx.Graphics/Gpu/NsGpuMemoryMgr.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Gpu
+namespace Ryujinx.Graphics.Gpu
{
class NsGpuMemoryMgr
{
diff --git a/Ryujinx/Gpu/NsGpuPBEntry.cs b/Ryujinx.Graphics/Gpu/NsGpuPBEntry.cs
similarity index 97%
rename from Ryujinx/Gpu/NsGpuPBEntry.cs
rename to Ryujinx.Graphics/Gpu/NsGpuPBEntry.cs
index 226a7f61df..8063651aa8 100644
--- a/Ryujinx/Gpu/NsGpuPBEntry.cs
+++ b/Ryujinx.Graphics/Gpu/NsGpuPBEntry.cs
@@ -3,9 +3,9 @@ using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
-namespace Ryujinx.Gpu
+namespace Ryujinx.Graphics.Gpu
{
- struct NsGpuPBEntry
+ public struct NsGpuPBEntry
{
public NsGpuRegister Register { get; private set; }
diff --git a/Ryujinx/Gpu/NsGpuPGraph.cs b/Ryujinx.Graphics/Gpu/NsGpuPGraph.cs
similarity index 99%
rename from Ryujinx/Gpu/NsGpuPGraph.cs
rename to Ryujinx.Graphics/Gpu/NsGpuPGraph.cs
index e40b6283ee..eb893f74c6 100644
--- a/Ryujinx/Gpu/NsGpuPGraph.cs
+++ b/Ryujinx.Graphics/Gpu/NsGpuPGraph.cs
@@ -1,8 +1,8 @@
using ChocolArm64.Memory;
-using Gal;
+using Ryujinx.Graphics.Gal;
using System.Collections.Generic;
-namespace Ryujinx.Gpu
+namespace Ryujinx.Graphics.Gpu
{
class NsGpuPGraph
{
diff --git a/Ryujinx/Gpu/NsGpuRegister.cs b/Ryujinx.Graphics/Gpu/NsGpuRegister.cs
similarity index 98%
rename from Ryujinx/Gpu/NsGpuRegister.cs
rename to Ryujinx.Graphics/Gpu/NsGpuRegister.cs
index 740ca9feb5..319e2c01f6 100644
--- a/Ryujinx/Gpu/NsGpuRegister.cs
+++ b/Ryujinx.Graphics/Gpu/NsGpuRegister.cs
@@ -1,6 +1,6 @@
-namespace Ryujinx.Gpu
+namespace Ryujinx.Graphics.Gpu
{
- enum NsGpuRegister
+ public enum NsGpuRegister
{
BindChannel = 0,
diff --git a/Ryujinx/Gpu/NsGpuTexture.cs b/Ryujinx.Graphics/Gpu/NsGpuTexture.cs
similarity index 79%
rename from Ryujinx/Gpu/NsGpuTexture.cs
rename to Ryujinx.Graphics/Gpu/NsGpuTexture.cs
index 26500c04a2..aac4220059 100644
--- a/Ryujinx/Gpu/NsGpuTexture.cs
+++ b/Ryujinx.Graphics/Gpu/NsGpuTexture.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Gpu
+namespace Ryujinx.Graphics.Gpu
{
struct NsGpuTexture
{
diff --git a/Ryujinx/Gpu/NsGpuTextureFormat.cs b/Ryujinx.Graphics/Gpu/NsGpuTextureFormat.cs
similarity index 76%
rename from Ryujinx/Gpu/NsGpuTextureFormat.cs
rename to Ryujinx.Graphics/Gpu/NsGpuTextureFormat.cs
index 9bb122812d..2993840be7 100644
--- a/Ryujinx/Gpu/NsGpuTextureFormat.cs
+++ b/Ryujinx.Graphics/Gpu/NsGpuTextureFormat.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Gpu
+namespace Ryujinx.Graphics.Gpu
{
enum NsGpuTextureFormat
{
diff --git a/Ryujinx/Gpu/SwizzleAddr.cs b/Ryujinx.Graphics/Gpu/SwizzleAddr.cs
similarity index 99%
rename from Ryujinx/Gpu/SwizzleAddr.cs
rename to Ryujinx.Graphics/Gpu/SwizzleAddr.cs
index 5ad35a5389..08e61eb58f 100644
--- a/Ryujinx/Gpu/SwizzleAddr.cs
+++ b/Ryujinx.Graphics/Gpu/SwizzleAddr.cs
@@ -1,6 +1,6 @@
using System;
-namespace Ryujinx.Gpu
+namespace Ryujinx.Graphics.Gpu
{
class SwizzleAddr
{
diff --git a/Ryujinx.Graphics/Ryujinx.Graphics.csproj b/Ryujinx.Graphics/Ryujinx.Graphics.csproj
new file mode 100644
index 0000000000..657beb827a
--- /dev/null
+++ b/Ryujinx.Graphics/Ryujinx.Graphics.csproj
@@ -0,0 +1,15 @@
+
+
+
+ netcoreapp2.0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ryujinx.sln b/Ryujinx.sln
index 777539885e..34a5f48873 100644
--- a/Ryujinx.sln
+++ b/Ryujinx.sln
@@ -1,11 +1,17 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
-VisualStudioVersion = 15.0.26730.8
+VisualStudioVersion = 15.0.27130.2027
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ryujinx", "Ryujinx\Ryujinx.csproj", "{074045D4-3ED2-4711-9169-E385F2BFB5A0}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx", "Ryujinx\Ryujinx.csproj", "{074045D4-3ED2-4711-9169-E385F2BFB5A0}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ryujinx.Tests", "Ryujinx.Tests\Ryujinx.Tests.csproj", "{EBB55AEA-C7D7-4DEB-BF96-FA1789E225E9}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.Tests", "Ryujinx.Tests\Ryujinx.Tests.csproj", "{EBB55AEA-C7D7-4DEB-BF96-FA1789E225E9}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.Core", "Ryujinx.Core\Ryujinx.Core.csproj", "{CB92CFF9-1D62-4D4F-9E88-8130EF61E351}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChocolArm64", "ChocolArm64\ChocolArm64.csproj", "{2345A1A7-8DEF-419B-9AFB-4DFD41D20D05}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ryujinx.Graphics", "Ryujinx.Graphics\Ryujinx.Graphics.csproj", "{EAAE36AF-7781-4578-A7E0-F0EFD2025569}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -21,6 +27,18 @@ Global
{EBB55AEA-C7D7-4DEB-BF96-FA1789E225E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EBB55AEA-C7D7-4DEB-BF96-FA1789E225E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EBB55AEA-C7D7-4DEB-BF96-FA1789E225E9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CB92CFF9-1D62-4D4F-9E88-8130EF61E351}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CB92CFF9-1D62-4D4F-9E88-8130EF61E351}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CB92CFF9-1D62-4D4F-9E88-8130EF61E351}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CB92CFF9-1D62-4D4F-9E88-8130EF61E351}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2345A1A7-8DEF-419B-9AFB-4DFD41D20D05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2345A1A7-8DEF-419B-9AFB-4DFD41D20D05}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2345A1A7-8DEF-419B-9AFB-4DFD41D20D05}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2345A1A7-8DEF-419B-9AFB-4DFD41D20D05}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EAAE36AF-7781-4578-A7E0-F0EFD2025569}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EAAE36AF-7781-4578-A7E0-F0EFD2025569}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EAAE36AF-7781-4578-A7E0-F0EFD2025569}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EAAE36AF-7781-4578-A7E0-F0EFD2025569}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Ryujinx/Gpu/NsGpu.cs b/Ryujinx/Gpu/NsGpu.cs
deleted file mode 100644
index 6aa7332cdf..0000000000
--- a/Ryujinx/Gpu/NsGpu.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using Gal;
-
-namespace Ryujinx.Gpu
-{
- class NsGpu
- {
- public IGalRenderer Renderer { get; private set; }
-
- public NsGpuMemoryMgr MemoryMgr { get; private set; }
-
- public NsGpuPGraph PGraph { get; private set; }
-
- public NsGpu(IGalRenderer Renderer)
- {
- this.Renderer = Renderer;
-
- MemoryMgr = new NsGpuMemoryMgr();
-
- PGraph = new NsGpuPGraph(this);
- }
- }
-}
\ No newline at end of file
diff --git a/Ryujinx/OsHle/Handles/HEvent.cs b/Ryujinx/OsHle/Handles/HEvent.cs
deleted file mode 100644
index d9d0ff4c2d..0000000000
--- a/Ryujinx/OsHle/Handles/HEvent.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace Ryujinx.OsHle.Handles
-{
- class HEvent
- {
-
- }
-}
\ No newline at end of file
diff --git a/Ryujinx/Ryujinx.csproj b/Ryujinx/Ryujinx.csproj
index 9b0e7396a5..bc5dbe0423 100644
--- a/Ryujinx/Ryujinx.csproj
+++ b/Ryujinx/Ryujinx.csproj
@@ -9,6 +9,11 @@
+
+
+
+
+
PreserveNewest
diff --git a/Ryujinx/Ui/GLScreen.cs b/Ryujinx/Ui/GLScreen.cs
index 8101648ea2..9c05953bf3 100644
--- a/Ryujinx/Ui/GLScreen.cs
+++ b/Ryujinx/Ui/GLScreen.cs
@@ -2,10 +2,11 @@
// to the Public Domain.
// It is provided "as is" without express or implied warranty of any kind.
-using Gal;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
+using Ryujinx.Core;
+using Ryujinx.Graphics.Gal;
using System;
namespace Ryujinx
@@ -346,7 +347,7 @@ void main(void) {
};
//We just need one pair of JoyCon because it's emulate by the keyboard.
- Ns.Hid.SendControllerButtons(HidControllerID.CONTROLLER_HANDHELD, HidControllerLayouts.Main, CurrentButton, LeftJoystick, RightJoystick);
+ Ns.SendControllerButtons(HidControllerID.CONTROLLER_HANDHELD, HidControllerLayouts.Main, CurrentButton, LeftJoystick, RightJoystick);
}
protected override void OnRenderFrame(FrameEventArgs e)
diff --git a/Ryujinx/Ui/Program.cs b/Ryujinx/Ui/Program.cs
index 2f29411a94..7912147ee3 100644
--- a/Ryujinx/Ui/Program.cs
+++ b/Ryujinx/Ui/Program.cs
@@ -1,5 +1,6 @@
-using Gal;
-using Gal.OpenGL;
+using Ryujinx.Core;
+using Ryujinx.Graphics.Gal;
+using Ryujinx.Graphics.Gal.OpenGL;
using System;
using System.IO;
@@ -27,20 +28,20 @@ namespace Ryujinx
{
Logging.Info("Loading as cart with RomFS.");
- Ns.Os.LoadCart(args[0], RomFsFiles[0]);
+ Ns.LoadCart(args[0], RomFsFiles[0]);
}
else
{
Logging.Info("Loading as cart WITHOUT RomFS.");
- Ns.Os.LoadCart(args[0]);
+ Ns.LoadCart(args[0]);
}
}
else if (File.Exists(args[0]))
{
Logging.Info("Loading as homebrew.");
- Ns.Os.LoadProgram(args[0]);
+ Ns.LoadProgram(args[0]);
}
}
else
@@ -58,7 +59,7 @@ namespace Ryujinx
Screen.Run(60.0);
}
- Ns.Os.FinalizeAllProcesses();
+ Ns.FinalizeAllProcesses();
Ns.Dispose();
}