diff options
| author | sschirm <[email protected]> | 2017-02-27 16:40:12 +0100 |
|---|---|---|
| committer | sschirm <[email protected]> | 2017-03-01 18:04:26 +0100 |
| commit | 7840347c32755e94a807f978f1cbb558717ac8cf (patch) | |
| tree | 295cd3ca93a45f8fcc43cf3cbf3887c0e0c5526b /PhysX_3.4/Source/PhysXExtensions/src/serialization/SnSerialUtils.cpp | |
| parent | Pre-release comments marking end of beta. (diff) | |
| download | physx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.tar.xz physx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.zip | |
PhysX 3.4, APEX 1.4 final release @21757769v3.4.0-rc-2
Diffstat (limited to 'PhysX_3.4/Source/PhysXExtensions/src/serialization/SnSerialUtils.cpp')
| -rw-r--r-- | PhysX_3.4/Source/PhysXExtensions/src/serialization/SnSerialUtils.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/PhysX_3.4/Source/PhysXExtensions/src/serialization/SnSerialUtils.cpp b/PhysX_3.4/Source/PhysXExtensions/src/serialization/SnSerialUtils.cpp index c958067e..e478a552 100644 --- a/PhysX_3.4/Source/PhysXExtensions/src/serialization/SnSerialUtils.cpp +++ b/PhysX_3.4/Source/PhysXExtensions/src/serialization/SnSerialUtils.cpp @@ -38,7 +38,7 @@ using namespace physx; namespace { -#define SN_NUM_BINARY_PLATFORMS 11 +#define SN_NUM_BINARY_PLATFORMS 13 const PxU32 sBinaryPlatformTags[SN_NUM_BINARY_PLATFORMS] = { PX_MAKE_FOURCC('W','_','3','2'), @@ -51,7 +51,9 @@ const PxU32 sBinaryPlatformTags[SN_NUM_BINARY_PLATFORMS] = PX_MAKE_FOURCC('A','N','D','R'), PX_MAKE_FOURCC('A','I','O','S'), PX_MAKE_FOURCC('A','A','6','4'), - PX_MAKE_FOURCC('X','O','N','E') + PX_MAKE_FOURCC('X','O','N','E'), + PX_MAKE_FOURCC('N','X','3','2'), + PX_MAKE_FOURCC('N','X','6','4') }; const char* sBinaryPlatformNames[SN_NUM_BINARY_PLATFORMS] = @@ -66,7 +68,9 @@ const char* sBinaryPlatformNames[SN_NUM_BINARY_PLATFORMS] = "android", "ios", "ios64", - "xboxone" + "xboxone", + "nx32", + "nx64" }; #define SN_NUM_BINARY_COMPATIBLE_VERSIONS 1 @@ -107,6 +111,10 @@ PxU32 getBinaryPlatformTag() return sBinaryPlatformTags[9]; #elif PX_XBOXONE return sBinaryPlatformTags[10]; +#elif PX_NX && !PX_A64 + return sBinaryPlatformTags[11]; +#elif PX_NX && PX_A64 + return sBinaryPlatformTags[12]; #else #error Unknown binary platform #endif |