From 0f9f787a55ae7f2280cf36a9d0cf64e31bf5eab6 Mon Sep 17 00:00:00 2001 From: Zangetsu38 Date: Sat, 25 Mar 2017 23:25:52 +0100 Subject: [PATCH] Move module in correct path --- .../Cell/Modules}/cellCrossController.cpp | 0 .../Cell/Modules}/cellSysutilNpEula.cpp | 0 rpcs3/{ => Emu/Cell/Modules}/libmedi.cpp | 76 +++++++++---------- 3 files changed, 38 insertions(+), 38 deletions(-) rename rpcs3/{ => Emu/Cell/Modules}/cellCrossController.cpp (100%) rename rpcs3/{ => Emu/Cell/Modules}/cellSysutilNpEula.cpp (100%) rename rpcs3/{ => Emu/Cell/Modules}/libmedi.cpp (95%) diff --git a/rpcs3/cellCrossController.cpp b/rpcs3/Emu/Cell/Modules/cellCrossController.cpp similarity index 100% rename from rpcs3/cellCrossController.cpp rename to rpcs3/Emu/Cell/Modules/cellCrossController.cpp diff --git a/rpcs3/cellSysutilNpEula.cpp b/rpcs3/Emu/Cell/Modules/cellSysutilNpEula.cpp similarity index 100% rename from rpcs3/cellSysutilNpEula.cpp rename to rpcs3/Emu/Cell/Modules/cellSysutilNpEula.cpp diff --git a/rpcs3/libmedi.cpp b/rpcs3/Emu/Cell/Modules/libmedi.cpp similarity index 95% rename from rpcs3/libmedi.cpp rename to rpcs3/Emu/Cell/Modules/libmedi.cpp index be8701bc18..0de376961e 100644 --- a/rpcs3/libmedi.cpp +++ b/rpcs3/Emu/Cell/Modules/libmedi.cpp @@ -1,24 +1,18 @@ -#include "stdafx.h" +#include "stdafx.h" #include "Emu/System.h" #include "Emu/Cell/PPUModule.h" logs::channel libmedi("libmedi", logs::level::notice); -s32 cellMediatorCreateContext() +s32 cellMediatorCloseContext() { libmedi.todo("cellMediatorCreateContext"); return CELL_OK; } -s32 cellMediatorGetSignatureLength() +s32 cellMediatorCreateContext() { - libmedi.todo("cellMediatorGetSignatureLength"); - return CELL_OK; -} - -s32 cellMediatorGetUserInfo() -{ - libmedi.todo("cellMediatorGetUserInfo"); + libmedi.todo("cellMediatorCreateContext"); return CELL_OK; } @@ -28,33 +22,15 @@ s32 cellMediatorFlushCache() return CELL_OK; } -s32 cellMediatorSign() -{ - libmedi.todo("cellMediatorSign"); - return CELL_OK; -} - -s32 cellMediatorPostReports() -{ - libmedi.todo("cellMediatorPostReports"); - return CELL_OK; -} - s32 cellMediatorGetProviderUrl() { libmedi.todo("cellMediatorGetProviderUrl"); return CELL_OK; } -s32 cellMediatorReliablePostReports() +s32 cellMediatorGetSignatureLength() { - libmedi.todo("cellMediatorReliablePostReports"); - return CELL_OK; -} - -s32 cellMediatorCloseContext() -{ - libmedi.todo("cellMediatorCloseContext"); + libmedi.todo("cellMediatorGetSignatureLength"); return CELL_OK; } @@ -64,17 +40,41 @@ s32 cellMediatorGetStatus() return CELL_OK; } +s32 cellMediatorGetUserInfo() +{ + libmedi.todo("cellMediatorGetUserInfo"); + return CELL_OK; +} + +s32 cellMediatorPostReports() +{ + libmedi.todo("cellMediatorPostReports"); + return CELL_OK; +} + +s32 cellMediatorReliablePostReports() +{ + libmedi.todo("cellMediatorReliablePostReports"); + return CELL_OK; +} + +s32 cellMediatorSign() +{ + libmedi.todo("cellMediatorSign"); + return CELL_OK; +} + DECLARE(ppu_module_manager::libmedi)("libmedi", []() { - REG_FUNC(libmedi, cellMediatorCreateContext); - REG_FUNC(libmedi, cellMediatorGetSignatureLength); - REG_FUNC(libmedi, cellMediatorGetUserInfo); - REG_FUNC(libmedi, cellMediatorFlushCache); - REG_FUNC(libmedi, cellMediatorSign); - REG_FUNC(libmedi, cellMediatorPostReports); - REG_FUNC(libmedi, cellMediatorGetProviderUrl); - REG_FUNC(libmedi, cellMediatorReliablePostReports); REG_FUNC(libmedi, cellMediatorCloseContext); + REG_FUNC(libmedi, cellMediatorCreateContext); + REG_FUNC(libmedi, cellMediatorFlushCache); + REG_FUNC(libmedi, cellMediatorGetProviderUrl); + REG_FUNC(libmedi, cellMediatorGetSignatureLength); REG_FUNC(libmedi, cellMediatorGetStatus); + REG_FUNC(libmedi, cellMediatorGetUserInfo); + REG_FUNC(libmedi, cellMediatorPostReports); + REG_FUNC(libmedi, cellMediatorReliablePostReports); + REG_FUNC(libmedi, cellMediatorSign); });