Hi Brunni, how to use a Thread for loading images??
I´m can try a make loading system resource.
Search found 4 matches
- Fri Oct 12, 2007 11:16 pm
- Forum: PSP Development
- Topic: [Interested?] OldSchool Library
- Replies: 249
- Views: 160010
- Fri Oct 12, 2007 1:21 am
- Forum: PSP Development
- Topic: Thread Problem
- Replies: 3
- Views: 1400
I'm try, but Image not loaded.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);
How to make a thread with loading images??
- Wed Oct 10, 2007 12:51 pm
- Forum: PSP Development
- Topic: Thread Problem
- Replies: 3
- Views: 1400
i´m trying...
I´m try this code below #include <oslib/oslib.h> #include <pspthreadman.h> PSP_MODULE_INFO("THExample", 0, 1, 1); PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU); bool loaded; OSL_IMAGE* Image; int user_main(SceSize args, void *argp)...
- Tue Oct 09, 2007 10:50 pm
- Forum: PSP Development
- Topic: Thread Problem
- Replies: 3
- Views: 1400
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::Start() { LoadT...