Commit Graph

38 Commits

Author SHA1 Message Date
Drew DeVault
a064ba053e Add missing includes for cstring 2015-06-16 23:16:18 -06:00
Ben Vanik
ba88955be4 vsnprintf return is dumb. 2015-06-07 16:13:05 -07:00
gibbed
5cfdec7dbf Fix a comment. 2015-06-03 09:50:13 -05:00
gibbed
6d61d0a7b2 Added _snprintf and swprintf. 2015-06-02 10:42:10 -05:00
gibbed
58b1059a23 Reordered the formatting exports in the order of their ordinal. 2015-06-02 10:42:09 -05:00
gibbed
b402fb76e1 Oops. 2015-06-02 10:42:08 -05:00
gibbed
065f0417f2 Fixed vsnprintf behavior when count < 0. 2015-06-02 10:42:08 -05:00
Ben Vanik
5c34b0a73e Fixing printfs and fixing exports. link.exe is too good. 2015-06-01 21:40:53 -07:00
Ben Vanik
a91a754b24 Converting some exports to the new way. 2015-06-01 20:56:57 -07:00
gibbed
225bb74316 Oops. Not sure how that got reverted. 2015-06-01 20:05:54 -05:00
gibbed
2a2fe509e6 Rename _vswprintf to vswprintf. 2015-06-01 19:42:23 -05:00
gibbed
5b06b8436e Use std::ostringstream instead of std::stringstream. 2015-06-01 19:32:13 -05:00
gibbed
fe8d058b36 Completely reimplemented xboxkrnl formatting related functions (sprintf, etc). No longer relies on CRT-provided sprintf/etc. Floating-point types needs more thorough testing. 2015-06-01 19:29:25 -05:00
Ben Vanik
08770a4ec0 Mass renaming. I love clang-format. 2015-05-31 16:58:12 -07:00
gibbed
1613ef35a6 %S support for vsprintf. 2015-05-28 05:18:15 -05:00
Ben Vanik
e3220f7ae6 Code cleanup: moving poly/ into xenia/base/ 2015-05-02 03:42:51 -07:00
Ben Vanik
642259e16f Code cleanup: moving ExportResolver to xe::cpu 2015-05-02 02:11:11 -07:00
Ben Vanik
30f7effa73 Code cleanup: removing common.h 2015-05-02 01:25:59 -07:00
Ben Vanik
20f40a1da4 sprintf. 2015-02-16 10:07:46 -08:00
Ben Vanik
ea1bdd2a24 Fixing vswprintf and adding vscwprintf. 2015-02-01 22:44:33 -08:00
Ben Vanik
00e4a4fe1b Fix #include format. 2015-01-31 22:49:47 -08:00
Ben Vanik
a0eebf8898 Removing old run loop/ref/core/etc. 2014-12-31 19:26:51 -08:00
Ben Vanik
cecf83b7b7 Removing xenia/malloc.*
Using standard memory functions now.
2014-08-20 22:22:47 -07:00
Ben Vanik
1c4dcd5e0e clang-format on most of kernel/ 2014-08-17 13:13:03 -07:00
Ben Vanik
c84fcc70a4 Cleaning up kernel namespaces. 2014-08-16 00:25:13 -07:00
Ben Vanik
916dc397ab Part 1 of kernel simplification/cleanup: removing externs. 2014-08-15 22:59:28 -07:00
Ben Vanik
ec4f41fec4 Moving byte order/memory access to poly. 2014-07-17 19:20:17 -07:00
Ben Vanik
bf882714d0 Cleaning up asserts and file/line macros. 2014-07-12 16:51:52 -07:00
gibbed
7b9a804fc0 vsprintf. 2014-01-20 10:15:53 -08:00
gibbed
7e22d3be92 - Renamed SHIM_SET_RETURN macro to SHIM_SET_RETURN_64.
- Added SHIM_SET_RETURN_32 macro, which sign-extends to 64-bit.
- Updated all uses of SHIM_SET_RETURN to the appropriate macro (either SHIM_SET_RETURN_32 or SHIM_SET_RETURN_64).
2014-01-19 07:24:16 -08:00
Ben Vanik
946397cc8c Fixing warnings. 2014-01-18 00:13:03 -08:00
gibbed
5cdae4cee4 Fixed cast for %p. 2014-01-17 19:18:35 -08:00
gibbed
4fa3efd2b6 Corrected implementation of %s for _vswprintf. 2014-01-17 19:15:58 -08:00
gibbed
373d8a3eb8 Corrected implementation of %n. 2014-01-17 19:10:33 -08:00
gibbed
a6e1095cbc Fixed some formatting and a cast. 2014-01-17 18:57:56 -08:00
gibbed
dbaa47a851 Whoops. Memory leak. 2014-01-17 18:48:47 -08:00
gibbed
441013770d Return value of _vsnprintf and _vswprintf should not be counting the null terminator. 2014-01-17 18:48:02 -08:00
gibbed
cd8c081ee6 _vswprintf. Also moved _vsnprintf and _vswprintf to its own file. 2014-01-17 18:46:56 -08:00