2d71571be5
Do not hard fail when running 'make unittests' without GTest.
2014-03-03 03:12:58 +01:00
6176424ac4
Merge pull request #119 from delroth/unittests
...
Add support for GTest based UnitTests
2014-03-03 14:53:24 +13:00
34b5a7871f
Rename the JIT function Default() to FallBackToInterpreter(). Communicates intent way better in terms of telling the reader what's going on.
...
Also did some minor cleanup in functions that used Default.
2014-03-02 19:59:20 -05:00
e7ae1fe9d8
Merge pull request #123 from lioncash/tas-bugfix
...
Fix a case where the wrong placeholders were being assigned for the up and down D-Pad buttons in the TAS dialog.
2014-03-03 01:01:59 +01:00
445d257641
Fix a case where the wrong placeholders were being assigned for the up and down D-Pad buttons in the TAS dialog.
2014-03-02 18:58:54 -05:00
a4ee187711
Tests: Add more MMIO tests as an example.
2014-03-03 00:25:41 +01:00
d4ed4adace
Add the infrastructure required to easily add unit tests and test it with a very simple test file.
2014-03-03 00:25:41 +01:00
c028513285
Merge pull request #121 from lioncash/remove-clamp
...
Remove another clamp function laying in the codebase and replace it with the one in MathUtil.h.
2014-03-02 13:40:10 -06:00
13a007abed
Remove another clamp function laying in the codebase and replace it with the one in MathUtil.h.
2014-03-02 13:57:27 -05:00
70b3749d4b
Merge pull request #109 from lioncash/file-io-clarifications
...
Eliminate the magic constants in the switch statement in WII_IPC_HLE_Device_FileIO.cpp's Seek function.
2014-03-02 18:29:48 +13:00
747021e0c8
CMake: detect GTest if it is installed
2014-03-02 04:15:33 +01:00
c6c6d20014
videosoftware: Provide a more elaborate comment on the FifoPlayer support hack.
2014-03-01 18:52:19 +01:00
17231418ef
videosoftware: Added hack to bypass xfb just so fifoplayer works.
...
Fifoplayer depends on the old behaviour of videosoftware (and the other
hardware backends in non virtual/real xfb modes) where the framebuffer
gets rendered directly to the screen.
Really fifoplayer should call BeginFrame/EndFrame when it finished
rendering a frame, but adding this hack back in is simpler.
2014-03-01 18:45:24 +01:00
3bc082be52
Fix WII_SEEK_END seeking.
2014-02-28 19:56:42 -05:00
0942bdae1c
Merge pull request #116 from Tilka/misc_fixes_fix
...
Fix the Windows build (broken in 315a8ba
)
2014-03-01 01:36:32 +01:00
7c93f2dc23
Fix the Windows build (broken in 315a8ba
)
2014-03-01 01:33:19 +01:00
bc844a168f
Merge pull request #100 from Tilka/misc_fixes
...
Misc fixes
2014-02-28 23:08:56 +01:00
1a7e3b3227
Merge pull request #80 from Tilka/dsp
...
DSP: add inline opcode documentation
2014-02-28 22:50:37 +01:00
c8a169ae6e
Merge pull request #115 from Parlane/polarssl_detect_support
...
Makes the detection of shared PolarSSL more inline with usage.
2014-02-28 22:43:51 +01:00
892012dc02
Remove own round() implementation
...
1. It's not correct, it rounds x.5 down to x.
2. It is visible across the whole project (!).
3. VS2013 finally supports this:
http://msdn.microsoft.com/en-us/library/dn353646.aspx
http://msdn.microsoft.com/en-us/library/dn329049.aspx
2014-02-28 12:43:23 +01:00
7a66a3ded1
ArmEmitter: make it more readable
2014-02-28 12:43:22 +01:00
46e7c0657f
Crypto: small cleanup
2014-02-28 12:43:22 +01:00
315a8ba1c0
Various changes suggested by cppcheck
...
- remove unused variables
- reduce the scope where it makes sense
- correct limits (did you know that strcat()'s last parameter does not
include the \0 that is always added?)
- set some free()'d pointers to NULL
2014-02-28 12:43:20 +01:00
5f0a8008f4
Convert MemoryUtil.cpp to Unix-style line endings
2014-02-28 12:28:21 +01:00
1a428de189
x64FPURoundMode: move things around a bit
2014-02-28 12:28:21 +01:00
269e2aefa7
CMake: fix escaping in miniupnpc test
2014-02-28 12:28:20 +01:00
6914eca167
Fix various warnings reported by clang
...
- mostly remove unused variables
- rename some generic JIT identifiers
2014-02-28 12:28:19 +01:00
ea34ae0a70
Merge pull request #113 from Parlane/fix_wifi
...
Randomise the mac address and store it in the config.
2014-02-28 11:25:29 +01:00
c68cd3a8ea
Randomise the mac address and store it in the config.
...
This stops error 20115 when trying to go online.
2014-02-28 22:53:00 +13:00
17ea34f617
Makes the detection of shared PolarSSL more inline with usage.
2014-02-28 20:12:37 +13:00
a3508823de
Merge pull request #112 from Parlane/fix_ssl_init
...
Initialise entropy correctly for ssl.
2014-02-28 00:51:09 +01:00
1f5b3c928f
Merge pull request #108 from degasus/GLSLUtilShader
...
GLSL utility shader optimization
2014-02-27 22:38:37 +01:00
e1ec4729b4
Initialise entropy correctly for ssl.
2014-02-27 21:46:14 +13:00
698bf8f2d3
Merge pull request #110 from Tilka/polarssl1.3
...
CMake: remove USE_SHARED_POLARSSL_LIBRARY
2014-02-27 08:52:29 +13:00
f628695d31
comment fixes
2014-02-26 12:48:52 +01:00
66d1f16f98
Merge pull request #107 from lioncash/tiny-cleanup
...
Tiny cleanup of WII_IPC_HLE.cpp.
2014-02-26 12:46:49 +01:00
aaaa5af0b2
remove (ATTR|VARY)(IN|OUT) macros
2014-02-26 11:37:29 +01:00
1d0b6a1156
Merge duplicate parts of sampler into header
2014-02-26 11:37:29 +01:00
11efa88157
calculate constant values on shader compilation
2014-02-26 11:37:29 +01:00
8a4aa8c1f5
Rewrite texture tiling implementation
...
inline halfxb
So we know which is the first pixel by masking.
inline xl
inline xb a bit
inline yl
inline uv1.x shift
remove likely wrong guessed ternary operator
add pixel layout comment
inline xel
optimize the shifts a bit
inline xb
optimize shifts in a second step
extract xb
rename all variables
calculate cache line by position.x
Revert 5115b459f40d53044cd7a858f52e6e876e1211b4 "optimize the shifts a bit"
It seems I was wrong, the other way is the more natural.
use x_virtual_position instead of uv1.x for x_offset_in_block
This looks more natural and the offset should be masked anyway.
substitude factor with cache_lines
move 32bit logic in a conditional block
2014-02-26 11:37:29 +01:00
bd3beeb184
TextureConverter: Use Log2() and shifts instead of multiplications/divisions
2014-02-26 11:37:29 +01:00
94da4e1aa2
MathUtil: Change Log2 return value to int
...
Log2(u64) can't be bigger than 63, so there is no need in forcing a 64 bit value.
So just using a common int seems more natural.
2014-02-26 11:37:28 +01:00
f99c8a0b70
merge common parts of encoding shaders
2014-02-26 11:37:28 +01:00
7f539b6033
ogl: optimize real xfb a bit
...
Both nvidia + mesa seems not to optimize x / (2**n) to x >> n, so we do it ourself.
2014-02-26 11:37:28 +01:00
15576287f8
CMake: remove USE_SHARED_POLARSSL_LIBRARY
...
This could easily be mistaken for a Dolphin option.
2014-02-24 21:10:33 +01:00
d5fd68e4a4
Eliminate the magic constants in the switch statement in WII_IPC_HLE_Device_FileIO.cpp's Seek function.
2014-02-24 15:01:08 -05:00
6959a93599
Merge pull request #102 from Tilka/polarssl1.3
...
Update PolarSSL to current stable version
2014-02-24 20:10:00 +01:00
4094c35203
Tiny cleanup to WII_IPC_HLE.cpp.
...
- Inlined loop vars in statements where possible.
- Eliminate some explicit iterators with foreach loops.
- Kill off some newlines that weren't necessary.
2014-02-24 14:09:42 -05:00
48dcd29f62
CMake: check PolarSSL version
2014-02-24 20:02:45 +01:00
76b5a6b95e
PolarSSL/CMake: validate cached values
2014-02-24 19:07:24 +01:00