mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 16:49:50 +00:00
57 lines
1.7 KiB
C++
57 lines
1.7 KiB
C++
|
// 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 "HLE.h"
|
||
|
|
||
|
|
||
|
int sceMd5BlockInit(u32 ctxAddr)
|
||
|
{
|
||
|
ERROR_LOG(HLE, "UNIMPL sceMd5BlockInit(%08x)", ctxAddr);
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
int sceMd5BlockUpdate(u32 ctxAddr, u32 dataPtr, u32 len)
|
||
|
{
|
||
|
ERROR_LOG(HLE, "UNIMPL sceMd5BlockUpdate(%08x, %08x, %d)", ctxAddr, dataPtr, len);
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
int sceMd5BlockResult(u32 ctxAddr, u32 digestAddr)
|
||
|
{
|
||
|
ERROR_LOG(HLE, "UNIMPL sceMd5BlockResult(%08x, %08x)", ctxAddr, digestAddr);
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
int sceMd5Digest(u32 dataPtr, u32 len, u32 digestAddr)
|
||
|
{
|
||
|
ERROR_LOG(HLE, "UNIMPL sceMd5Digest(%08x, %d, %08x)", dataPtr, len, digestAddr);
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
const HLEFunction sceMd5[] =
|
||
|
{
|
||
|
{0x19884A15, WrapI_U<sceMd5BlockInit>, "sceMd5BlockInit"},
|
||
|
{0xA30206C2, WrapI_UUU<sceMd5BlockUpdate>, "sceMd5BlockUpdate"},
|
||
|
{0x4876AFFF, WrapI_UU<sceMd5BlockResult>, "sceMd5BlockResult"},
|
||
|
{0x98E31A9E, WrapI_UUU<sceMd5Digest>, "sceMd5Digest"},
|
||
|
};
|
||
|
|
||
|
void Register_sceMd5()
|
||
|
{
|
||
|
RegisterModule("sceMd5", ARRAY_SIZE(sceMd5), sceMd5);
|
||
|
}
|