Hi does anyone have the prototypes for the official screenshot functions?
0251b134 sceUtilityScreenshotInitStart
86a03a27 sceUtilityScreenshotContStart
f9e0008c sceUtilityScreenshotShutdownStart
ab083ea9 sceUtilityScreenshotUpdate
d81957b7 sceUtilityScreenshotGetStatus
And is there a stub available or will I have to FindFunction and get the address to use them?
Prototypes for sceUtilityScreenshot* ??
-
- Posts: 376
- Joined: Wed May 10, 2006 11:31 pm
-
- Posts: 31
- Joined: Sun Mar 23, 2008 2:16 am
- Contact:
Re: Prototypes for sceUtilityScreenshot* ??
Thats very lazy doing that. Just make a stub...Torch wrote:And is there a stub available or will I have to FindFunction and get the address to use them?
Re: Prototypes for sceUtilityScreenshot* ??
I'm having a problem with this stubs. For example I tried using this stub made by booster for this function:Super Sheep wrote:Thats very lazy doing that. Just make a stub...Torch wrote:And is there a stub available or will I have to FindFunction and get the address to use them?
Code: Select all
.set noreorder
#include "pspimport.s"
IMPORT_START "sceSyscon_driver",0x00010000
IMPORT_FUNC "sceSyscon_driver",0x5EE92F3C,sceSysconSetDebugHandlers
I have only one LIBS in my app lpsppower_driver.
It just says cannot fixup imports and that I have to put the PSPSDK libs last. If I remove the lpsppower_driver and its functions it compiles. I can't change the order because there is only one lib!!
So I had to remove the stub and I used sctrlHENFindFunction to get the function address and assign it to my pointer prototype.
This is the makefile in question.
Code: Select all
TARGET = hold
OBJS = main.o import.o sysconhk.o exports.o
INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
BUILD_PRX = 1
PRX_EXPORTS = exports.exp
USE_KERNEL_LIBC=1
USE_KERNEL_LIBS=1
PSP_FW_VERSION = 390
LIBDIR =
LIBS = -lpsppower_driver
LDFLAGS = -nostdlib -nodefaultlibs
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build_prx.mak