Commit Graph

6233 Commits

Author SHA1 Message Date
8bb35c8588 Merge pull request #3083 from JosJuice/ipc-ticks
Use correct GetTicksPerSecond() value in IPC delays
2015-10-03 17:56:57 -07:00
f5c88fc1a9 Merge pull request #3125 from JosJuice/di-callback-pointer
Simplify getting DI pointer in IOCtl callback
2015-10-03 17:52:58 -07:00
b4be34bc68 Merge pull request #3124 from dolphin-emu/shuffle2-patch-1
Fix WiiSockMan::DecodeError
2015-10-03 14:59:20 -07:00
5464e698fc Merge pull request #3102 from rohit-n/build-pch
Fix building with PCH disabled.
2015-10-03 13:30:51 -04:00
bf2676a1b1 Simplify getting DI pointer in IOCtl callback
Gets rid of an odd code construct, and fixes the "Trying to run two DI
devices at once" ERROR_LOG appearing at the wrong times.
2015-10-03 11:35:29 +02:00
f33fae574f Fix WiiSockMan::DecodeError 2015-10-03 01:56:42 -07:00
f1a43dc6d4 Merge pull request #3118 from lioncash/junk
WiimoteEmu: Get rid of an unused clamp function
2015-10-03 16:21:00 +13:00
bcee41b65d Merge pull request #3123 from lioncash/null
Core: Replace 0 literals with nullptr
2015-10-03 16:19:46 +13:00
0f6c4653a4 Core: Replace 0 literals with nullptr 2015-10-02 22:06:17 -04:00
5d8e422d82 WiimoteEmu: Get rid of an unused clamp function 2015-10-02 10:33:29 -04:00
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
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
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
ab8f75f000 SystemTimers: Don't name non-constant variables as if they are constant 2015-09-24 14:57:25 +02: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