mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
Updated Coding Style (markdown)
parent
20a1ef91f2
commit
dc9fdc99ed
@ -22,7 +22,7 @@ We recommend to follow these guidelines when writing code for RPCS3. They aren't
|
||||
* Use only limited number of types in function arguments and result type.
|
||||
* Use `s8`, `s16`, `s32`, `s64` for integral signed types.
|
||||
* Use `u8`, `u16`, `u32`, `u64` for unsigned types.
|
||||
* Use `float`, `double` for floating point numbers.
|
||||
* Use `float`, `double` for floating point numbers. `f32` and `f64` are also available, but not widely used.
|
||||
* Use `b8` for `bool`; `char` for representing UTF-8 string character.
|
||||
* Don't use `be_t<>` in function arguments/results, they are already little-endian.
|
||||
* But don't forget that dereferencing vm::ptr for PS3 leads to big-endian values.
|
||||
|
Loading…
Reference in New Issue
Block a user