mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-06 10:43:16 +00:00
core: Library cleanup (#1631)
* core: Split error codes into separate files * Reduces build times and is cleaner * core: Bring structs and enums to codebase style * core: More style changes
This commit is contained in:
parent
3d0aacd43d
commit
5b6e0ab238
114 changed files with 2158 additions and 2509 deletions
|
@ -458,7 +458,7 @@ struct MemoryEditor {
|
|||
data_write = data_next = true;
|
||||
if (data_editing_addr_next != (size_t)-1)
|
||||
data_write = data_next = false;
|
||||
unsigned int data_input_value = 0;
|
||||
u32 data_input_value = 0;
|
||||
if (!ReadOnly && data_write &&
|
||||
sscanf(DataInputBuf, "%X", &data_input_value) == 1) {
|
||||
if (WriteFn)
|
||||
|
|
|
@ -131,7 +131,7 @@ static int UTF8CharLength(TextEditor::Char c) {
|
|||
}
|
||||
|
||||
// "Borrowed" from ImGui source
|
||||
static inline int ImTextCharToUtf8(char* buf, int buf_size, unsigned int c) {
|
||||
static inline int ImTextCharToUtf8(char* buf, int buf_size, u32 c) {
|
||||
if (c < 0x80) {
|
||||
buf[0] = (char)c;
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue