| View previous topic :: View next topic |
| Author |
Message |
youresam
Joined: 06 Nov 2005 Posts: 87
|
Posted: Sun Mar 25, 2007 10:35 am Post subject: PSP OSK in 3.03OE |
|
|
I've read up on getting the PSPs builtin OSK to work, and on 3.03OE, as far as I know, the only way is to build it as a PRX and run it in 3.03 mode.
I dont really mind this, but what I'm facing is what I believe a memory issue. memalign fails when trying to create a 128x128 image from graphics.c. However, it succeeds creating a 32x32 image.
So I am wondering if anyone knows how to get the OSK to work on 3.03OE in 1.50 mode?
Thanks.
Last edited by youresam on Sun Mar 25, 2007 10:39 am; edited 1 time in total |
|
| Back to top |
|
 |
youresam
Joined: 06 Nov 2005 Posts: 87
|
Posted: Sun Mar 25, 2007 10:37 am Post subject: Re: PSP OSK in 3.03OE |
|
|
| edit...double post? |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Sun Mar 25, 2007 7:16 pm Post subject: |
|
|
PRX default to only having 64KB of heap, 128x128x4 is 64KB so you stand no chance of allocating that.
To get more put somewhere at the top of your main source file | Code: | | PSP_HEAP_SIZE_KB(1024) |
That will give you a 1MB heap, obviously if you need more then play with the value. |
|
| Back to top |
|
 |
youresam
Joined: 06 Nov 2005 Posts: 87
|
Posted: Mon Mar 26, 2007 4:00 am Post subject: |
|
|
| Ah, thank you TyRaNiD |
|
| Back to top |
|
 |
|