231daa2da1
Thread: Limit thread name to 15 bytes on linux.
2016-01-27 07:23:17 +01:00
a4a2928905
FifoPlayer: Sleep while high watermark is set.
2016-01-27 07:23:17 +01:00
d7d0673900
BootManager: Vertically align where sensible to do so
2016-01-26 20:54:22 -05:00
0c920f175f
BootManager: Simplify SaveConfig
...
Also std::array-ifies C-array members of ConfigCache
2016-01-26 20:52:57 -05:00
aaf2be2044
bootmanager: update the supposed-end-of-enum
...
fixes a bug where gcadapter would fuck up netplay
2016-01-27 01:43:38 +01:00
24cb6487d4
[netplay] Fix a regression
...
Introduced in 6e13496d8
, pads would get assigned to their netplay
position, which breaks assumptions. With this behavior, the SI devices
should be mapped properly.
2016-01-27 01:43:31 +01:00
8ce9191948
NetPlayServer: Make SendAsyncToClients use an unique_ptr
2016-01-27 01:34:03 +01:00
34ae512d91
NetPlayServer: Make pad data unpacking nicer to read
2016-01-27 01:34:03 +01:00
1c808a2835
NetPlayServer: Possible out-of-bounds access on invalid input
...
if a pad or wiimote number was outside bounds (e.g. 42353543232),
it would still have been read from the array, which could lead to
inappropriate consequences, like a segfault.
2016-01-27 01:33:50 +01:00
8e1be37feb
NetPlayServer: in-class initialization
2016-01-27 01:20:44 +01:00
159d83c5a9
FifoPlayer: Use more enums.
2016-01-26 19:19:21 +01:00
488e7bd46a
Fifo: Get rid of undefined global
...
This declaration doesn't have a matching implementation
so it can be removed entirely.
2016-01-25 05:24:03 -05:00
32ce2be2bf
Fifo: Make g_use_deterministic_gpu_thread a TU-local variable
2016-01-25 05:24:03 -05:00
5ebd1e215b
Fifo: Make g_bSkipCurrentFrame a TU-local variable
...
This is only ever queried, making it a global isn't necessary.
2016-01-25 05:23:14 -05:00
48e7e5b72e
Merge pull request #3567 from lioncash/netplay
...
NetPlayClient: Minor changes
2016-01-25 05:13:54 -05:00
ee0fbdf087
Merge pull request #3558 from lioncash/dvd-global
...
DVDInterface: Reduce a global variable to translation unit scope
2016-01-25 05:13:08 -05:00
c434b5b3a9
NetPlayClient: Use std::array instead of C arrays for buffers
2016-01-25 04:57:21 -05:00
7304c863a6
NetPlayClient: Deduplicate code for player list retrieval
2016-01-25 04:57:20 -05:00
e6ad76fa70
NetPlayClient: Extract control mapping checking to its own function
2016-01-25 04:57:19 -05:00
8588c8fd31
NetPlayClient: Make SendAsync take a unique_ptr as a parameter
2016-01-25 04:57:18 -05:00
c2deb337aa
NetPlayClient: In-class initialize variables where possible
2016-01-25 04:57:17 -05:00
1d8ff504a5
NetPlayClient: Make m_state private
...
Also turns it into an enum class.
2016-01-25 04:57:16 -05:00
102672a797
NetPlayClient: Make is_connected private
...
This is only queried, there's no need to expose it for writing.
Even if it was written to, a data member shouldn't be part of
your public API unless its part of a dumb object or trivial struct.
2016-01-25 04:57:04 -05:00
0bd649248f
Merge pull request #3530 from degasus/syncgpufix
...
Fifo: Fix SyncGPU.
2016-01-25 10:46:08 +01:00
7b4e965465
Merge pull request #3555 from mathieui/gcadapter_payload
...
Fix a bug in GCAdapter
2016-01-25 10:42:28 +01:00
d9f87b8030
NetPlayClient: Remove unnecessary includes
...
Replace with needed ones
2016-01-24 21:46:49 -05:00
90f2f48ef6
DVDInterface: Use correct prefix for static local variables
2016-01-24 17:24:33 -05:00
bad7242c63
Merge pull request #3559 from lioncash/tcache
...
TextureCacheBase: Simplify init/comparison of TCacheEntryConfig
2016-01-24 17:18:08 -05:00
e9713e19d7
Merge pull request #3561 from lioncash/render
...
RenderBase: Get rid of an undefined global extern
2016-01-24 17:17:48 -05:00
b451b722fb
Merge pull request #3562 from lioncash/cpmem
...
CPMemory: Remove unnecessary extern specifiers from functions
2016-01-24 17:17:31 -05:00
07caff35ad
Fix a bug in GCAdapter
...
where the payload size would end up being crazy values on the other
thread. Mirroring the similar commit made for the android side:
2833685fbf
2016-01-24 21:55:20 +01:00
4295751662
Fifo: More comments for SyncGPU functions.
2016-01-24 11:06:01 +01:00
cf4478dc92
Fifo: Fix SyncGPU.
...
CBoot::BootUp() did call CoreTiming::Advance which itself blocks on the GPU,
but the GPU thread wasn't started already. This commit moves the SyncGPU
initialization into the Fifo.cpp file and call it after BootUp().
2016-01-24 11:06:01 +01:00
e187c55bdd
OpcodeDecoder: Add namespace
2016-01-24 01:31:36 -05:00
758cd796a7
CPMemory: Remove unnecessary extern specifiers from functions
...
These are defined in CPMemory.cpp, as expected. There's no need for
extern
2016-01-24 01:17:43 -05:00
508c521f10
RenderBase: Get rid of an undefined global extern
...
This doesn't have an implementation, so into
the trash it goes.
2016-01-24 01:07:24 -05:00
59d5935067
TextureCacheBase: Simplify init/comparison of TCacheEntryConfig
2016-01-23 22:57:05 -05:00
a2dc22f016
DVDInterface: Make a global a local variable
2016-01-23 18:40:55 -05:00
6e13496d8d
Merge pull request #3554 from mathieui/netplay_devices
...
[netplay] Use the local type of each SI device
2016-01-23 16:03:25 -05:00
1c3c36f285
Merge pull request #3533 from JosJuice/2x-resources
...
DolphinWX: Support 2x images for all resources
2016-01-23 12:52:05 -05:00
a62a9b8161
Fix a bug in GCAdapter_Android where the payload size would end up being crazy values on the opposite thread
2016-01-23 11:40:33 -06:00
5e709f3d72
[netplay] Use the local type of each SI device
...
Instead of using SI_GCcontroller which would make it not work with gc
adapters, bongos, and other stuff.
Trying to fix issue #9263
2016-01-23 17:29:07 +01:00
3f5f52342a
Merge pull request #3424 from spxtr/DQt2
...
DQt2: Add a message if the game list is empty
2016-01-22 22:16:56 -05:00
ae4c7661d6
Merge pull request #3212 from mickdermack/pr-recalc-flags
...
JIT x64: Recalculate flags after add/sub
2016-01-22 12:45:52 -05:00
fdf6fb47e0
VideoInterface: specify internal linkage on local variable
2016-01-21 19:25:21 -05:00
4b06e92731
A few more asterisks, mostly casts
2016-01-21 22:20:22 +01:00
f15ffda5a7
Correct ampersands as well
2016-01-21 21:27:56 +01:00
3e283ea9f1
More asterisks
2016-01-21 21:16:51 +01:00
78aa398e7c
Common: asterisks go against the type name
...
not the variable name
2016-01-21 20:46:25 +01:00
7c3e4b34f3
Merge pull request #3541 from Sonicadvance1/fix_netplay_option_sending
...
Stops netplay clients from failing to send settings on game start
2016-01-21 08:51:11 -05:00