Lioncash
|
f68776ce13
|
ncch: Remove C-style struct typedefs
In C++ you can simply just declare it as is.
|
2014-09-06 13:38:03 -04:00 |
|
Lioncash
|
26cd696843
|
ncch: inline declare some variables in LZSS_Decompress
|
2014-09-06 13:36:49 -04:00 |
|
Lioncash
|
d30747efea
|
core: Pass string by reference in FetchFromPortName and DeleteService
|
2014-09-06 13:30:27 -04:00 |
|
Lioncash
|
2f571a0d9d
|
Common: Add a clamp function to math_utils.h
|
2014-08-19 03:37:38 -04:00 |
|
Lioncash
|
ab4648d3ca
|
Core: Use std::array for managing kernel object space
These avoid relying on memset for clearing the arrays.
|
2014-08-19 00:32:48 -04:00 |
|
Lioncash
|
85a20a9b19
|
Common: Get rid of an unnecessary forward declaration in symbols.h
|
2014-08-18 16:40:17 -04:00 |
|
Lioncash
|
a49a5fa4d9
|
Common: Don't return a reference to a string when calling GetName in symbols.cpp
Returning a copy of the string is what was likely meant to be done.
|
2014-08-18 01:59:03 -04:00 |
|
Lioncash
|
98fa3f7cba
|
Core: Alter the kernel string functions to use std::string instead of const char*.
Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
|
2014-08-17 23:12:20 -04:00 |
|
Lioncash
|
986dd27392
|
Core: Fix a formatting error in svc.cpp
entry_point would not be added to the string. Also used StringFromFormat
so that the buffer is unnecessary.
|
2014-08-17 14:28:39 -04:00 |
|
Lioncash
|
da18671166
|
Core: Fix undefined behavior in mem_map_funcs' WriteBlock function
|
2014-08-17 14:23:54 -04:00 |
|
Lioncash
|
cc9f352b66
|
Common: Correctly set ptr to null if mmap fails in memory_util
On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
|
2014-08-17 14:08:43 -04:00 |
|
Lioncash
|
da6f24b374
|
Common: Move remaining C header includes over to their C++ equivalent
|
2014-08-17 13:54:06 -04:00 |
|
Lioncash
|
90e994471a
|
Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
|
2014-08-17 13:45:55 -04:00 |
|
Lioncash
|
8761461003
|
core: Kill off type redefenitions in armdefs.h
|
2014-07-19 22:02:21 -04:00 |
|