···4141#include <assert.h>
424243434444+#if !defined(XRT_BUILD_DRIVER_PSVR) && !defined(XRT_BUILD_DRIVER_PSMV)
4545+#error "Must only be built with either XRT_BUILD_DRIVER_PSVR or XRT_BUILD_DRIVER_PSMV set"
4646+#endif
4747+4848+4449/*
4550 *
4651 * Helper functions.