d/psvr: Tidy code

This commit is contained in:
Jakob Bornecrantz 2020-11-03 18:52:53 +00:00
parent 37e4578cd3
commit 2a9a0100bc

View file

@ -47,7 +47,7 @@ read_u16(const uint8_t **buffer, uint16_t *out_value)
*buffer += 2; *buffer += 2;
} }
inline static void inline static XRT_MAYBE_UNUSED void
read_i16(const uint8_t **buffer, int16_t *out_value) read_i16(const uint8_t **buffer, int16_t *out_value)
{ {
*out_value = (*(*buffer + 0) << 0) | // Byte 0 *out_value = (*(*buffer + 0) << 0) | // Byte 0