I don't know for sure what GX call is actually setting it, since Dolphin and IDA don't have signatures for most of the SDK functions (which is really annoying when trying to debug). I did write a .idc script for importing the map files that dolphin exports into IDA, but most of the functions are still missing.
Does anyone have a proper .dsy file that contains all the SDK functions?
I think it's GXSetProjection, or GXSetProjectionv though.
Anyway, you're looking in the wrong section for setting the projection matrix. It is set directly from these registers:
http://hitmen.c02.at/files/yagcd/yagcd/c...#sec5.11.4
There are 7 registers, projectionA to projectionF. They are also documented here:
http://wiibrew.org/wiki/Hardware/GX/Transform_Unit
The last one, projectionF, is 0 for perspective or 1 for orthographic. The others depend on which it is.
Does anyone have a proper .dsy file that contains all the SDK functions?
I think it's GXSetProjection, or GXSetProjectionv though.
Anyway, you're looking in the wrong section for setting the projection matrix. It is set directly from these registers:
http://hitmen.c02.at/files/yagcd/yagcd/c...#sec5.11.4
There are 7 registers, projectionA to projectionF. They are also documented here:
http://wiibrew.org/wiki/Hardware/GX/Transform_Unit
The last one, projectionF, is 0 for perspective or 1 for orthographic. The others depend on which it is.