@@ -416,8 +416,9 @@ typedef struct retro_unaligned_uint64_s retro_unaligned_uint64_t;
416416 * @return The first two bytes of \c addr as a 16-bit unsigned integer,
417417 * byteswapped from big-endian to host-native order if necessary.
418418 */
419- static INLINE uint16_t retro_get_unaligned_16be (void * addr ) {
420- return retro_be_to_cpu16 (retro_unaligned16 (addr ));
419+ static INLINE uint16_t retro_get_unaligned_16be (void * addr )
420+ {
421+ return retro_be_to_cpu16 (retro_unaligned16 (addr ));
421422}
422423
423424/**
@@ -431,8 +432,9 @@ static INLINE uint16_t retro_get_unaligned_16be(void *addr) {
431432 * @return The first four bytes of \c addr as a 32-bit unsigned integer,
432433 * byteswapped from big-endian to host-native order if necessary.
433434 */
434- static INLINE uint32_t retro_get_unaligned_32be (void * addr ) {
435- return retro_be_to_cpu32 (retro_unaligned32 (addr ));
435+ static INLINE uint32_t retro_get_unaligned_32be (void * addr )
436+ {
437+ return retro_be_to_cpu32 (retro_unaligned32 (addr ));
436438}
437439
438440/**
@@ -446,8 +448,9 @@ static INLINE uint32_t retro_get_unaligned_32be(void *addr) {
446448 * @return The first eight bytes of \c addr as a 64-bit unsigned integer,
447449 * byteswapped from big-endian to host-native order if necessary.
448450 */
449- static INLINE uint64_t retro_get_unaligned_64be (void * addr ) {
450- return retro_be_to_cpu64 (retro_unaligned64 (addr ));
451+ static INLINE uint64_t retro_get_unaligned_64be (void * addr )
452+ {
453+ return retro_be_to_cpu64 (retro_unaligned64 (addr ));
451454}
452455
453456/**
@@ -461,8 +464,9 @@ static INLINE uint64_t retro_get_unaligned_64be(void *addr) {
461464 * @return The first two bytes of \c addr as a 16-bit unsigned integer,
462465 * byteswapped from little-endian to host-native order if necessary.
463466 */
464- static INLINE uint16_t retro_get_unaligned_16le (void * addr ) {
465- return retro_le_to_cpu16 (retro_unaligned16 (addr ));
467+ static INLINE uint16_t retro_get_unaligned_16le (void * addr )
468+ {
469+ return retro_le_to_cpu16 (retro_unaligned16 (addr ));
466470}
467471
468472/**
@@ -476,8 +480,9 @@ static INLINE uint16_t retro_get_unaligned_16le(void *addr) {
476480 * @return The first four bytes of \c addr as a 32-bit unsigned integer,
477481 * byteswapped from little-endian to host-native order if necessary.
478482 */
479- static INLINE uint32_t retro_get_unaligned_32le (void * addr ) {
480- return retro_le_to_cpu32 (retro_unaligned32 (addr ));
483+ static INLINE uint32_t retro_get_unaligned_32le (void * addr )
484+ {
485+ return retro_le_to_cpu32 (retro_unaligned32 (addr ));
481486}
482487
483488/**
@@ -491,8 +496,9 @@ static INLINE uint32_t retro_get_unaligned_32le(void *addr) {
491496 * @return The first eight bytes of \c addr as a 64-bit unsigned integer,
492497 * byteswapped from little-endian to host-native order if necessary.
493498 */
494- static INLINE uint64_t retro_get_unaligned_64le (void * addr ) {
495- return retro_le_to_cpu64 (retro_unaligned64 (addr ));
499+ static INLINE uint64_t retro_get_unaligned_64le (void * addr )
500+ {
501+ return retro_le_to_cpu64 (retro_unaligned64 (addr ));
496502}
497503
498504/**
@@ -505,8 +511,9 @@ static INLINE uint64_t retro_get_unaligned_64le(void *addr) {
505511 * the way a \c uint16_t* usually would be.
506512 * @param v The value to write.
507513 */
508- static INLINE void retro_set_unaligned_16le (void * addr , uint16_t v ) {
509- retro_unaligned16 (addr ) = retro_cpu_to_le16 (v );
514+ static INLINE void retro_set_unaligned_16le (void * addr , uint16_t v )
515+ {
516+ retro_unaligned16 (addr ) = retro_cpu_to_le16 (v );
510517}
511518
512519/**
@@ -519,8 +526,9 @@ static INLINE void retro_set_unaligned_16le(void *addr, uint16_t v) {
519526 * the way a \c uint32_t* usually would be.
520527 * @param v The value to write.
521528 */
522- static INLINE void retro_set_unaligned_32le (void * addr , uint32_t v ) {
523- retro_unaligned32 (addr ) = retro_cpu_to_le32 (v );
529+ static INLINE void retro_set_unaligned_32le (void * addr , uint32_t v )
530+ {
531+ retro_unaligned32 (addr ) = retro_cpu_to_le32 (v );
524532}
525533
526534/**
@@ -533,8 +541,9 @@ static INLINE void retro_set_unaligned_32le(void *addr, uint32_t v) {
533541 * the way a \c uint64_t* usually would be.
534542 * @param v The value to write.
535543 */
536- static INLINE void retro_set_unaligned_64le (void * addr , uint64_t v ) {
537- retro_unaligned64 (addr ) = retro_cpu_to_le64 (v );
544+ static INLINE void retro_set_unaligned_64le (void * addr , uint64_t v )
545+ {
546+ retro_unaligned64 (addr ) = retro_cpu_to_le64 (v );
538547}
539548
540549/**
@@ -547,8 +556,9 @@ static INLINE void retro_set_unaligned_64le(void *addr, uint64_t v) {
547556 * the way a \c uint16_t* usually would be.
548557 * @param v The value to write.
549558 */
550- static INLINE void retro_set_unaligned_16be (void * addr , uint16_t v ) {
551- retro_unaligned16 (addr ) = retro_cpu_to_be16 (v );
559+ static INLINE void retro_set_unaligned_16be (void * addr , uint16_t v )
560+ {
561+ retro_unaligned16 (addr ) = retro_cpu_to_be16 (v );
552562}
553563
554564/**
@@ -561,8 +571,9 @@ static INLINE void retro_set_unaligned_16be(void *addr, uint16_t v) {
561571 * the way a \c uint32_t* usually would be.
562572 * @param v The value to write.
563573 */
564- static INLINE void retro_set_unaligned_32be (void * addr , uint32_t v ) {
565- retro_unaligned32 (addr ) = retro_cpu_to_be32 (v );
574+ static INLINE void retro_set_unaligned_32be (void * addr , uint32_t v )
575+ {
576+ retro_unaligned32 (addr ) = retro_cpu_to_be32 (v );
566577}
567578
568579/**
@@ -575,8 +586,9 @@ static INLINE void retro_set_unaligned_32be(void *addr, uint32_t v) {
575586 * the way a \c uint64_t* usually would be.
576587 * @param v The value to write.
577588 */
578- static INLINE void retro_set_unaligned_64be (void * addr , uint64_t v ) {
579- retro_unaligned64 (addr ) = retro_cpu_to_be64 (v );
589+ static INLINE void retro_set_unaligned_64be (void * addr , uint64_t v )
590+ {
591+ retro_unaligned64 (addr ) = retro_cpu_to_be64 (v );
580592}
581593
582594
0 commit comments