Commit graph

4506 commits

Author SHA1 Message Date
James
791d4aa990 Merge pull request #63 from archshift/portable-byteswap
bitutils: Add Linux and Mac byteswap implementations
2015-10-22 17:29:12 +01:00
James
1f324c5772 Merge pull request #66 from lioncash/const
hlsl_generator: Mark some reference variables and parameters const
2015-10-22 10:58:30 +01:00
archshift
7149b50659 bitutils: Add Linux and Mac byteswap implementations
_byteswap_u*** is a MSVC intrinsic and is non-portable.
2015-10-22 01:42:24 -07:00
Lioncash
f632265c91 hlsl_generator: Mark some reference variables and parameters const
These aren't modified in the scope of the function.
2015-10-22 01:25:14 -04:00
Brett Lawson
04329c6897 Allow specification of a system files path. 2015-10-22 01:49:37 -03:00
Brett Lawson
a3caaad3e6 Add swkbd stubs for AmiiboSettings. 2015-10-22 01:48:45 -03:00
Brett Lawson
610f1543a4 For non-DXT textures, don't untile for now since we don't know how. 2015-10-22 01:48:45 -03:00
Brett Lawson
6c518f5b15 Added some more graphics formats. 2015-10-22 01:48:44 -03:00
Brett Lawson
363aadc694 Merge pull request #65 from lioncash/initializer
Fix initializer list order
2015-10-21 23:56:29 -03:00
Brett Lawson
0905f27f89 Merge pull request #59 from lioncash/constexpr
bitutils: Mark some functions as constexpr
2015-10-21 23:38:05 -03:00
Brett Lawson
b5c4367c14 Merge pull request #60 from lioncash/header
virtual_ptr/wfunc_ptr: Add include for bitutils
2015-10-21 23:37:47 -03:00
Brett Lawson
58a65b57e4 Merge pull request #61 from archshift/static-forward-declare
main.cpp: ensure static functions are forward-declared statically
2015-10-21 23:37:39 -03:00
Brett Lawson
01f76204bd Merge pull request #62 from lioncash/override
Add missing override specifiers
2015-10-21 23:37:36 -03:00
Brett Lawson
d59cadad3a Merge pull request #64 from archshift/mem-h-declarations
mem.h: function declarations: fix order, remove redundant "static"
2015-10-21 23:35:50 -03:00
archshift
9df22b6627 mem.h: function declarations: fix order, remove redundant "static"
read/write depend on read/writeNoSwap, so the order of declaration must
be swapped to allow them to call their respective functions.

"static inline" is redundant - inline functions already act as static
functions would.
2015-10-21 18:10:27 -07:00
Lioncash
e34afbb0b5 mem: Replace 0 literals with nullptr 2015-10-21 21:06:04 -04:00
Lioncash
4e928a8fd7 Fix initializer list member order 2015-10-21 21:05:18 -04:00
Lioncash
022dbffe09 Add missing override specifiers 2015-10-21 20:51:04 -04:00
archshift
aa79f47761 main.cpp: ensure static functions are forward-declared statically 2015-10-21 17:43:56 -07:00
Lioncash
5397fc4d9c virtual_ptr/wfunc_ptr: Add include for bitutils
Since it uses byte_swap, this will ensure it doesn't fail to compile due
to an external missing include.
2015-10-21 20:40:22 -04:00
Lioncash
4beb3ae8f2 bitutils: Mark some functions as constexpr 2015-10-21 20:23:27 -04:00
Brett Lawson
ba15540395 Merge pull request #58 from lioncash/const
be_val: Take operator arguments by const reference
2015-10-21 20:41:23 -03:00
Brett Lawson
48cc421c5b Properly log uint64_t arguments for kernel method traces. 2015-10-21 20:37:28 -03:00
Lioncash
16db8eedf7 be_val: Take operator arguments by const reference 2015-10-21 18:24:24 -04:00
Brett Lawson
0cb16671ce Clean up allocations for emulator memory space. 2015-10-21 17:52:59 -03:00
Brett Lawson
5eaf5592f5 Fix building of GX2_NULL. 2015-10-21 01:04:25 -04:00
Brett Lawson
0fab6d37b0 Use a fallback shader for now if shader recompilation fails. 2015-10-21 00:58:42 -04:00
Brett Lawson
a28a3c92b6 Only initialize that WiiU window for 'play' mode. 2015-10-21 00:58:13 -04:00
James Benton
0a1645cd56 Rebranding projects and solution 2015-10-21 20:16:20 +01:00
Brett Lawson
1c8723ac7e Implemented indexed primitive drawing. 2015-10-21 16:03:51 -03:00
James Benton
57189cc2ea Implement coreinit atomic64 functions. 2015-10-21 19:24:29 +01:00
James Benton
8f26f420e1 Fix 64 bit argument register alignment. 2015-10-21 19:24:28 +01:00
Brett Lawson
d8c39219d4 Implement Locked Cache allocations. 2015-10-20 21:38:23 -04:00
Brett Lawson
f5f18acb3b Fix bug in MEMGetTotalFreeSizeForExpHeap 2015-10-20 21:00:26 -04:00
James Benton
246a991831 Add missing snd_core files, oops. 2015-10-21 10:38:22 +01:00
James Benton
3c1aa47246 Deduplicate FPU code! 2015-10-21 01:25:34 +01:00
James Benton
eff029dc1c Use ppcaddr_t for arguments in mem.cpp to match headers. 2015-10-21 01:15:31 +01:00
James Benton
5124491c60 Refactor some snd_core stuff. 2015-10-21 01:07:32 +01:00
James Benton
0bf2fd70a7 Rename some command line args for consistency. 2015-10-21 00:14:17 +01:00
James Benton
defb86b38f Fix gx2_null build. 2015-10-20 23:51:25 +01:00
James Benton
40e5e73258 Add hardware test tools. 2015-10-20 23:41:56 +01:00
James Benton
9c20ba9977 Fix mtspr/mfspr using GQR instead of UGQR. 2015-10-20 21:52:07 +01:00
James Benton
3a3c2c323e Fix is_normal. 2015-10-20 21:51:59 +01:00
James Benton
cebaf7518b Move utility headers to utils/ folder. 2015-10-20 21:51:52 +01:00
Brett Lawson
269ae218dc Print shader source code when compiling fails. 2015-10-20 21:44:15 +01:00
Brett Lawson
682ec92125 Attempt to fix fmadds by copying fmadd, but fails. 2015-10-20 21:43:34 +01:00
Brett Lawson
eede5c5dc4 Fixup fmadd operation. 2015-10-20 21:43:04 +01:00
Brett Lawson
132f50e62a Fix fadd and fadds for negative numbers. 2015-10-20 21:42:40 +01:00
Brett Lawson
9e2dae6910 Fix lots of interpreter instructions. 2015-10-20 21:41:59 +01:00
Brett Lawson
85d51e4aca Further improve FPU emulation accuracy. 2015-10-20 21:41:26 +01:00