mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
basic psp snd + cz80
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@280 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
8ab3e3c1cf
commit
a4221917e1
16 changed files with 5127 additions and 62 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue