Some functions added

This commit is contained in:
Nekotekina 2015-01-30 00:42:53 +03:00
parent 6c40dc0631
commit 74b6d5c2ed
15 changed files with 2167 additions and 331 deletions

View file

@ -2,7 +2,33 @@
#include "Emu/System.h"
#include "Emu/ARMv7/PSVFuncList.h"
extern psv_log_base sceIme;
#include "sceIme.h"
s32 sceImeOpen(vm::psv::ptr<SceImeParam> param)
{
throw __FUNCTION__;
}
s32 sceImeUpdate()
{
throw __FUNCTION__;
}
s32 sceImeSetCaret(vm::psv::ptr<const SceImeCaret> caret)
{
throw __FUNCTION__;
}
s32 sceImeSetPreeditGeometry(vm::psv::ptr<const SceImePreeditGeometry> preedit)
{
throw __FUNCTION__;
}
s32 sceImeClose()
{
throw __FUNCTION__;
}
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceIme, #name, name)
@ -12,9 +38,9 @@ psv_log_base sceIme("SceIme", []()
sceIme.on_unload = nullptr;
sceIme.on_stop = nullptr;
//REG_FUNC(0x0E050613, sceImeOpen);
//REG_FUNC(0x71D6898A, sceImeUpdate);
//REG_FUNC(0x889A8421, sceImeClose);
//REG_FUNC(0xD8342D2A, sceImeSetCaret);
//REG_FUNC(0x7B1EFAA5, sceImeSetPreeditGeometry);
REG_FUNC(0x0E050613, sceImeOpen);
REG_FUNC(0x71D6898A, sceImeUpdate);
REG_FUNC(0x889A8421, sceImeClose);
REG_FUNC(0xD8342D2A, sceImeSetCaret);
REG_FUNC(0x7B1EFAA5, sceImeSetPreeditGeometry);
});