Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JPCSP TO PPSSPP:sceMpegAvcConvertToYuv420
03-08-2013, 03:06 PM
Post: #1
JPCSP TO PPSSPP:sceMpegAvcConvertToYuv420
public int sceMpegAvcConvertToYuv420(int mpeg, TPointer bufferOutput, TPointer unknown1, int unknown2) {
return 0;
}
Use WrapV_IUUUU ?
Find all posts by this user
Quote this message in a reply
03-08-2013, 03:31 PM
Post: #2
RE: JPCSP TO PPSSPP:sceMpegAvcConvertToYuv420
Well, we use u32 for the mpeg param, so it would be WrapI_UUUI, I guess.

-[Unknown]
Find all posts by this user
Quote this message in a reply
03-08-2013, 03:46 PM
Post: #3
RE: JPCSP TO PPSSPP:sceMpegAvcConvertToYuv420
Thanks
Find all posts by this user
Quote this message in a reply
03-09-2013, 11:55 PM
Post: #4
RE: JPCSP TO PPSSPP:sceMpegAvcConvertToYuv420
int sceMpegAvcConvertToYuv420(u32 mpeg, u32 bufferOutput, u32 unknown1, int unknown2)
{
ERROR_LOG(HLE, "UNIMPL sceMpegAvcConvertToYuv420(%08x, %08x, %08x, %08x)", mpeg, bufferOutput, unknown1, unknown2);
return 0;
}

{0xF5E7EA31,WrapI_UUUI<sceMpegAvcConvertToYuv420>,"sceMpegAvcConvertToYuv420"},

VS2012 said "> HLE \ sceMpeg.cpp (1737): error C2973: 'WrapI_UUUI': invalid template argument 'int (__cdecl *) (u32, u32, u32, int)'

Please help
Find all posts by this user
Quote this message in a reply
03-10-2013, 03:00 AM
Post: #5
RE: JPCSP TO PPSSPP:sceMpegAvcConvertToYuv420
Template is wrong, it has:

template<int func(int, u32, u32, u32, int)> void WrapI_UUUI() {

It should not have the extra int (first arg.)

-[Unknown]
Find all posts by this user
Quote this message in a reply
03-10-2013, 05:31 AM
Post: #6
RE: JPCSP TO PPSSPP:sceMpegAvcConvertToYuv420
I remove extra int (first arg.) in template but still fail

e: \ project \ ppsspp \ core \ hle \ FunctionWrappers.h (151): error C2197: 'int (__cdecl * const) (u32, u32, u32, int)': too many arguments call
Find all posts by this user
Quote this message in a reply
03-10-2013, 05:48 AM (This post was last modified: 03-10-2013 05:49 AM by [Unknown].)
Post: #7
RE: JPCSP TO PPSSPP:sceMpegAvcConvertToYuv420
Now you need to change the insides of the template to also not use that first arg (or last arg, really.)

-[Unknown]
Find all posts by this user
Quote this message in a reply
03-10-2013, 06:18 AM
Post: #8
RE: JPCSP TO PPSSPP:sceMpegAvcConvertToYuv420
Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: