Leo Lam
1de9bf2cca
Merge pull request #5743 from spycrab/qt_fix_shutdown
...
Qt: Fix multiple emulation shutdown bugs
2017-07-11 09:13:07 +02:00
Leo Lam
ce4732dd96
Merge pull request #5776 from sepalani/kd-log
...
NetKDTime: Log IOCtl
2017-07-11 00:40:37 +02:00
Leo Lam
b6c3479bb4
Merge pull request #5720 from JosJuice/file-metadata
...
FileUtil: Redesign Exists/IsDirectory/GetSize
2017-07-11 00:28:34 +02:00
Leo Lam
12f6d0b56b
Merge pull request #5773 from JosJuice/builtin-titledatabase-optional
...
Make the built-in wiitdb files optional
2017-07-11 00:20:09 +02:00
Leo Lam
38e32c6324
Merge pull request #5775 from leoetlino/hardcoded-fs-usage
...
IOS/FS: Remove hardcoded FS usage data
2017-07-11 00:18:55 +02:00
Sepalani
b7ae49c4d2
NetKDTime: Log IOCtl
2017-07-10 23:14:26 +01:00
Léo Lam
1376484f76
IOS/FS: Remove hardcoded FS usage data
...
I think I do not need to explain why hardcoding space usage for two
random directories when we can calculate it and when IOS doesn't
actually do that is wrong.
2017-07-10 23:08:25 +02:00
Jules Blok
3fc9a48da0
D3DBase: Use the swapchain discard mode when possible.
2017-07-10 14:25:28 +02:00
Jules Blok
65495a1297
D3D: Resize the swapchain when the fullscreen state is changed
2017-07-10 14:24:11 +02:00
Jules Blok
07c5dcd739
D3DBase: Set the fullscreen state in Create()
2017-07-10 14:03:04 +02:00
JosJuice
1d7a57869a
Make the built-in wiitdb files optional
...
There are some cases where overriding the opening.bnr names
isn't desirable, such as when someone has several modded
versions of a game that differ in names but not game IDs.
2017-07-10 10:16:06 +02:00
spycrab
ebe169a218
Qt: Fix multiple emulation shutdown bugs
2017-07-10 08:16:51 +02:00
Michael Maltese
06f1761f9f
LogWindow: don't unconfigure logger on destruction
...
This was causing Dolphin to always save "WriteToWindow = False". Instead
of disabling logging to the window (a config value), tell LogManager
that there's no window to log to (a runtime state).
2017-07-09 18:50:55 -07:00
Michael Maltese
ff83b13344
LogConfigWindow: fix verbosity
2017-07-09 18:50:55 -07:00
mimimi085181
53663c00b9
Implement minimal emulation of TMEM caching
...
This is a remake of https://github.com/dolphin-emu/dolphin/pull/3749
Full credit goes to phire.
Old message:
"If none of the texture registers have changed and TMEM hasn't been invalidated or changed in other ways, we can blindly reuse the old texture cache entries without rehashing.
Not only does this fix the bloom effect in Spyro: A Hero's Tail (The game abused texture cache) but it will also provide speedups for other games which use the same texture over multiple draw calls, especially when safe texture cache is in use."
Changed the pr per phire's instructions to only return the current texture(s) if none of the texture registers were changed. If any texture register was changed, fall back to the default hashing and rebuilding textures from memory.
2017-07-10 01:49:27 +02:00
Michael Maltese
28d6c61e34
LogManager: use layered config
2017-07-09 16:28:54 -07:00
Michael Maltese
e6c4455e65
remove commented-out FileLogListener::GetName
2017-07-09 16:28:54 -07:00
Michael Maltese
8b54ac225b
Merge Core/Config/Config.h into Common/Config/Config.h
...
Allows code in Common to take advantage of the layered config logic.
2017-07-09 16:28:54 -07:00
Jules Blok
0f13c61daa
D3DBase: Only create a stereo swapchain when needed.
2017-07-10 01:24:43 +02:00
Jules Blok
77a318789a
D3DBase: Implement Windows 7 swapchain fallback.
2017-07-10 01:02:29 +02:00
Jules Blok
938939136e
D3DBase: Only use temporary mono when supported by the swapchain.
2017-07-10 01:02:05 +02:00
Tillmann Karras
31dd690ed1
Core: fix log category for startup message
2017-07-09 18:48:35 +01:00
Leo Lam
a621a1bc2f
Merge pull request #5755 from ligfx/qtglobalorganizationname
...
DolphinQt2: set QSettings parameters globally
2017-07-09 16:25:31 +02:00
Leo Lam
e6c1b04b69
Merge pull request #5764 from ligfx/cleanuplogmanager
...
LogManager: clean ups and encapsulate config file management
2017-07-09 16:18:49 +02:00
Leo Lam
eb726194ed
Merge pull request #5762 from spycrab/qt_disable_iwad
...
Qt: Fix "Install WAD" being enabled while emulation is running
2017-07-09 16:13:39 +02:00
spycrab
adf2cd4252
Qt: Fix "Install WAD" being enabled while emulation is running
2017-07-09 16:09:30 +02:00
Tilka
039e456d6f
Merge pull request #5761 from spycrab/qt_warning
...
Qt: Make the "In Development" warning less threatening
2017-07-09 14:49:29 +01:00
Pierre Bourdon
d6dd0e4687
Merge pull request #5766 from JosJuice/fst-u32
...
Fix reading FSTs for multi-disc games
2017-07-08 15:28:29 +02:00
JosJuice
edc7a4c895
Fix reading FSTs for multi-disc games
...
It's a wonder that this managed to work for any discs at all...
2017-07-08 15:17:05 +02:00
Leo Lam
d0fb1bc4bf
Merge pull request #5728 from Starsam80/remove-qt-whats-this
...
Qt: Don't show the Qt "What's this" button
2017-07-08 10:55:28 +02:00
Leo Lam
51bb10d371
Merge pull request #5757 from blubberdiblub/wx-fix-custom-rtc
...
Fix date and time handling for custom RTC in wxWidgets.
2017-07-08 10:53:05 +02:00
spycrab
63d401102b
Qt: Make the "In Development" warning less threatening
2017-07-08 10:47:31 +02:00
Michael Maltese
234ab6f759
DolphinQt2: set QSettings parameters globally
2017-07-07 17:08:00 -07:00
Michael Maltese
13721d35e7
DolphinWX: remove INI logic from LogConfigWindow
2017-07-07 16:44:38 -07:00
Michael Maltese
c9e8289e82
LogManager: add SaveSettings
2017-07-07 16:44:38 -07:00
Michael Maltese
8ff8dfcdf2
LogManager: make LogContainer a POD and don't allocate
2017-07-07 16:44:38 -07:00
Michael Maltese
18da6dee8e
LogManager: remove per-container listeners
2017-07-07 16:44:38 -07:00
Michael Maltese
546fa628fb
LogManager: remove per-container verbosities
2017-07-07 16:44:38 -07:00
Michael Maltese
26aa9f88a4
LogManager: clean up header
2017-07-07 16:44:38 -07:00
Niels Boehm
ee9fb47c53
Fix date and time handling for custom RTC in WX.
...
The actual problem was combining the values from the date and time
pickers incorrectly. The uninteresting parts of the returned wxDateTime
need to be ignored and the WX documentation says so for the time picker.
I also cleaned up the handling of both widgets a bit, removing redundant
member variables in the process, in order to not risk correctness.
2017-07-07 17:12:05 +02:00
Leo Lam
c941cd6aa9
Merge pull request #5753 from ZirconiumX/master
...
Explain what Yes/No means in an assert window
2017-07-07 16:56:21 +02:00
Leo Lam
ff9f271edc
Merge pull request #5756 from spycrab/qt_sysmenu
...
Qt: Implement "Load System Menu"
2017-07-07 16:51:53 +02:00
spycrab
2cf0228ada
Qt: Implement sysmenu booting
2017-07-06 21:27:31 +02:00
spycrab
3a27d60937
Qt: Add "Load System Menu" option to menubar
2017-07-06 19:48:10 +02:00
Jules Blok
8476d0271d
PixelShaderGen: Add missing inputs.
...
This fixes a linkage warning in D3D because of mismatched inputs.
2017-07-05 22:43:39 +02:00
Jules Blok
b485329353
D3DBase: Set the monoscopic flag when we don't use stereoscopy.
2017-07-05 22:43:39 +02:00
Jules Blok
1f2d43c870
Vulkan: Implement Quad-Buffered stereoscopy support.
2017-07-05 22:43:39 +02:00
Jules Blok
f3508742ac
OGL: Support Quad-Buffered stereoscopy.
2017-07-05 22:43:39 +02:00
Jules Blok
2ab068d3f2
D3DBase: Always create a stereo swapchain.
2017-07-05 22:43:39 +02:00
Jules Blok
383645a4b1
VideoConfigDiag: Rename Quad-Buffer to HDMI 3D.
...
This 3D mode is often associated with the HDMI 1.4a standard,
so this name is more helpful to users with such a setup.
2017-07-05 22:43:39 +02:00
Jules Blok
179602e921
D3D: Add quad-buffer stereoscopy support.
2017-07-05 22:43:39 +02:00
Jules Blok
6863abb31d
D3DBase: Switch to a flip-model swap chain.
2017-07-05 22:43:39 +02:00
Jules Blok
c399e2bc40
D3DBase: Upgrade to DXGI 1.2.
...
This effectively drops for Vista and Windows 7 without the Platform Update in this backend.
2017-07-05 22:43:39 +02:00
Dan Ravensloft
982663c728
Explain what Yes/No means in an assert window
...
It's a bit confusing to get a yes/no dialogue box without any indication
of what yes or no will do in this situation, so add a short explanatory
sentence.
2017-07-05 20:00:52 +00:00
JosJuice
421a2c5776
Merge pull request #5750 from AwesomeMarioFan/master
...
IOS: Add IOS4v3 Constants
2017-07-05 21:01:31 +02:00
John Pansera
f7017b2992
IOS: Add IOS4v3 Constants
...
Fix indentation
2017-07-05 14:10:20 -04:00
Leo Lam
24f05f14f2
Merge pull request #5752 from leoetlino/to_string
...
Replace StringFromInt with std::to_string
2017-07-05 17:36:07 +02:00
Léo Lam
90f8265497
Replace StringFromInt with std::to_string
...
Updated version of #47 . Android should support to_string now that
we use a modern version of libc++ when building.
2017-07-05 13:49:33 +02:00
JosJuice
93e9740683
Drop unnecessary check from FileSystemGCWii::FindFileInfo
...
If the current file_info is a file, the ranged for loop will
run 0 times, and we'll reach the last line of the function.
2017-07-04 20:40:32 +02:00
JosJuice
6a31d2598e
Support leading slashes in FileSystemGCWii::FindFileInfo
2017-07-04 20:40:08 +02:00
Leo Lam
60ee0b2913
Merge pull request #5745 from JosJuice/partition-map
...
VolumeWii: Change the format of partition maps
2017-07-04 19:31:21 +02:00
JosJuice
333b6d99d2
VolumeWii: Change the format of partition maps
...
Having a separate map for each type of data is a bit unnecessary.
2017-07-04 16:20:13 +02:00
Leo Lam
cf79ff2366
Merge pull request #5738 from spycrab/qt_fix_ampersand
...
Qt: Fix ampersands not displaying properly in mapping windows
2017-07-04 15:31:36 +02:00
spycrab
36fe1a5415
Qt: Fix ampersands not displaying properly in mapping windows
2017-07-04 15:26:10 +02:00
Leo Lam
e0b94b55b8
Merge pull request #5651 from JosJuice/new-disc-extraction
...
Use new format for disc extraction
2017-07-04 13:46:18 +02:00
Leo Lam
aa1d750f30
Merge pull request #5664 from ligfx/removesettings
...
DolphinQt2: replace Settings with SConfig where possible
2017-07-04 13:45:21 +02:00
Leo Lam
365892c61c
Merge pull request #5667 from ligfx/cleanupdspdisassembler
...
DSPDisassembler: various code cleanups
2017-07-04 13:43:45 +02:00
Leo Lam
5a41bfaf6f
Merge pull request #5740 from Starsam80/qt-size
...
Qt: Don't force a minimum size for the main window
2017-07-04 13:39:44 +02:00
Starsam80
4d56951d3b
Qt: Remove border from game list
2017-07-02 17:25:46 -06:00
Starsam80
3eac4b6c9d
Qt: Don't force a minimum size for the main window
2017-07-02 16:20:37 -06:00
Leo Lam
0f9ae6d361
Merge pull request #5731 from mimimi085181/terminate-background-input
...
Disable Background Input when Background Input is disabled
2017-07-01 16:49:15 +02:00
JosJuice
0588a76830
DolphinWX: Fix inconsistent region name for online system update
...
This was inconsistent with the other three regions
and with DolphinQt2.
2017-07-01 16:40:07 +02:00
mimimi085181
b6ada2b633
Disable Background Input when Background Input is disabled
...
Only remaining issue is that clicking on the titlebar of the window, to give it focus, is already interpreted as input. But clicking on the window in the task bar, or using alt tab works to get back, without causing an input event.
2017-06-30 16:17:29 +02:00
Michael Maltese
7dab92d8b5
DSPDisassembler: fail when buffer too large
2017-06-30 01:47:02 -07:00
Michael Maltese
1d0185d7d5
DSPDisassembler: remove unused base_addr parameter
2017-06-30 01:47:02 -07:00
Michael Maltese
2564823522
DSPDisassembler: cleanup disassembler text handling
2017-06-30 01:47:02 -07:00
Michael Maltese
0f98cd636b
DSPDisassembler: remove unused labels member from dspdisassembler
2017-06-30 01:47:02 -07:00
Michael Maltese
54ef5299bb
DSPDisassembler: remove UnkOps.txt write on destruction
2017-06-30 01:47:01 -07:00
Michael Maltese
391c7319f5
DSPDisassembler: get rid of double-pass and temp file
2017-06-30 01:47:01 -07:00
Starsam80
ed0ba7ef28
Qt: Don't show the Qt "What's this" button
2017-06-29 18:52:53 -06:00
Michael Maltese
d0fdb9f149
DolphinQt2: replace Settings with SConfig where possible
...
Changes:
- `ShowDevelopmentWarning` is now under the '[Interface]' group in
Dolphin.ini, with other interface-related settings. So, whoever uses
DolphinQt will have to edit that manually again. Sorry!
- Game search paths and the last file are now shared properly with
DolphinWX
- Qt-only preferences like "Preferred View: list/table" are now
stored using the platform's native settings storage, rather than in
UI.ini
2017-06-29 17:17:32 -07:00
Mat M
898bbffaa7
Merge pull request #5724 from JonnyH/WIP/fix-some-ODR-warnings
...
Fix some GCC ODR warnings
2017-06-29 18:48:47 -04:00
Jonathan Hamilton
e66e034419
Fix some GCC ODR warnings
...
struct GekkoOPTemplate was implemented differently in different
compilation units, which breaks the ODR and could end up causing issues
as symbols exported from one compilation unit could end up being used by
another even if they have different implementations.
This puts them in an anonymous namespace, restricting any generated
symbols to the single compilation unit.
2017-06-29 12:21:32 -07:00
JosJuice
5ca3aee00a
FileUtil: Add a class for Exists/IsDirectory/GetSize
...
Some code was calling more than one of these functions in a row
(in particular, FileUtil.cpp itself did it a lot...), which is
a waste since it's possible to call stat a single time and then
read all three values from the stat struct. This commit adds a
File::FileInfo class that calls stat once on construction and
then lets Exists/IsDirectory/GetSize be executed very quickly.
The performance improvement mostly matters for functions that
can be handling a lot of files, such as File::ScanDirectoryTree.
I've also done some cleanup in code that uses these functions.
For instance, some code had checks like !Exists() || !IsDirectory(),
which is functionally equivalent to !IsDirectory(), and some
code was using File::GetSize even though there was an IOFile
object that the code could call GetSize on.
2017-06-29 19:07:29 +02:00
Niels Boehm
68198d6c32
Make one log font monospaced for all platforms.
...
The MonoSpaceFont of the LogWindow was using a Windows native way to
specify a font name.
Now it's using wxFONTFAMILY_TELETYPE.
On Win32 it will additionally request the specific font name "Consolas",
so it doesn't use ugly "Courier New". I pilfered that specialization
from Source/Core/DolphinWX/Cheats/ARCodeAddEdit.cpp.
2017-06-29 07:05:15 +02:00
JosJuice
a59edfe8cf
FilesystemPanel: Put partitions in separate folders when extracting all partitions
2017-06-28 22:25:27 +02:00
JosJuice
478c4fd1f3
FileSystemGCWii: Use DiscExtractor's FST offset/size functions
2017-06-28 22:25:09 +02:00
JosJuice
1b6506f4e8
DiscExtractor: Add support for more things to extract
2017-06-28 22:24:33 +02:00
JosJuice
94b18bfb07
FilesystemPanel: Replace Extract Apploader/DOL with Extract System Data
...
Because having one option for each thing to extract is
going to be way too many options once I add support for
more things to extract.
2017-06-28 22:23:10 +02:00
JosJuice
0b068d84d5
FilesystemPanel: Overhaul the right-click menu
2017-06-28 22:23:01 +02:00
JosJuice
2ca5f1dec8
FilesystemPanel: Handle root correctly in BuildFilePathFromSelection
...
This was unnecessary in the past but is necessary
for the next commit.
2017-06-28 22:22:50 +02:00
JosJuice
39ff203c1e
DiscExtractor: Don't create extra folders when extracting a folder
...
Before, if you extracted a directory like /map/Final/Release/,
Dolphin would create the nested folders map, Final and Release
in the output directory and put the files in Release instead of
just putting the files directly in the output directory.
2017-06-28 22:22:41 +02:00
JosJuice
6d51992648
Move ExtractDir from FilesystemPanel to DiscExtractor
2017-06-28 22:22:31 +02:00
JosJuice
5778e8bdba
FilesystemPanel: Refactor partition name stripping
2017-06-28 22:22:22 +02:00
JosJuice
baf3a3b188
DiscExtractor: Don't hardcode names in ExportApploader and ExportDOL
2017-06-28 22:22:13 +02:00
JosJuice
89c901780e
DiscScrubber: Deduplicate code for writing to file
2017-06-28 22:22:04 +02:00
JosJuice
1f31390b54
DiscExtractor: Improve error handling
2017-06-28 22:21:55 +02:00
JosJuice
a17272c146
DiscExtractor: Minor cleanup
2017-06-28 22:21:48 +02:00
JosJuice
d06b532150
DiscIO: Move parts of Filesystem to the new file DiscExtractor
2017-06-28 22:21:23 +02:00
JosJuice
23bb029250
DiscIO: Add convenience methods IsDisc and IsWii for Platform enum
2017-06-28 21:46:43 +02:00
spycrab
4d37190327
Make Visual Studio happy
2017-06-28 20:42:01 +02:00
spycrab
04bb6b3d59
Qt/GraphicsSettings: Implement hacks tab
2017-06-28 20:42:01 +02:00
spycrab
0b9f0d44e6
Qt/GraphicsSettings: Implement software rendering tab
2017-06-28 20:42:01 +02:00
spycrab
6598c23d0e
Qt/GraphicsSettings: Implement general tab
2017-06-28 20:42:01 +02:00
spycrab
e64a2d4e09
Qt/GraphicsSettings: Implement enhancements tab
2017-06-28 20:41:50 +02:00
spycrab
b6690b274b
Qt/GraphicsSettings: Implement advanced tab
2017-06-28 20:14:38 +02:00
spycrab
908e1e9aba
Qt: Implement graphics window and controls
2017-06-28 20:14:38 +02:00
spycrab
1b1ab3119a
Qt: Add Graphics option to tool bar
2017-06-28 20:13:37 +02:00
spycrab
7c97c14eba
UICommon: Move Wx Graphics Settings functions
2017-06-28 20:13:37 +02:00
Léo Lam
4dcfa5371a
IOS/ES: Don't open store in rw mode in WriteNewCertToStore
...
Causes different issues on different platforms.
r+b is broken on Windows for some reason.
a+b is broken on macOS.
2017-06-28 11:23:08 +02:00
Léo Lam
1a6b5ca36a
Qt: Add menu item to perform online update
2017-06-28 11:23:08 +02:00
Léo Lam
f06367febc
WX: Add menu item to perform online update
2017-06-28 11:22:10 +02:00
Léo Lam
42d217b9a8
WiiUtils: Add an online updater
...
While setting up a proper NAND for Wii emulation has become much easier
now that disc and online system updates work, they still require users
to have a recent disc game, certificates extracted from IOS or a NAND
dump for online updates to work and to really get all system titles.
This commit adds the ability to do an online update right from
Dolphin itself, which solves that usability issue.
2017-06-28 11:22:10 +02:00
Léo Lam
0c7b9570b4
Move WiiUtils to Core
...
Allows reusing the WAD import logic more easily, whereas UICommon
code can only be used from UICommon and UI.
And managing what's on the NAND is the Core's responsability, not UI.
2017-06-28 11:22:10 +02:00
Leo Lam
7454a20f4f
Merge pull request #5707 from leoetlino/content-table
...
IOS/ES: Fix content table handling
2017-06-28 10:42:59 +02:00
Leo Lam
72bde53f9f
Merge pull request #5713 from Tilka/pool_edge
...
GameSettings: enforce real XFB for Pool Edge
2017-06-28 10:29:43 +02:00
shuffle2
17fe293981
Merge pull request #5715 from JosJuice/non-ascii-dofilesearch
...
Fix DoFileSearch for non-ASCII paths on Windows
2017-06-28 01:01:43 -07:00
JosJuice
98b0d8a119
Fix DoFileSearch for non-ASCII extensions on Windows
...
We don't use non-ASCII extensions for anything right now,
but we might as well fix this.
2017-06-28 09:50:02 +02:00
JosJuice
6f98915c32
Fix DoFileSearch for non-ASCII paths on Windows
...
It didn't work when there were non-ASCII characters
in the directories argument, but it worked fine with
non-ASCII characters in names of found files and folders.
2017-06-28 09:48:28 +02:00
Tillmann Karras
ad51311dbf
Fix GCC warnings
2017-06-28 01:12:13 +01:00
Jules Blok
4a7b96c93a
FramebufferManager: Fix EFB layers being attached to the wrong FBO.
...
Fixes typo in commit 56fe938366
.
2017-06-27 23:42:42 +02:00
shuffle2
951f6400fb
Merge pull request #5706 from JosJuice/more-gamelist-speedup-followup
...
More follow-up for the gamelist speedup PR
2017-06-27 12:36:16 -07:00
JosJuice
7992c786b9
Fix references to CACHE_REVISION in DiscIO comments
...
The ISOFile.cpp one has been moved, and the GameFile.cpp one isn't
used for anything because DolphinQt2 doesn't support caching yet.
2017-06-27 21:32:14 +02:00
JosJuice
a6471234a2
FileSearch: Use strcasecmp in non-std code
...
Because why should only Windows get in on the FileSearch speedup fun?
(Not that this fixes the slowness of File::ScanDirectoryTree...)
2017-06-27 21:32:07 +02:00
JosJuice
caf6087766
GameListItem: Rename m_banner to m_volume_banner
...
I want to clarify that it isn't used for PNG banners.
2017-06-27 21:31:37 +02:00
JosJuice
89716025da
GameListItem: Reduce levels of indentation
2017-06-27 21:29:56 +02:00
shuffle2
0ea17dafd9
Merge pull request #5710 from leoetlino/more-wiiroot-fixes
...
Remove unnecessary WiiRoot inits/shutdowns
2017-06-27 12:05:38 -07:00
shuffle2
d19e1ed4bf
Merge pull request #5705 from JosJuice/strerror-r-version
...
Try to make sure that we have the XSI version of strerror_r
2017-06-27 11:49:26 -07:00
shuffle2
f1425a0c60
Merge pull request #5652 from spycrab/qt_audio
...
Qt/Settings: Implement Audio tab
2017-06-27 11:46:14 -07:00
shuffle2
9e1977e129
Merge pull request #5685 from spycrab/qt_dragndrop
...
Qt: Implement gamelist drag and drop
2017-06-27 11:44:06 -07:00
Léo Lam
ff83b93949
Remove unnecessary WiiRoot inits/shutdowns
...
* IOS: WiiRoot shutdown was moved to HW.
* Movie: Don't call UpdateWantDeterminism() if we're not running yet,
because this will automatically be done during the boot process.
Not doing this will result in two NANDs being created.
2017-06-27 20:43:39 +02:00
shuffle2
ffe4135d77
Merge pull request #5708 from leoetlino/once
...
Initialise WiiRoot once per emulation session
2017-06-27 11:41:34 -07:00
shuffle2
2579a7c03d
Merge pull request #5607 from leoetlino/logging-fix
...
Logging fixes
2017-06-27 11:40:26 -07:00
shuffle2
ce4d514542
Merge pull request #5631 from LAGonauta/openal-real-latency
...
Fixed latency setting and cleaned-up OpenAL backend
2017-06-27 11:31:16 -07:00
spycrab
ba3df3db05
Qt/Settings: Implement audio pane
2017-06-27 20:25:38 +02:00
spycrab
feb67a3953
Qt: Fix emulation not returning to its original state when aborting shutdown
2017-06-27 18:06:27 +02:00
spycrab
15243093c4
Qt: Implement missing settings
2017-06-27 17:32:43 +02:00
Léo Lam
f5ef060b21
Initialise WiiRoot once per emulation session
...
This removes unnecessary initialisations which would cause issues in
determinism mode.
2017-06-27 15:44:17 +02:00
Léo Lam
da5a7fcc63
IOS/ES: Fix content table handling
...
This is larger than I thought I would be, but unfortunately it's quite
hard to split fixes like this when the handling is wrong in tons of
different places.
The content table is limited in size. It can only hold 16 entries.
Three consequences:
* Since the table cannot grow indefinitely, instead of using a std::map
we use a std::array as we should.
* Remove a hack where the CFD was cleared back to 0 on IPC close (wtf?)
* The CFD now doesn't keep increasing to infinity. It's unknown if this
would fix anything at all, but some issues in the past were caused
by CFDs being excessively large.
Other minor changes:
* Simplify save state logic.
* Keep track of the UID like ES does. Not sure how useful this is, but
we can do this very easily so why not.
* Remove the guesswork and use the actual error codes.
* Add more error checking to make Dolphin less likely to crash.
Something that should be done in the future: deduplicate the filesystem
logic. Something that takes one line in the actual ES code takes
10+ lines in our implementation... while duplicating the FS logic...
This will likely harder to fix though, so I'm leaving that
for another time.
2017-06-27 15:37:00 +02:00
LAGonauta
db7bb3bda8
Swapped C-style arrays to std::array
...
Also changed C-Style casts to static_cast
2017-06-27 07:12:15 -03:00
LAGonauta
9eb209c214
Removed redundant conversion to float when playing back stereo.
2017-06-27 07:10:32 -03:00
lfsafady
75af792070
Swapped out the sound_sync_event.Wait() call by a simple std::sleep_for.
...
It seems to make no difference besides allowing lower latencies and more
stability on hardware OpenAL cards. Maybe the Wait() call waits for too
long, causing buffers underruns.
2017-06-27 07:08:43 -03:00
lfsafady
d9d51fe0c4
Renamed some variables to the current coding standard and some to better
...
fit what they really are.
2017-06-27 07:08:43 -03:00
JosJuice
5b7f99e57a
Try to make sure that we have the XSI version of strerror_r
2017-06-27 11:59:39 +02:00
LAGonauta
8fd1af6783
Changed OpenAL latency setting to really reflect how much time it is.
...
Before these changes each value of latency were actually 5ms, with a
minimum latency of ~10 ms. If it was set to 4 ms on the UI, the actual
latency was 10 + 5 * 4 = 30 ms.
Now 30 ms on the UI means 30 ms on the backend.
2017-06-27 06:54:28 -03:00
JosJuice
b9499441ee
GameListItem: Fix comment about PNG banners for volumes
...
f16599f
quietly dropped the ability to set custom banners for volumes.
2017-06-27 11:30:27 +02:00
JosJuice
691b676145
GameListItem: Fix minor naming style violation
2017-06-27 11:28:55 +02:00
JosJuice
e73de25a9e
GameListCtrl: Put CACHE_REVISION in .cpp file
...
Reduces the number of files that have to be recompiled
when changing the cache revision.
2017-06-27 11:27:36 +02:00
shuffle2
94ba78d717
Merge pull request #5614 from ligfx/qtinputmappingrandomcleanups
...
DolphinQt: small input mapping code cleanups and fixes
2017-06-27 01:57:26 -07:00
shuffle2
540ee18966
Merge pull request #5699 from JosJuice/wx-custom-titles
...
DolphinWX: Sync custom title changes on game list rescan
2017-06-27 01:48:22 -07:00
JosJuice
7d801d61dc
DolphinWX: Use std::move when committing in GameListItem
2017-06-27 10:21:33 +02:00
spycrab
2a1d18444f
Qt: Implement gamelist drag and drop
2017-06-27 10:18:15 +02:00
shuffle2
599a235a19
Merge pull request #5691 from ligfx/openalonlywindowsdynamic
...
OpenAL: only enable on Windows + dynamically load DLL
2017-06-27 01:18:06 -07:00
shuffle2
0f3ee2f209
Merge pull request #5700 from leoetlino/title-key
...
ESFormats: Minor changes
2017-06-27 01:02:42 -07:00
Michael Maltese
749889236d
OpenALStream: remove commented-out ALC_REFRESH code
2017-06-27 00:06:14 -07:00
Michael Maltese
8e849b1595
Remove OpenAL DLL from Externals
2017-06-27 00:06:14 -07:00
Michael Maltese
c882d52f4a
OpenAL: load DLL dynamically
2017-06-27 00:06:14 -07:00
Michael Maltese
18e70cdf91
Only build OpenAL on Windows
2017-06-27 00:06:14 -07:00
Michael Maltese
42ea1c8ecf
OpenAL: remove aldlist.cpp
2017-06-27 00:06:13 -07:00
Michael Maltese
32470ef284
clean up OpenALStream::Start()
2017-06-27 00:06:13 -07:00
Michael Maltese
56961f5561
OpenALStream: don't include headers if not building
2017-06-27 00:06:13 -07:00
Michael Maltese
033492717c
BlockingLoop: fix unhandled enum value warning
...
Fixes compiler warning:
```
Source/Core/Common/BlockingLoop.h:212:13: warning: enumeration value 'kNonBlock' not handled in switch [-Wswitch]
switch (mode)
^
```
2017-06-26 23:34:33 -07:00
JosJuice
0ac1562fbd
DolphinWX: Load EmuState and custom name for actual discs
2017-06-27 08:29:57 +02:00
JosJuice
d5bf6f1bbc
DolphinWX: Sync custom title changes on game list rescan
2017-06-27 08:29:48 +02:00
Léo Lam
9f08534a47
IOS: Reuse IOSC instance when possible
...
Changes ESFormats to take an IOSC instance instead of creating its own
temporary instance unnecessarily.
2017-06-27 00:01:20 +02:00
Léo Lam
6d821de2b9
IOS: Use a std::array for the title key instead of vector
...
The title key is always 16 bytes, so it doesn't make sense to make it
a std::vector.
2017-06-27 00:01:20 +02:00
Michael Maltese
b2c9d6d217
Rename CMixer to Mixer
2017-06-26 15:01:07 -07:00
Leo Lam
aa020040f6
Merge pull request #5681 from spycrab/qt_safeshutdown
...
Qt: Implement safe shutdown
2017-06-26 21:55:27 +02:00
spycrab
6688e66c60
Qt: Implement safe shutdown
2017-06-26 21:47:32 +02:00
shuffle2
7d60f03acb
Merge pull request #5687 from shuffle2/wx-cache
...
DolphinWX: properly sync EmuState and banner changes.
2017-06-26 12:40:40 -07:00
Shawn Hoffman
f51df62344
DolphinWX: properly sync EmuState and banner changes.
2017-06-26 12:35:40 -07:00
Leo Lam
0ace7fd8f3
Merge pull request #5694 from leoetlino/dolphin-drm
...
Refuse to launch the shop with default credentials
2017-06-26 21:31:32 +02:00
Leo Lam
f399ca984f
Merge pull request #5692 from JosJuice/titledatabase-override
...
TitleDatabase: Let user files override sys files
2017-06-26 21:30:49 +02:00
shuffle2
02690d5d7c
Merge pull request #5693 from JosJuice/filesearch-minor-changes
...
FileSearch: Minor changes
2017-06-26 11:44:44 -07:00
Léo Lam
70828916e6
IOS/ES: Refuse to launch the shop with default credentials
...
Prevents... misusing the shop.
We are not legally obliged to do this, but let's not make piracy
any easier.
2017-06-26 20:30:13 +02:00
spycrab
2de31317e9
UICommon: Move TriggerSTMPowerEvent() from Wx
2017-06-26 16:28:39 +02:00
Léo Lam
860f07f5a1
IOS/ES: Expose GetDeviceId
2017-06-26 15:18:01 +02:00
Léo Lam
60c6fbe9cc
Add CommonTitles.h for common Wii title IDs
2017-06-26 15:17:55 +02:00
JosJuice
1fc5eae5bd
FileSearch: Add a static_assert for the preferred separator
2017-06-26 11:50:10 +02:00
JosJuice
382356627a
FileSearch: Check isDirectory in the non-Windows code
...
c5fa470
made the extension check discard directories, but
only in the new code that currently only is used on Windows.
Let's add an equivalent check in the old code so that the
behavior is consistent across platforms.
2017-06-26 11:44:23 +02:00
JosJuice
642e3db3c5
TitleDatabase: Add more information to a comment
2017-06-26 11:25:58 +02:00
JosJuice
ee66c562ab
TitleDatabase: Let user files override sys files
...
This seems like an oversight in the old code, because
what's the point of loading user files if the titles
in them are going to be ignored for nearly all games?
This commit fixes the issue by making the first LoadMap
variant not overwrite entries and making the constructor
do everything in the opposite order. An alternative solution
would be to make the second LoadMap variant overwrite entries.
2017-06-26 11:14:27 +02:00
Markus Wick
99b1735424
Merge pull request #5660 from shuffle2/unblock-blockingloop
...
Change "blocking" BlockingLoop::Stop to give up and die after a timeout.
2017-06-26 10:23:21 +02:00
Shawn Hoffman
ed8f293b4f
Change "blocking" BlockingLoop::Stop to give up and die after a timeout.
...
This fixes the global-static fifo object causing infinite hangs in some
cases. Notably, failure to initialize a graphics backend would result in
BlockingLoop::Prepare being called but never executing Run(), leaving the
object in a bad state.
2017-06-25 20:47:30 -07:00
Shawn Hoffman
1634f0cf5e
Use CompareStringOrdinal in DoFileSearch instead of _wcsicmp
2017-06-25 16:47:46 -07:00
shuffle2
88b442e1a8
Merge pull request #5678 from shuffle2/win-qt-vcxproj
...
Windows/Qt: Make maintaining VS files easier.
2017-06-25 15:10:23 -07:00
JosJuice
be162a3316
FileSearch: Remove unnecessary function
2017-06-25 13:21:25 +02:00
shuffle2
991062093b
Merge pull request #5682 from MerryMage/SCMRevGen
...
SCMRevGen: Use DisableFastUpToDateCheck
2017-06-24 10:44:53 -07:00
MerryMage
11a03e7dd2
SCMRevGen: Use DisableFastUpToDateCheck
2017-06-24 17:34:21 +01:00
JosJuice
b440dbd998
FileSystemGCWii: Use case insensitive comparison in FindFileInfo
...
This was a regression in f49b64c
. Some games seem to name the
banner file OPENING.BNR instead of opening.bnr.
Should fix https://bugs.dolphin-emu.org/issues/10354
2017-06-24 14:06:31 +02:00
Shawn Hoffman
311740b587
msvc/qt: list missing headers
2017-06-24 01:52:49 -07:00
Shawn Hoffman
2cf4ce1785
msvc\qt: get rid of .filters; just display directory structure.
2017-06-24 01:52:49 -07:00
Tillmann Karras
c8255092d7
Fix warnings
2017-06-24 01:41:58 +01:00
Shawn Hoffman
a66b747366
DolphinWX: show simple message about scanning in statusbar.
2017-06-23 17:25:53 -07:00
Shawn Hoffman
c5fa470ad8
replace DoFileSearch with optimized version
2017-06-23 17:25:53 -07:00
Shawn Hoffman
f16599f4a8
DolphinWX: defer gamelist scanning and switch to single-file cache.
2017-06-23 17:25:53 -07:00
Shawn Hoffman
79961b6f76
GameListCtrl: minor cleanup
2017-06-23 17:25:53 -07:00
Shawn Hoffman
668c6b5ce9
DolphinWX: rename CGameListCtrl -> GameListCtrl
2017-06-23 17:25:52 -07:00
shuffle2
1bd177561b
Merge pull request #5663 from leoetlino/import-fix
...
IOS/ES: Fix import sanity check
2017-06-23 17:04:26 -07:00
shuffle2
d715e740b5
Merge pull request #5669 from JosJuice/boottopause-false
...
Don't enable Boot to Pause by default in the debugger
2017-06-23 17:02:03 -07:00