Commit graph

4506 commits

Author SHA1 Message Date
James Benton
fde0e00ff3 Implement GX2SetDepthOnlyControl. 2015-12-01 23:39:36 +00:00
James Benton
422e6eec4e Add alias of sndcore2.rpl for snd_core.rpl.
I think its a slightly upgrade version with new functions and deprecate
some older functions. I think there will be no problem sharing
implementations between the two libraries.
2015-12-01 23:39:35 +00:00
James Benton
fbf84c29ab Fix locked cache memory. 2015-12-01 23:39:34 +00:00
Emmanuel Gil Peyrot
2cec830817 Add an install target to allow for make install. 2015-12-01 21:57:13 +00:00
James Benton
b01296b045 Cleanup gx2_debug gfd writing. 2015-12-01 20:38:03 +00:00
James Benton
27c07c60b1 Add missing wfunc_call.h include for gx2_state 2015-12-01 13:19:16 +00:00
James Benton
3a96c71a2f Add missing #pragma once for gfd.h and wfunc_call.h 2015-12-01 13:19:03 +00:00
James Benton
9f3744f24c Fix broken memlist append and remove. 2015-12-01 12:26:52 +00:00
James
76d12f92a6 Merge pull request #105 from achurch/warning-fixes
Warning fixes
2015-12-01 03:22:59 -08:00
Andrew Church
e251fc82ec Fix missing virtual destructor in MessageClass (-Wdelete-non-virtual-dtor). 2015-12-01 15:11:17 +09:00
Andrew Church
c1426c865b Separate export and write type constants.
This avoids "case not handled" for WriteIndAck when switching on
Pixel/Position/Parameter.
2015-12-01 15:10:48 +09:00
Andrew Church
7bfe28794e Put GX2 First/Last constants in a separate enum from actual values.
This avoids "case not handled" warnings when the full range of values is
not used for a particular type.
2015-12-01 15:10:32 +09:00
Andrew Church
f6af053d7a Clean up missing-case warnings. 2015-12-01 15:10:26 +09:00
Andrew Church
b3b57e736a Explicitly cast id to latte::exp::inst for export instructions.
Otherwise Clang treats the comparison as always false.
2015-12-01 15:10:12 +09:00
Andrew Church
c01d887934 Remove unnecessary #pragma once from .cpp file. 2015-12-01 15:09:39 +09:00
Andrew Church
074e4af062 Use fabs() rather than abs() with double values. 2015-12-01 15:09:31 +09:00
Andrew Church
df70b558f5 DebugPacketStepCoreOver.coreId is unsigned so it can't be negative. 2015-12-01 15:09:04 +09:00
Andrew Church
0f4ef84f1f Fix wrong implementation of bit_scan_reverse() for non-Windows. 2015-12-01 13:32:32 +09:00
James Benton
50c0ac216c coverity: Fix order of memset arguments. 2015-11-30 17:25:23 +00:00
James Benton
da8b519edb coverity: Fix use of uninitialised specifier. 2015-11-30 17:25:12 +00:00
James Benton
b5346b250a coverity: Fix memlist iteration. 2015-11-30 17:24:57 +00:00
James Benton
249fed1773 coveirty: Ensure we call va_end for format_string. 2015-11-30 17:24:41 +00:00
James Benton
0ab8bb130d coverity: Uninitialised members. 2015-11-30 17:24:27 +00:00
James Benton
5bbed60d05 coverity: >= MaxControllers 2015-11-30 17:24:05 +00:00
James Benton
b3aa79ef5d Remove use of unnecessary namespace. 2015-11-30 16:44:23 +00:00
James Benton
9fb251905c Update usages of gsl.
Use gsl::as_span instead of intialiser lists.
2015-11-30 16:44:23 +00:00
James Benton
8c0e8c265e Use ::value instead of () for is_trivially_copyable.
More constant expression friendly.
2015-11-30 06:46:51 -08:00
James Benton
7a2bae067c Cleanup file/folder opening. 2015-11-30 12:58:17 +00:00
Andrew Church
71ed6df323 Actually open the host folder handle in FileSystem::openFolder(). 2015-11-30 14:30:43 +09:00
Andrew Church
c9a7eef7f9 system("PAUSE") only makes sense on Windows. 2015-11-30 14:12:56 +09:00
Andrew Church
abd3eaff58 Fix missing flag in mmap(). 2015-11-30 14:12:46 +09: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
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
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
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
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