2015-01-29 16:48:05 +01:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "Emu/System.h"
|
2016-05-13 12:17:26 +02:00
|
|
|
#include "Emu/PSP2/ARMv7Module.h"
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
#include "sceMt19937.h"
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2017-05-13 20:30:37 +02:00
|
|
|
logs::channel sceMt19937("sceMt19937");
|
2016-02-01 22:53:16 +01:00
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
s32 sceMt19937Init(vm::ptr<SceMt19937Context> pCtx, u32 seed)
|
2015-01-30 00:58:53 +01:00
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-30 00:58:53 +01:00
|
|
|
}
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
u32 sceMt19937UInt(vm::ptr<SceMt19937Context> pCtx)
|
2015-01-30 00:58:53 +01:00
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-30 00:58:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2016-02-01 22:53:16 +01:00
|
|
|
#define REG_FUNC(nid, name) REG_FNID(SceMt19937, nid, name)
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2016-02-01 22:53:16 +01:00
|
|
|
DECLARE(arm_module_manager::SceMt19937)("SceMt19937", []()
|
2015-01-29 16:48:05 +01:00
|
|
|
{
|
2015-01-30 00:58:53 +01:00
|
|
|
REG_FUNC(0xEE5BA27C, sceMt19937Init);
|
|
|
|
|
REG_FUNC(0x29E43BB5, sceMt19937UInt);
|
2015-01-29 16:48:05 +01:00
|
|
|
});
|