 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Aura

Joined: 24 Jul 2007 Posts: 37
|
Posted: Thu Aug 16, 2007 9:16 am Post subject: How to use GU in the XMB? |
|
|
I'm having problems getting GU to load in the XMB, I'm just playing around at the moment, but I always crash the XMB, everytime...
I've tried using the Logic source code from the toolchain (seeing as it was made by a fully competant programmer), but alas, same problem. The crash occurs in the SCE_VSH_GRAPHICS thread, and when this thread is suspended, the GU can run without crashing, but when resuming again (even if the GU is no longer running) causes a crash.
I've found that when commenting this line | Code: | | sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,fbp1,BUF_WIDTH); | the crash no longer occurs, but obviously, nothing is drawn onscreen correctly. All of my attempts thus far to try and sort this out have led to very messy code, and no success what so ever.
I'm pritty sure its possible to do it, seeing as the DSX library can draw on the XMB, and using the graphics.c also allows for things to be drawn on screen, but neither has proved very helpful to me for solving this problem. No doubt theres some easy answer that I've completely overlooked, but seeing as my GU knowledge is in the same leauge as a mules, I'm really not sure what I can and can't do.
This has been driving me mental for a while, and any help would be really appreciated.
Thanks.
-Aura _________________ Live. Love. Be. Believe.
Free downgrading/unbricking service list! |
|
| Back to top |
|
 |
Aura

Joined: 24 Jul 2007 Posts: 37
|
|
| Back to top |
|
 |
flatmush
Joined: 07 Aug 2007 Posts: 28 Location: Here
|
|
| Back to top |
|
 |
rz950
Joined: 27 Jun 2005 Posts: 10
|
Posted: Thu Aug 30, 2007 11:23 am Post subject: |
|
|
Maybe it could be other things that are wrong with it and not just sceGuDispBuffer but I know this one should work,
sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,(void*)0x88000,BUF_WIDTH);
same thing as
sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,(void*)(512 * 272 * 4),BUF_WIDTH);
buf_width should be 512
a but more of your code would be useful and helping :) |
|
| Back to top |
|
 |
Aura

Joined: 24 Jul 2007 Posts: 37
|
Posted: Thu Aug 30, 2007 10:40 pm Post subject: |
|
|
Theres no code really to post that you shouldn't already have, all I'm trying to do is get any of the GU examples to work in the XMB, the link I was sent seemed good at first, but only appears to work during the bootscreen at the start, I've tried working from there but still no luck.
-Aura _________________ Live. Love. Be. Believe.
Free downgrading/unbricking service list! |
|
| Back to top |
|
 |
Aura

Joined: 24 Jul 2007 Posts: 37
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|