Commit graph

5222 commits

Author SHA1 Message Date
James Benton
7357c8bf08 Use fmt::MemoryWriter for ppcinvokelog 2015-11-29 12:43:02 +00:00
James Benton
8af621c488 Remove static from all "static inline" declarations.
Static is implied when using inline.
2015-11-29 12:43:01 +00:00
archshift
9a18eb1ecf Use explicit std::max template arguments in various places 2015-11-29 12:08:34 +00:00
archshift
8b0c1439aa ppcinvokeresult: fix function returning void value, void specialization 2015-11-29 12:08:00 +00:00
archshift
3614ee4671 Add some more missing include files 2015-11-29 11:59:54 +00:00
archshift
bbf6390e74 DisassembleState: provide default values to members 2015-11-29 11:59:41 +00:00
archshift
628607d1a9 Add missing header include for size_t 2015-11-29 11:58:43 +00:00
archshift
adda1ea428 instructiontable.cpp: remove brackets around scalar strings 2015-11-29 11:58:15 +00:00
James Benton
0c84bc7761 Include pthread.h header for platform_posix_thread 2015-11-29 11:57:58 +00:00
James Benton
cb00b2198f Disable debugnet on non-windows platforms.
Is tied to Windows socket implementation.
2015-11-29 11:57:57 +00:00
archshift
184d583233 CoreState: don't use deleted atomic_bool constructor 2015-11-29 11:57:57 +00:00
archshift
a9b791bc48 Provide CMake build system 2015-11-29 11:49:54 +00:00
James Benton
df923a6518 fuzztests: Remove temporary debug code. 2015-11-29 11:48:47 +00:00
James
cc861457a3 Merge pull request #100 from archshift/not-op
coreinit_alarm: apply not to entire if statement, not left side
2015-11-29 03:39:43 -08:00
archshift
7d38b16a8e coreinit_alarm: apply not to entire if statement, not left side
The previous functionality would be analogous to:
```
if ((!alarm->state) == OSAlarmState::Set) {
	...
}
```
2015-11-28 19:06:07 -08:00
James
1a4545a2b3 Merge pull request #99 from linkmauve/no-executable
Remove executable bit on source files which shouldn’t be executable
2015-11-28 10:34:50 -08:00
Emmanuel Gil Peyrot
c6f6e7b62c Remove executable bit on source files which shouldn’t be executable. 2015-11-28 18:29:20 +00:00
James Benton
09e91041ec jit_internal: Use using instead of typedef. 2015-11-28 18:02:36 +00:00
James Benton
056df3daa8 Remove unused Windows.h 2015-11-28 18:02:36 +00:00
archshift
099ce0ea08 main.cpp: work around docopt bug 31
Details: Parser does not correctly identify option description if on new line
2015-11-28 10:02:28 -08:00
archshift
ea8f4d6d06 statedbg.h: add some missing header files 2015-11-28 10:02:27 -08:00
James Benton
0a81270335 Use thread_local instead of __declspec(thread) for tCurrentCore. 2015-11-28 17:54:33 +00:00
archshift
89184b7e0e fixup! Don't assume MSVC's ability to take a reference to an lvalue 2015-11-28 09:54:23 -08:00
archshift
ef76753642 Don't assume MSVC's ability to take a reference to an lvalue 2015-11-28 09:54:23 -08:00
archshift
040c39983a Replace usage of _rotl with cross-platform implementation from Citra 2015-11-28 09:48:18 -08:00
archshift
318b8fd6de Replace usage of _BitScanReverse with cross-platform implementation 2015-11-28 09:45:17 -08:00
archshift
7609ee9b34 Replace usages of sprintf_s, vsprintf_s, _strdup
Defined them to POSIX signatures to be somewhat portable.
2015-11-28 09:25:47 -08:00
archshift
d62dc2f2d9 debugnet: replace huge if blocks with switch blocks
It's neater and easier for the compiler to optimize into a LUT.
2015-11-28 09:18:34 -08:00
archshift
93312fa722 byte_swap.h: fix platform define checks to use #if defined(xyz) 2015-11-28 09:18:04 -08:00
James Benton
67ffeee49b Remove unused Loader::getUnimplementedData. 2015-11-28 17:16:40 +00:00
James Benton
c43011f089 Remove windows dependencies in gx2_debug. 2015-11-28 17:12:09 +00:00
James Benton
16f91f7b38 Cleanup platform includes. 2015-11-28 17:11:22 +00:00
James Benton
210e25e091 Cross platform memory mapping. 2015-11-28 16:55:21 +00:00
James Benton
b98dc47a70 Rename set_thread_name to setThreadName. 2015-11-28 15:59:41 +00:00
James Benton
cd4480917e Introduce platform_fiber for cross platform fibers. 2015-11-28 15:58:34 +00:00
James Benton
7a91f5777a Use GLFW for window+context creation and input.
Yay crossplatform.
In future will probably move away from GLFW for input - it doesn't give us
much control over processing game pads.
2015-11-28 13:03:50 +00:00
James Benton
c0e679304a Disable tools build. 2015-11-27 02:31:12 +00:00
James
70d7cd20d7 Update README.md
Now using OpenGL 4.5 instead of DirectX12...
2015-11-27 01:48:35 +00:00
James Benton
7ae2990405 Only dump if a dump of same name does not already exist. 2015-11-26 21:39:43 +00:00
James Benton
1a6aedd0ae Re-enable shader dumping. 2015-11-26 21:39:38 +00:00
James Benton
eb99b2194f First pass at 3D textures. 2015-11-26 21:39:33 +00:00
James Benton
eb14a6c57c Implement texture swizzle. 2015-11-26 01:41:17 +00:00
James Benton
20b99fdd6d Implement CB_TARGET_MASK. 2015-11-26 01:41:12 +00:00
James Benton
dcd4d2bd71 Implement pixel shader samplers. 2015-11-26 01:18:41 +00:00
James Benton
92e6a0a608 Fix register offset for GX2Set{Pixel,Vertex}UniformReg. 2015-11-26 01:16:41 +00:00
James Benton
4b86dc109b Disable scissor test for CopyColorBufferToScanBuffer 2015-11-26 01:16:36 +00:00
James Benton
8b7727a280 Fix GLSL recip. 2015-11-26 00:38:59 +00:00
James Benton
4fbc8f324d Fail shader compilation on uniform blocks. 2015-11-26 00:38:54 +00:00
James Benton
11baf0381e Fix active shader check.
Let's pretend this didn't happen...
2015-11-26 00:38:49 +00:00
James Benton
9373e09f43 Add GX2SetDefaultState. 2015-11-26 00:30:31 +00:00