Mathew Maidment
437b3db88e
Merge pull request #3514 from lioncash/mixer
...
Mixer: Minor changes
2016-01-27 19:19:42 -05:00
Lioncash
d7d0673900
BootManager: Vertically align where sensible to do so
2016-01-26 20:54:22 -05:00
Lioncash
0c920f175f
BootManager: Simplify SaveConfig
...
Also std::array-ifies C-array members of ConfigCache
2016-01-26 20:52:57 -05:00
Mathew Maidment
9199539798
Merge pull request #3568 from sigmabeta/android-settings-more-fixes
...
[Android] More settings fixes
2016-01-25 11:50:58 -05:00
Mathew Maidment
bdfcaa0e00
Merge pull request #3560 from lioncash/fifo
...
Fifo: get rid of global variables
2016-01-25 05:34:43 -05:00
Lioncash
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
Lioncash
32ce2be2bf
Fifo: Make g_use_deterministic_gpu_thread a TU-local variable
2016-01-25 05:24:03 -05:00
Lioncash
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
Mathew Maidment
48e7e5b72e
Merge pull request #3567 from lioncash/netplay
...
NetPlayClient: Minor changes
2016-01-25 05:13:54 -05:00
Mathew Maidment
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
Lioncash
c434b5b3a9
NetPlayClient: Use std::array instead of C arrays for buffers
2016-01-25 04:57:21 -05:00
Lioncash
7304c863a6
NetPlayClient: Deduplicate code for player list retrieval
2016-01-25 04:57:20 -05:00
Lioncash
e6ad76fa70
NetPlayClient: Extract control mapping checking to its own function
2016-01-25 04:57:19 -05:00
Lioncash
8588c8fd31
NetPlayClient: Make SendAsync take a unique_ptr as a parameter
2016-01-25 04:57:18 -05:00
Lioncash
c2deb337aa
NetPlayClient: In-class initialize variables where possible
2016-01-25 04:57:17 -05:00
Lioncash
1d8ff504a5
NetPlayClient: Make m_state private
...
Also turns it into an enum class.
2016-01-25 04:57:16 -05:00
Lioncash
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
Lioncash
d9f87b8030
NetPlayClient: Remove unnecessary includes
...
Replace with needed ones
2016-01-24 21:46:49 -05:00
Mathew Maidment
c822afb2cb
Merge pull request #3566 from sigmabeta/android-settings-bugfix
...
[Android] Settings screen bugfixes
2016-01-24 19:38:56 -05:00
Lioncash
90f2f48ef6
DVDInterface: Use correct prefix for static local variables
2016-01-24 17:24:33 -05:00
Mathew Maidment
bad7242c63
Merge pull request #3559 from lioncash/tcache
...
TextureCacheBase: Simplify init/comparison of TCacheEntryConfig
2016-01-24 17:18:08 -05:00
Mathew Maidment
e9713e19d7
Merge pull request #3561 from lioncash/render
...
RenderBase: Get rid of an undefined global extern
2016-01-24 17:17:48 -05:00
Mathew Maidment
b451b722fb
Merge pull request #3562 from lioncash/cpmem
...
CPMemory: Remove unnecessary extern specifiers from functions
2016-01-24 17:17:31 -05:00
Mathew Maidment
44e44f6eb7
Merge pull request #3563 from lioncash/opcodedecoder
...
OpcodeDecoder: Add namespace
2016-01-24 17:17:13 -05:00
Lioncash
e187c55bdd
OpcodeDecoder: Add namespace
2016-01-24 01:31:36 -05:00
Lioncash
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
Lioncash
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
Lioncash
59d5935067
TextureCacheBase: Simplify init/comparison of TCacheEntryConfig
2016-01-23 22:57:05 -05:00
Lioncash
a2dc22f016
DVDInterface: Make a global a local variable
2016-01-23 18:40:55 -05:00
Mathew Maidment
aa39b0dab1
Merge pull request #3557 from sigmabeta/android-settings-swag
...
[Android] Add fragment transition animations to the Settings UI screen
2016-01-23 17:05:57 -05:00
Mathew Maidment
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
Lioncash
fdf6fb47e0
VideoInterface: specify internal linkage on local variable
2016-01-21 19:25:21 -05:00
Lioncash
82147f42af
VideoInterface: Correct namespace indentation
2016-01-21 00:40:01 -05:00
Lioncash
f45e1bff37
VideoInterface: Change a global into a translation-unit local variable
2016-01-21 00:39:24 -05:00
Lioncash
42e9927bca
VideoInterface: Fix code style/indentation
2016-01-19 20:16:18 -05:00
Lioncash
2ff5923334
DSPEmulator: Make CreateDSPEmulator return a unique_ptr
2016-01-17 22:33:21 -05:00
Lioncash
d9fec92628
VideoCommon: Header cleanup
...
Also remedies places where the video backends and core rely on things
being indirectly included.
2016-01-17 20:11:45 -05:00
Mathew Maidment
a7f35eeb42
Merge pull request #3520 from Sonicadvance1/debugger_address_minsize
...
Fix debugger address lookup search control.
2016-01-16 11:34:24 -05:00
Lioncash
c70487163f
Mixer: Convert defines into concrete variables
...
Gets defines out of global scope.
2016-01-15 23:41:53 -05:00
Lioncash
fc6a2f490f
Mixer: Directly initialize class members
2016-01-14 01:32:31 -05:00
Lioncash
531a3ed09a
Mixer: Devirtualize
...
Nothing in the codebase inherits from this class
2016-01-14 01:32:24 -05:00
Mathew Maidment
87464d432b
Merge pull request #3501 from rohit-n/build-pch
...
Fix building with PCH disabled.
2016-01-13 21:07:51 -05:00
Lioncash
f2038b9e90
HW: Remove unnecessary header inclusions
2016-01-13 02:47:32 -05:00
Mathew Maidment
82f3b94ad7
Merge pull request #3502 from lioncash/jit
...
Jit: Get rid of indirect includes
2016-01-12 19:22:04 -05:00
Lioncash
f8fcceb99e
Jit: Get rid of indirect includes
2016-01-12 00:12:36 -05:00
Lioncash
984fc7fb39
ARM Jit: Use std::tie for SlowmemHandler comparison
2016-01-11 04:28:16 -05:00
Lioncash
846c904624
HLE: Move static variable out of header
...
It's only ever used in the implementation file.
2016-01-11 04:11:12 -05:00
Lioncash
b688a62143
MemTools: Get rid of a global variable
2016-01-11 03:24:03 -05:00
Lioncash
d9a16f7c9c
Interpreter: Remove unnecessary includes from Interpreter.h
...
Previously the JIT code relied on indirect inclusion from this header,
this gets rid of that.
2016-01-10 18:51:12 -05:00
Mathew Maidment
ff0e1c3624
Merge pull request #3485 from booto/minor-comment-change
...
Comment change to reflect what code does
2016-01-09 17:18:59 -05:00
Mathew Maidment
9925d8a947
Merge pull request #3478 from mmastrac/ui_resize_fix
...
DolphinWX: fixes the window growing slightly on every re-launch
2016-01-09 17:15:35 -05:00
Lioncash
986108715d
JitInterface: Get rid of a global variable
2016-01-09 14:57:50 -05:00
Mathew Maidment
87e753b104
Merge pull request #3459 from JosJuice/custom-texture-all-regions-2
...
HiresTextures: Refactor getting directory
2016-01-06 14:19:33 -05:00
Mathew Maidment
079be1db9a
Merge pull request #3452 from aserna3/master
...
[UI] Remove DolphinQt
2016-01-05 20:48:27 -05:00
Mathew Maidment
0509292f86
Merge pull request #3431 from stenzek/shadercache
...
ShaderGen: Remove virtual methods and string from ShaderGeneratorInterface.
2016-01-04 19:11:14 -05:00
Mathew Maidment
18ac844e4b
Merge pull request #3442 from lioncash/unique_ptr
...
OGL: Correct unique_ptr types
2016-01-03 17:29:07 -05:00
Lioncash
1bcfae5fd7
OGL: Correct unique_ptr types
...
By default unique_ptr will call delete on the given type if an array
qualifier isn't present, not delete[]. It's important to explicitly
specify an array is being handled.
2016-01-03 16:00:16 -05:00
Mathew Maidment
a63873535f
Merge pull request #3437 from endrift/missing-include
...
HW: Add missing header for sprintf()
2016-01-03 04:52:15 -05:00
Lioncash
01f99a04a2
VideoBackend: Get rid of a boolean global
...
Also gets rid of global headers
2016-01-02 18:03:28 -05:00
Lioncash
edda018d54
OnScreenDisplay: Make CallbackType an enum class
2016-01-02 14:57:55 -05:00
Lioncash
f3c05d39b9
GLInterface: Make GLInterfaceMode an enum class
2016-01-02 14:26:43 -05:00
Lioncash
df9c9ad706
GLInterfaceBase: In-class initialize protected members
...
Gives the class a well-defined initial state
2016-01-02 14:26:42 -05:00
Lioncash
11a7defdba
WGL: Make class member private
2016-01-02 14:26:41 -05:00
Lioncash
df2f6089be
GLInterface: Add missing override specifiers
2016-01-02 14:26:36 -05:00
Lioncash
6093d1f72a
ProgramShaderCache: Simplify SHADERUID comparison operators
2016-01-01 22:28:42 -05:00
Mathew Maidment
988f62dfb1
Merge pull request #3427 from rohit-n/build-pch
...
Fix building with PCH disabled.
2016-01-01 15:36:48 -05:00
Mathew Maidment
787bf156f0
Merge pull request #3414 from booto/set-dtv-bit-for-wads-too
...
VI: set the JP bit of VI's DTV reg when needed
2015-12-30 17:47:25 -05:00
Lioncash
4bc7c0c5a8
DSPCore: Prefix globals with g_
2015-12-29 10:40:44 -05:00
Lioncash
78565fabbc
DSPCore: Make the DSP emitter global a unique_ptr
2015-12-29 10:29:02 -05:00
Lioncash
e082ebad1a
HiresTextures: Remove the need to explicitly free SOIL allocated data
2015-12-29 08:40:17 -05:00
Lioncash
1d01fbd217
HiresTextures: Make Load return a unique_ptr
2015-12-29 08:40:15 -05:00
Lioncash
6a9e4511b5
HiresTextures: Remove unnecessary header includes
2015-12-29 08:40:07 -05:00
Mathew Maidment
8843760ad7
Merge pull request #3405 from phire/fix-unused-var
...
FifoAnalyzer: Fix a few warnings that visual studio missed.
2015-12-28 02:54:55 -05:00
Lioncash
c5f123a70b
ShaderGenCommon: Remove unnecessary static keywords
...
Functions defined in a header should be inline only, otherwise program
code is generated for every other file that calls said functions
2015-12-26 18:02:54 -05:00
Lioncash
c151fe582f
ShaderGenerators: Remove unnecessary inline keywords
...
Static by itself is sufficient
2015-12-26 17:57:32 -05:00
Lioncash
8ce3a4aa70
ShaderGeneration: Get rid of static buffers
2015-12-26 17:01:54 -05:00
Lioncash
a8ab156a29
Fifo: Convert define into constant
...
Also moves it to the cpp file where it's used.
2015-12-25 16:07:04 -05:00
Mathew Maidment
cfd300586a
Merge pull request #3391 from rohit-n/build-pch
...
Fix building with PCH disabled.
2015-12-23 17:36:40 -05:00
Lioncash
8371c428cd
VertexLoaderBase: Get rid of explicit delete and new
2015-12-22 20:09:54 -05:00
Mathew Maidment
3cf16f8573
Merge pull request #3382 from lioncash/render
...
Render: Get rid of explicit new and delete
2015-12-22 19:26:26 -05:00
Lioncash
da0e647346
Render: Get rid of explicit new and delete
2015-12-22 19:10:05 -05:00
Lioncash
e422af9cce
FramebufferManager: Get rid of raw new and delete
2015-12-22 18:06:05 -05:00
Mathew Maidment
1b69743ba1
Merge pull request #3362 from lioncash/memory
...
NANDContentLoader/WiiWAD: Get rid of raw delete and new
2015-12-22 06:39:12 -05:00
Mathew Maidment
98c0c79895
Merge pull request #3376 from spxtr/DQt2
...
Use const reference, explicit, final, and override consistently in DQt2
2015-12-22 06:33:37 -05:00
Lioncash
f448c6e291
FramebufferManagerBase: Get rid of explicit delete and new
2015-12-21 15:57:48 -05:00
Mathew Maidment
4c62a5c0a4
Merge pull request #3370 from rohit-n/warnings
...
Silence -Wshadow and -Wmaybe-uninitialized warnings.
2015-12-21 11:44:51 -05:00
Mathew Maidment
44a3578993
Merge pull request #3367 from spxtr/DQt2
...
DQt2: Use a separate INI file for UI settings
2015-12-21 11:33:56 -05:00
Lioncash
d20ba76ab3
StreamBuffer: Make factory function return a std::unique_ptr
2015-12-21 10:21:38 -05:00
Lioncash
ec71452706
StreamBuffer: Correct function casing
2015-12-21 10:09:03 -05:00
Lioncash
1eea95a5be
StreamBuffer: Use std::array for fences
2015-12-21 10:07:56 -05:00
Lioncash
7b69fec8e7
StreamBuffer: Remove unnecessary inline specifiers
...
Methods defined directly in class bodies are inline by default
2015-12-21 10:04:14 -05:00
Mathew Maidment
365a326798
Merge pull request #3369 from lioncash/unique
...
VideoBackends: Simplify initialization and deinitialization of resources
2015-12-21 01:57:37 -05:00
Lioncash
f295182833
VideoBackends: Simplify initialization and deinitialization of resources
...
Approximately three or four times now, the issue of pointers being
in an inconsistent state been an issue in the video backend renderers
with regards to tripping up other developers.
Global (ugh) resources are put into a unique_ptr and will always have a
well-defined state of being - null or not null
2015-12-20 22:40:37 -05:00
Mathew Maidment
1fbab188ad
Merge pull request #3368 from hdcmeta/dx11_cleanup
...
Set g_vertex_manager to nullptr on DX11 backend shutdown
2015-12-20 21:41:26 -05:00
Mathew Maidment
6b9d37b6ef
Merge pull request #3365 from spxtr/DQt2
...
DQt2: Move menu bar into its own file.
2015-12-20 00:30:47 -05:00
Lioncash
cbeb7034eb
Volume: Make GetTMD return a vector
2015-12-19 18:00:44 -05:00
Lioncash
c78c54c546
NANDContentLoader/WiiWAD: Get rid of raw delete and new
2015-12-19 17:37:09 -05:00
Mathew Maidment
7a78df2624
Merge pull request #3349 from JosJuice/am-baseboard
...
DolphinWX: Change "AM-Baseboard" string to "AM Baseboard"
2015-12-17 18:25:54 -05:00
Mathew Maidment
15580e6a3d
Merge pull request #3305 from spxtr/DQt
...
DQt2: Refactors.
2015-12-17 18:24:52 -05:00
Mathew Maidment
c1b2eba82b
Merge pull request #3348 from JosJuice/u64
...
DolphinQt: Attempt at fixing issue 9170
2015-12-17 16:45:24 -05:00