mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
Updated Coding Style (markdown)
parent
e2277e363d
commit
20a1ef91f2
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ We recommend to follow these guidelines when writing code for RPCS3. They aren't
|
|||
* 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 `bool` as is; `char` for representing UTF-8 string character.
|
||||
* 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.
|
||||
* Use `vm::ptr<>` arguments instead of `pointers`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue