basic psp snd + cz80

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@280 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-10-26 20:08:13 +00:00
parent 8ab3e3c1cf
commit a4221917e1
16 changed files with 5127 additions and 62 deletions

View file

@ -32,7 +32,8 @@ static int callback_thread(SceSize args, void *argp)
{
int cbid;
lprintf("callback_thread started with id %i\n", sceKernelGetThreadId());
lprintf("callback_thread started with id %i, priority %i\n",
sceKernelGetThreadId(), sceKernelGetThreadCurrentPriority());
cbid = sceKernelCreateCallback("Exit Callback", exit_callback, NULL);
sceKernelRegisterExitCallback(cbid);
@ -44,9 +45,10 @@ static int callback_thread(SceSize args, void *argp)
void psp_init(void)
{
int thid;
SceUID thid;
lprintf("entered psp_init, threadId %i\n", sceKernelGetThreadId());
lprintf("entered psp_init, threadId %i, priority %i\n", sceKernelGetThreadId(),
sceKernelGetThreadCurrentPriority());
thid = sceKernelCreateThread("update_thread", callback_thread, 0x11, 0xFA0, 0, 0);
if (thid >= 0)