Commit graph

5222 commits

Author SHA1 Message Date
Andrew Church
abd3eaff58 Fix missing flag in mmap(). 2015-11-30 14:12:46 +09:00
Andrew Church
b8bb4cf99a cmake: Pass down alternate compilers and flags to subprojects.
Without this fix, if CMAKE_CXX_FLAGS=-stdlib=libc++, then linking fails
due to glbinding using libstdc++ instead.
2015-11-30 14:11:57 +09:00
James Benton
7dba0bf391 cmake: Do not specify compiler in CMakeLists. 2015-11-29 17:35:05 -08:00
James Benton
4c8dbdf1a7 Fix windows filesystem functions. 2015-11-29 17:33:22 -08:00
James Benton
03da94cee0 Implement posix_filesystem functions 2015-11-29 17:33:09 -08:00
James Benton
b7b9861d87 Add extra initialiser list braces around pm4 data to make GCC shutup. 2015-11-29 17:12:15 -08:00
James Benton
da63f2da6d cmake: Do not build tests for glbinding. 2015-11-29 14:14:25 -08:00
James Benton
2c65f25638 cmake: Reorder link libraries. 2015-11-29 14:09:43 -08:00
James Benton
3e5defaa72 Add definitions for gfd tags. 2015-11-29 14:06:26 -08:00
James Benton
0bf2195e55 Add OSAlarmQueue tag definition. 2015-11-29 14:00:10 -08:00
James Benton
cdac4b83f5 cmake: Set compiler to clang++ 2015-11-29 13:52:43 -08:00
James Benton
13a78a9272 Rename enum READ_SIZE and enum ARRAY_MODE to prevent conflicts. 2015-11-29 13:52:43 -08:00
James Benton
f31da8c476 Fix std::array intialiser list needing extra braces. 2015-11-29 13:52:43 -08:00
James Benton
9822a7e1b6 Use a custom offsetof macro because gcc is lame. 2015-11-29 13:52:43 -08:00
James Benton
2c2fd3ec1c Fix logCallEnd. 2015-11-29 21:50:59 +00:00
James Benton
b72cd79f77 cmake: Add OpenGL dependency. 2015-11-29 13:33:44 -08:00
James Benton
a33e2495f4 cmake: Add math lib. 2015-11-29 13:32:16 -08:00
James Benton
fa3125527c cmake: Add pthread dependency. 2015-11-29 13:32:16 -08:00
James Benton
3139d305ba Fix cmake GLFW.
Now depends on the system having glfw installed.
2015-11-29 13:32:16 -08:00
James Benton
8377401775 Check the return address from VirtualAlloc. 2015-11-29 21:24:33 +00:00
James Benton
7f6de44f42 Use WiiU filesystem for hwtests. 2015-11-29 19:57:37 +00:00
James Benton
fd11a3592c Fix missing platform_win_dir from vcxproj 2015-11-29 19:57:37 +00:00
James Benton
f517813ad2 Fix missing const for DefaultStackSize in posix_fiber 2015-11-29 11:28:59 -08:00
James Benton
ace74d38c3 Fix posix_memorymap 2015-11-29 11:28:48 -08:00
James Benton
d50986b222 Fix missing namespace in platform_posix_dir 2015-11-29 11:28:40 -08:00
James Benton
f7dd38bc92 Add missing include for size_t to platform_memorymap 2015-11-29 11:28:13 -08:00
James Benton
37e9c88929 Add GLFW to CMakeLists 2015-11-29 11:12:27 -08:00
James Benton
efe354b398 Fix missing =1; 2015-11-29 11:02:55 -08:00
James Benton
d03f0c4ad6 Return nullptr instead of false! 2015-11-29 11:02:04 -08:00
James Benton
9f44c2fb72 Cheeky rvalues. 2015-11-29 11:02:04 -08:00
James Benton
bf71ae092a Add some stubs for posix filesystem. 2015-11-29 11:02:04 -08:00
James Benton
8fd90ce3f2 Add header for size_t to input.h 2015-11-29 11:02:04 -08:00
James Benton
5e95491b0c Fix copy initialisation. 2015-11-29 11:02:04 -08:00
James Benton
e4a120830b I love executable files 2015-11-29 11:02:04 -08:00
James Benton
4a20df80fe Update CMakeLists 2015-11-29 11:02:04 -08:00
James Benton
a2a5f6bf2a Add missing "override" 2015-11-29 18:56:51 +00:00
James Benton
c7cd804137 Oopsy file name. 2015-11-29 18:43:40 +00:00
James Benton
f0c603b6f9 Replace OSSprintfFromSystem with OSStringFromSystem.
Use fmt::format to get a formatted std::string to pass in.
2015-11-29 18:16:46 +00:00
James Benton
85ae2cee6e Rewrite file system.
Now using handles for open files / folders.
Close #79.
2015-11-29 18:09:31 +00:00
James Benton
95bcca1ff3 debuglog: Provide debug printf on non-MSVC targets 2015-11-29 12:49:27 +00:00
James Benton
534e9f890c glsl_generator: Provide default values for GenerateState members 2015-11-29 12:49:26 +00:00
James Benton
e3ed87a2fb coreinit_fs: replace strcpy_s usage with std::string::copy 2015-11-29 12:49:26 +00:00
archshift
eddf4ed631 gx2_event: don't use deleted std::atomic constructors 2015-11-29 12:49:25 +00:00
James Benton
57a60d9811 Const a bunch of references. 2015-11-29 12:43:05 +00:00
James Benton
74bd758f35 virtual_ptr: Explicitly cast to ppcaddr_t in initialiser 2015-11-29 12:43:05 +00:00
James Benton
70b92e6390 opengl_shader: use fmt::format instead of sprintf_s 2015-11-29 12:43:04 +00:00
archshift
d8d8708523 coreinit_debug: use format_string instead of snprintf 2015-11-29 12:43:04 +00:00
James Benton
91e52ef9a8 strutils: Add format_string.
Basically a sprintf to a std::string
2015-11-29 12:43:03 +00:00
archshift
18c1193c25 latte: explicitly disable copy constructor
std::vector<std::unique_ptr> is not copyable, so trying to use
the copy constructor only leads to compiler errors.
2015-11-29 12:43:03 +00:00
archshift
cb0511733d Use std::runtime_error instead of gsl-internal fail_fast 2015-11-29 12:43:02 +00:00