Search found 4 matches

by oldrider
Fri Oct 12, 2007 11:16 pm
Forum: PSP Development
Topic: [Interested?] OldSchool Library
Replies: 249
Views: 156722

..

Hi Brunni, how to use a Thread for loading images??
I´m can try a make loading system resource.
by oldrider
Fri Oct 12, 2007 1:21 am
Forum: PSP Development
Topic: Thread Problem
Replies: 3
Views: 1382

J.F. wrote:Your main thread isn't waiting, so the spawned thread doesn't get time to run. The PSP does COOPERATIVE multitasking, not preemptive. Just add something like

Code: Select all

    sceKernelDelayThread(100000);
I'm try, but Image not loaded.

How to make a thread with loading images??
by oldrider
Wed Oct 10, 2007 12:51 pm
Forum: PSP Development
Topic: Thread Problem
Replies: 3
Views: 1382

i´m trying...

I´m try this code below #include <oslib/oslib.h> #include <pspthreadman.h> PSP_MODULE_INFO&#40;"THExample", 0, 1, 1&#41;; PSP_MAIN_THREAD_ATTR&#40;THREAD_ATTR_USER | THREAD_ATTR_VFPU&#41;; bool loaded; OSL_IMAGE* Image; int user_main&#40;SceSize args, void *argp&#41...
by oldrider
Tue Oct 09, 2007 10:50 pm
Forum: PSP Development
Topic: Thread Problem
Replies: 3
Views: 1382

Thread Problem

Hello, my group is developing a framework OOP for games, using OSLib. how I can make a thread using c++ and OSLib? I need to have a thread carrying my images, sounds, etc. To create a loading system. This is my function Start: void PSPFLoader&#58;&#58;Start&#40;&#41; &#123; LoadT...