mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge branch 'sceSha256' of https://github.com/daniel229/ppsspp into daniel229-sceSha256
This commit is contained in:
commit
29e681808d
7 changed files with 68 additions and 0 deletions
|
@ -1237,6 +1237,8 @@ add_library(${CoreLibName} ${CoreLinkType}
|
|||
Core/HLE/sceRtc.h
|
||||
Core/HLE/sceSas.cpp
|
||||
Core/HLE/sceSas.h
|
||||
Core/HLE/sceSha256.cpp
|
||||
Core/HLE/sceSha256.h
|
||||
Core/HLE/sceSsl.cpp
|
||||
Core/HLE/sceSsl.h
|
||||
Core/HLE/sceUmd.cpp
|
||||
|
|
|
@ -258,6 +258,7 @@
|
|||
<ClCompile Include="HLE\sceGameUpdate.cpp" />
|
||||
<ClCompile Include="HLE\sceRtc.cpp" />
|
||||
<ClCompile Include="HLE\sceSas.cpp" />
|
||||
<ClCompile Include="HLE\sceSha256.cpp" />
|
||||
<ClCompile Include="HLE\sceSsl.cpp" />
|
||||
<ClCompile Include="HLE\sceUmd.cpp" />
|
||||
<ClCompile Include="HLE\sceUsb.cpp" />
|
||||
|
@ -551,6 +552,7 @@
|
|||
<ClInclude Include="HLE\sceGameUpdate.h" />
|
||||
<ClInclude Include="HLE\sceRtc.h" />
|
||||
<ClInclude Include="HLE\sceSas.h" />
|
||||
<ClInclude Include="HLE\sceSha256.h" />
|
||||
<ClInclude Include="HLE\sceSsl.h" />
|
||||
<ClInclude Include="HLE\sceUmd.h" />
|
||||
<ClInclude Include="HLE\sceUsb.h" />
|
||||
|
|
|
@ -556,6 +556,9 @@
|
|||
<ClCompile Include="..\ext\udis86\decode.c">
|
||||
<Filter>Ext\udis86</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="HLE\sceSha256.cpp">
|
||||
<Filter>HLE\Libraries</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="ELF\ElfReader.h">
|
||||
|
@ -1026,6 +1029,9 @@
|
|||
<ClInclude Include="..\ext\udis86\udis86.h">
|
||||
<Filter>Ext\udis86</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="HLE\sceSha256.h">
|
||||
<Filter>HLE\Libraries</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="CMakeLists.txt" />
|
||||
|
|
|
@ -69,6 +69,7 @@
|
|||
#include "sceVaudio.h"
|
||||
#include "sceMt19937.h"
|
||||
#include "sceUsbGps.h"
|
||||
#include "sceSha256.h"
|
||||
|
||||
#define N(s) s
|
||||
|
||||
|
@ -330,5 +331,6 @@ void RegisterAllModules() {
|
|||
Register_sceMpegbase();
|
||||
Register_sceUsbGps();
|
||||
Register_sceLibFttt();
|
||||
Register_sceSha256();
|
||||
}
|
||||
|
||||
|
|
35
Core/HLE/sceSha256.cpp
Normal file
35
Core/HLE/sceSha256.cpp
Normal file
|
@ -0,0 +1,35 @@
|
|||
// Copyright (c) 2012- PPSSPP Project.
|
||||
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, version 2.0 or later versions.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License 2.0 for more details.
|
||||
|
||||
// A copy of the GPL 2.0 should have been included with the program.
|
||||
// If not, see http://www.gnu.org/licenses/
|
||||
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "Core/HLE/HLE.h"
|
||||
#include "Core/HLE/FunctionWrappers.h"
|
||||
#include "Core/HLE/sceSha256.h"
|
||||
|
||||
int sceSha256_unknow(u32 unknow1, int unknow2, u32 unknow3) {
|
||||
ERROR_LOG(HLE, "UNIMPL sceSha256_unknow (%08x,%08x,%08x)", unknow1, unknow2, unknow3);
|
||||
return 0;
|
||||
}
|
||||
|
||||
const HLEFunction sceSha256[] =
|
||||
{
|
||||
{ 0x318A350C, WrapI_UIU<sceSha256_unknow>, "sceSha256_unknow" },
|
||||
};
|
||||
|
||||
void Register_sceSha256()
|
||||
{
|
||||
RegisterModule("sceSha256", ARRAY_SIZE(sceSha256), sceSha256);
|
||||
}
|
20
Core/HLE/sceSha256.h
Normal file
20
Core/HLE/sceSha256.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Copyright (c) 2012- PPSSPP Project.
|
||||
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, version 2.0 or later versions.
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License 2.0 for more details.
|
||||
|
||||
// A copy of the GPL 2.0 should have been included with the program.
|
||||
// If not, see http://www.gnu.org/licenses/
|
||||
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#pragma once
|
||||
|
||||
void Register_sceSha256();
|
|
@ -263,6 +263,7 @@ EXEC_AND_LIB_FILES := \
|
|||
$(SRC)/Core/HLE/sceRtc.cpp \
|
||||
$(SRC)/Core/HLE/scePsmf.cpp \
|
||||
$(SRC)/Core/HLE/sceSas.cpp \
|
||||
$(SRC)/Core/HLE/sceSha256.cpp \
|
||||
$(SRC)/Core/HLE/sceSsl.cpp \
|
||||
$(SRC)/Core/HLE/sceUmd.cpp \
|
||||
$(SRC)/Core/HLE/sceUsb.cpp \
|
||||
|
|
Loading…
Add table
Reference in a new issue