Updated Coding Style (markdown)

Alexandro Sánchez Bach 2014-06-08 02:55:28 -07:00
parent 0477d16f15
commit 24432511a9

@ -24,5 +24,5 @@ We recommend to follow these guidelines when writing code for RPCS3. They aren't
* Pointers to the function `T (*)(t1 a1, t2 a2)` are `mem_func_ptr_t<T (*)(t1 a1, t2 a2)>`
* 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:
* Switch endianness of constants on compile time if possible:
* 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.