Sign in to follow this  
pifor106

u8/s8/u16/s16 not working on Xbo360 with native calling conventions ?

Recommended Posts

Hi,

I'm in the process of running my learning/unit tests on all platforms that I have to support right now and I've stumble upon a bug/problem with the Xbox360.

It seems that uint8/int8, uint16/int16 are not supported. The thing is that all input parameters of this type are passed 0 when going to the C++ side.

If I compile the same code using AS_MAX_PORTABILITY, I have no errors.

I looked rapidly at the code and it seems that the Xenon native implementation only supports integers/floats/doubles and booleans. Am I correct ?

Share this post


Link to post
Share on other sites
This is new to me. It could be a bug in the as_callfunc_xenon.cpp code, possible due to big-endian/little-endian differences.

Unfortunately I don't have any way of testing this myself so I'd appreciate any help I can get from this.

Share this post


Link to post
Share on other sites
We only used ints and floats in our script code on Xbox 360, so we never came across this issue.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this