Updated Coding Style (markdown)

Alexandro Sánchez Bach 2014-06-07 07:33:19 -07:00
parent 0421b787e0
commit eed80f794c

@ -25,4 +25,4 @@ We recommend to follow these guidelines when writing code for RPCS3. They aren't
* Allocate memory with *MemoryAllocator*.
* Don't forget to switch endianness: That is, allocate `u32` with `MemoryAllocator<be_t<u32>>`
* Switch endianness on compile time if possible:
* When comparing the type `be_t<u32> x` with the constant `y`, use: `x.ToBE()` and `se32(y)` respectively to gain speed by switching the endianness of the constant in compilation time.
* When comparing `be_t<u32> x` with the constant `y`, use: `x.ToBE()` and `se32(y)` respectively to gain speed by switching endianness on `y` in compilation time.