Commit Graph

6280 Commits

Author SHA1 Message Date
58d893e56f Merge pull request #3075 from waddlesplash/no-regexp
FileSearch: Don't use RegExes, just do string comparisons.
2015-10-02 04:00:23 +13:00
ccc3cd884e DSPCore: Use std::array to represent ifx_regs 2015-10-01 10:26:16 -04:00
449c57a8e0 InputCommon: Get rid of multiple identical define macros 2015-10-01 08:45:22 -04:00
696d6eae09 Merge pull request #3108 from lioncash/cstyle-array
ChunkFile: Provide additional helpers for C-style arrays
2015-10-01 01:55:54 +02:00
c6678687b0 ChunkFile: Provide additional helpers for C-style arrays
Gets rid of magic numbers in cases where the array size is known at compile time.
This is also useful for future entries that are stack allocated arrays as these
functions prevent incorrect sizes being provided.
2015-09-30 19:45:46 -04:00
473188a2c3 WII_IPC_HLE_Device_fs: Get rid of a pointer cast 2015-09-30 16:04:53 -04:00
0764971feb Merge pull request #3109 from OrdinaryMagician/miniupnpc14
Update to support miniupnpc 1.9 API version 14
2015-09-30 11:08:58 -04:00
8c5744bca7 miniupnpc API version 14 changed the upnpDiscover functions, adding an argument for TTL (should default to 2)
this enables support for that should the build system have that specific version installed, the miniupnpc bundled in the project is unchanged
2015-09-30 16:50:58 +02:00
ea6af0e98b VI: Fix vert beam position inaccuracy 2015-09-30 00:21:33 +08:00
43e60073d1 Merge pull request #3100 from lioncash/printf
Get rid of some casts used with logging for size_t
2015-09-29 03:50:48 +02:00
3b75f45cf6 Fix building with PCH disabled. 2015-09-28 11:51:08 -05:00
311c76647d Get rid of some casts used with logging for size_t
Replaces them with the now-valid %z specifiers
2015-09-28 08:43:53 -04:00
2cb5c41fed HostGetString: Actually fill a string with data 2015-09-28 05:40:52 +02:00
cd19d5392e SaveState: Fix for race condition ("wait" didn't actually waited for file to flush/close).
g_compressAndDumpStateSyncEvent was Set() before destruction of file object (i.e. before flushing changes and closing file).

Also, adds Common::ScopeGuard wrapper for RAII.
2015-09-27 21:40:32 +03:00
5643fe5d1f FileSearch: Don't use RegExs, just do string comparisons.
Nothing used the RegEx feature of FileSearch, and GCC < 4.9
doesn't support C++11 RegEx properly, so get rid of it.
2015-09-27 13:25:51 -04:00
be3851b72e Merge pull request #3090 from LPFaint99/gcifolder
GCI Folder: Skip 'header-only' writes
2015-09-28 05:26:12 +13:00
4817118028 Merge pull request #3084 from JosJuice/cpu-core-clock
SystemTimers: Don't name non-constant variables as if they are constant
2015-09-28 05:22:54 +13:00
8ea9b07b59 Merge pull request #3093 from lioncash/header_shuffle
Common: Trim Common.h
2015-09-27 03:18:03 +02:00
cc036ca86c Common: Remove other Common prefixed headers from Common.h 2015-09-26 18:51:58 -04:00
19ac565e0d Common: Move asserts to their own header 2015-09-26 18:51:27 -04:00
1d42db2439 Common: Move NonCopyable to its own header 2015-09-26 18:50:35 -04:00
a91810ba3b Merge pull request #3042 from booto/audio-timing
AI: reduce overhead of sample counter
2015-09-27 05:03:55 +13:00
ddc523b81d GCI Folder: Skip 'header-only' writes
issue #8961
2015-09-25 22:12:40 -07:00
f6795466e7 mbedTLS: adapt Dolphin code 2015-09-26 07:09:19 +02:00
ac5f56df7e mbedTLS: adapt Dolphin's Visual Studio files 2015-09-25 03:46:41 +02:00
063446c46f mbedTLS: run rename.pl script and fix errors 2015-09-25 03:46:41 +02:00
ab8f75f000 SystemTimers: Don't name non-constant variables as if they are constant 2015-09-24 14:57:25 +02:00
7c1565b201 VideoConfig/LocalConfig/HotkeyManager: Added hotkeys for switching stereo-3d presets.
Added 3 depth/convergence presets. They are adjustable via (existing) hotkeys - changes to depth and convergence are applied to current preset.
Added 3 hotkeys for activating presets. Added hotkey for toggle between first and second preset.
Added OSD message for convergence/depth changes.
Presets are saved into per-game configs.
2015-09-24 15:19:55 +03:00
aba083dd3a FifoPlayer: remove leftover code 2015-09-24 05:09:41 +02:00
c1ee0e7829 Merge pull request #3078 from lioncash/titleid
DiscIO: Do swapping in GetTitleID implementations
2015-09-23 18:56:57 +02:00
3fdae38e26 Use correct GetTicksPerSecond() value in IPC delays
The constant IPC_DEFAULT_DELAY used a value from GetTicksPerSecond(),
which in turn uses a value from CPU_CORE_CLOCK... but CPU_CORE_CLOCK
isn't actually a constant! It's first initialized to 486 MHz and then
changed to 729 MHz in SystemTimers::PreInit if emulating a Wii. This
means that the IPC delays always used 486 MHz and thus were wrong.
To fix this, the IPC reply constants are changed to functions.
2015-09-23 18:02:09 +02:00
c7148c9660 SI_Device: Convert define constants over to enums 2015-09-23 11:13:03 -04:00
0e0fec3075 AI: reduce overhead of sample counter 2015-09-23 20:39:28 +08:00
4b9b82e000 DiscIO: Do swapping in GetTitleID implementations
Gets rid of external swaps at every usage.
2015-09-22 13:50:35 -04:00
a537ca7543 Merge pull request #2997 from phire/FixFifoRecorder
FifoRecorder: Use Texture Cache to record efb copies correctly.
2015-09-23 00:17:37 +12:00
aa1fec6fc3 FifoPlayer: Fixup style of types. 2015-09-23 00:03:43 +12:00
a355d9868e FifoRecorder: Use Video Common to record efb2ram correctly.
Texture updates have been moved into TextureCache, while
TMEM updates where moved into bpmem. Code for handling
efb2ram updates was added to TextureCache.

There was a bug for preloaded RGBA8 textures, it only copied
half the texture. The TODO was wrong too.
2015-09-22 23:59:16 +12:00
bddcdd9d94 Jit_Util: Replace two MDisp usages with MatR
Same thing, less to read.
2015-09-21 08:20:35 -04:00
67cfadf0bb DSPJitUtil: Use SCALE constants instead of magic numbers 2015-09-21 04:50:25 -04:00
29c674848d DSPJitRegCache: Make GetFreeXReg return by value
There's no reason to only modify an enum value by reference.
2015-09-21 04:24:09 -04:00
c2cc8d7cd8 DSPJitRegCache: Fix function casing 2015-09-18 13:23:32 -04:00
9f389fdccb Gekko: Make sign-extension functions constexpr 2015-09-18 11:14:45 -04:00
00ffc47751 Jit_Util: Mark a class function as const 2015-09-17 00:21:50 -04:00
c6ea9eb7c3 JitCache: Remove unused define 2015-09-16 19:15:47 -04:00
49ea15b950 Merge pull request #2873 from lioncash/netleaks
NetPlay: Fix a memory leak
2015-09-16 21:56:17 +02:00
9e5f2ded86 Merge pull request #3040 from lioncash/arraysize
AX: Use ArraySize over sizeof division
2015-09-16 21:25:29 +02:00
29a0a2b626 Merge pull request #3043 from lioncash/jitalign
JitCache: Get rid of pointer casts
2015-09-16 21:22:01 +02:00
227c3aa259 State: Increase savestate version
This should have been done when GC_ALIGN macros were replaced.
2015-09-16 09:04:44 -04:00
8aac59418b JitCache: Get rid of pointer casts
Silences more ubsan runtime asserts
2015-09-16 06:25:48 -04:00
3ae466a33c JitArm64: Fix lmw + stmw 2015-09-16 08:11:18 +02:00