Mat M
b7db1f020b
Merge pull request #7624 from lioncash/paired-single
...
PowerPC: Remove separate macros for paired singles
2018-12-28 06:32:45 -05:00
Mat M
b37455ef46
Merge pull request #7652 from JMC47/NetplayWarning
...
Update Netplay Main Page Notices
2018-12-28 06:22:56 -05:00
Jordan Woyak
c614f5f534
ControllerEmu: Allow analog stick input radius greater than one. Useful for rounded-square inputs of xbox controllers.
2018-12-27 19:16:37 -06:00
Jordan Woyak
da9bcf83ef
InputCommon: Simplified StickGate interface and moved class into its own file. Changed default input radius to perform no resizing. Tweaked the indicator colors a bit to improve visibility. Cleaned up some math and code.
2018-12-27 18:31:46 -06:00
Jordan Woyak
ceb28a2302
Add ability to reshape analog sticks from square/circle to octagon and make the analog stick mapping indicator pretty.
2018-12-27 18:31:46 -06:00
JMC47
e6b859a923
Update Netplay Main Page Warnings
...
We now support automatically syncing most things. Add Dual Core Netplay
Warning. Update Wii Remote Netplay string since it now kinda works.
2018-12-26 14:23:43 -05:00
Lioncash
244d083f0e
PowerPC: Remove separate macros for paired singles
...
Previously, PowerPC.h had four macros in it like so:
\#define rPS0(i) (*(double*)(&PowerPC::ppcState.ps[i][0]))
\#define rPS1(i) (*(double*)(&PowerPC::ppcState.ps[i][1]))
\#define riPS0(i) (*(u64*)(&PowerPC::ppcState.ps[i][0]))
\#define riPS1(i) (*(u64*)(&PowerPC::ppcState.ps[i][1]))
Casting between object representations like this is undefined behavior.
Given this is used heavily with the interpreter (that is, the most
accurate, but slowest CPU backend), we don't exactly want to allow
undefined behavior to creep into it.
Instead, this adds a helper struct for operating with the paired singles,
and replaces the four macros with a single macro for accessing the
paired-singles/floating-point registers.
This way, it's left up to the caller to explicitly decide how it wants to interpret
the data (and makes it more obvious where different interpretations of
the same data are occurring at, as there'll be a call to one of the
[x]AsDouble() functions).
2018-12-25 10:35:09 -05:00
Jordan Woyak
0f19c4a40f
ControllerInterface: DInput: Update force feedback effects in a thread. This should prevent slowdowns experienced by a handful of users.
2018-12-24 19:40:58 -06:00
spycrab
fc998093cc
Merge pull request #7600 from spycrab/resource_pack
...
Implement resource packs
2018-12-23 16:04:05 +01:00
Jordan Woyak
a8d0afe219
Reduce input mapping detection time to 3 seconds because 5 seconds was ridciculously long and output (rumble) testing time to 2 seconds because 5 seconds was annoyingly long.
2018-12-22 10:58:34 -06:00
spycrab
71d53c922f
Implement resource packs
2018-12-19 11:03:09 +01:00
Admiral H. Curtiss
2351a60567
GCMemcard: Let GetDEntry() return std::optional<DEntry>.
2018-12-10 20:24:20 +01:00
Admiral H. Curtiss
929fd2b41d
GCMemcard: Use BigEndianValue for DEntry.m_animation_speed.
2018-12-09 22:28:56 +01:00
Admiral H. Curtiss
15f89d3e6f
GCMemcard: Rename DEntry variables to match our naming conventions.
2018-12-09 22:28:55 +01:00
Techjar
a2545a18b2
Qt/ControllersWindow: Fix Wiimote settings not being re-enabled after quitting NetPlay
...
We no longer allow accessing controller config while NetPlay is
running, so this check is no longer needed.
2018-12-05 16:12:12 -05:00
Léo Lam
2eb85c8fcf
Merge pull request #7594 from TryTwo/NestedDocks
...
Add nested docking to increase layout choices while debugging.
2018-12-05 17:14:46 +01:00
Léo Lam
00151fd913
Merge pull request #7601 from sepalani/html-pre
...
LogWidget: Preserve spaces and newlines
2018-12-02 19:38:54 +01:00
Sepalani
d5692afd7d
LogWidget: Preserve spaces and newlines
2018-12-02 19:12:12 +04:00
Stenzek
e3708ea8c3
Externals: Add MoltenVK binary, copy to package on macOS
2018-12-01 14:35:45 +10:00
Pierre Bourdon
754d934a18
Merge pull request #7596 from Techjar/netplay-fix-force-stop
...
NetPlay: Allow force stopping
2018-11-30 21:30:04 +01:00
Connor McLaughlin
6388992f62
Merge pull request #7039 from stenzek/moltenvk
...
Vulkan: macOS support via MoltenVK
2018-11-30 21:55:30 +10:00
Techjar
9c51439144
Qt/NetPlayDialog: Request game stop when core enters stopping state
...
This makes it possible to gracefully force stop emulation rather than
having to kill Dolphin completely when NetPlay deadlocks in the input
loop. Without a graceful stop, Wii saves do not get flushed to the main
NAND, and are left in limbo in the temporary NAND.
2018-11-30 03:40:23 -05:00
Pierre Bourdon
4d14d5ee9b
Merge pull request #7587 from Techjar/disable-controller-config-netplay
...
Qt: Disable controller configuration while NetPlay is running
2018-11-29 14:28:18 +01:00
Techjar
577f6a5fb1
Qt: Disable controller configuration while NetPlay is running
...
Doing pretty much anything in the controller config breaks NetPlay
(desync and/or deadlock), as saving the settings reconfigures
controller interfaces, which NetPlay doesn't expect.
2018-11-29 07:31:45 -05:00
TryTwo
c18aa36eab
Add nested docking to increase layout choices while debugging.
2018-11-27 11:14:46 -07:00
Techjar
9bb3c7d839
Qt/ControllersWindow: Fix incorrect enabled states of configure buttons
...
All configure buttons would be enabled, although no-op, upon
initialization of the dialog. Changing a setting to cause a save would
fix them.
2018-11-23 04:47:49 -05:00
Techjar
b06b7e5686
NetPlay: Add full Wii save sync
...
This adds the ability to sync all Wii saves, instead of only the
selected game. Useful for cases like launching a game though GeckoOS.
2018-11-19 06:37:09 -05:00
Techjar
d94922002b
NetPlay: Implement chunked data transfer
...
This sends arbitrary packets in chunks to be reassembled at the other
end, allowing large data transfers to be speed-limited and interleaved
with other packets being sent. It also enables tracking the progress of
large data transfers.
2018-11-19 06:37:09 -05:00
Techjar
529796bd59
NetPlay: Remove PadMapping type
...
Its usage was inconsistent, confusing, and buggy, so I opted to just
remove it entirely. It has been replaced with PadIndex for the
appropriate instances (mainly networking), and inappropriate usages
(where it was really just a player ID) have been replaced with the
PlayerId type. The definition of "no mapping" has been changed from -1
to 0 to match the defintion of "no player", as -1 (255 unsigned) is
actually a valid player ID.
The bugs never manifested because it only occurs with a full lobby of
255 players, at which point the last player's ID collides with the "no
mapping" definition and some undefined behavior occurs. Nevertheless, I
thought it best to fix it anyways as the usage of PadMapping was
confusing.
2018-11-19 05:45:32 -05:00
Techjar
94d7e7d78a
Qt/NetPlayDialog: Add external IP to interface combo box
...
The interface address isn't particularly useful in most circumstances
(playing over internet), and we have a way to get the external IP now,
so displaying it in the dialog is useful.
2018-11-15 03:29:28 -05:00
Pierre Bourdon
6b7a1ca6d1
Merge pull request #7535 from UnclePunch/synccodes
...
Netplay: Sync AR and gecko codes with clients
2018-11-13 22:39:25 +01:00
Pierre Bourdon
41333fa971
Merge pull request #7564 from Techjar/netplay-sync-wii-shutdown
...
NetPlay: Sync power button event
2018-11-13 22:33:59 +01:00
Techjar
ef89e4e70c
NetPlay: Sync power button event
...
This fixes the deadlock on shutdown when Wii Remotes are in use.
2018-11-12 22:32:18 -05:00
Techjar
caf2fc3c3e
NetPlay: Sync Defer EFB Copies setting
2018-11-12 20:45:12 -05:00
Pierre Bourdon
97e3200f57
Merge pull request #7519 from stenzek/controller-window
...
Core: Switch controller interface to render surface on booting
2018-11-12 17:26:03 +01:00
Pierre Bourdon
162e34ad22
Merge pull request #7534 from Techjar/fix-netplay-gamelist-saving
...
NetPlay: Fix saving host game selection
2018-11-09 04:28:55 +01:00
Pierre Bourdon
a77882468b
Merge pull request #7544 from DXGLdotinfo/master
...
Add supportedOS manifests for Windows 7, 8, 8.1, and 10 to DolphinQt …
2018-11-07 15:35:56 +01:00
Stenzek
a1b9a9f519
DolphinQt: Add backend multithreading to graphics config
2018-11-07 05:12:20 -08:00
Pierre Bourdon
c52bdba28a
Merge pull request #7542 from Tilka/fifo_analyzer
...
FIFOAnalyzer: don't use misleading format strings
2018-11-07 13:26:01 +01:00
Stenzek
8e2c063d62
TextureCache: Implement deferred/batched EFB copies
2018-11-07 16:25:01 +10:00
William
6d437b282a
Add supportedOS manifests for Windows 7, 8, 8.1, and 10 to DolphinQt and Updater. Enables high contrast themes on Windows 8+.
2018-11-03 22:33:55 -04:00
Tillmann Karras
6714159660
FIFOAnalyzer: don't use misleading format strings
2018-11-03 14:37:22 +00:00
Vin Bertinelli
469f29350f
Netplay: Sync codes
...
Adds a tickbox to the server's window to syncronize codes. Codes
are temporarily sent to each client and are used for the duration of the
session.
Saves the "sync codes" tickbox as per PR Netplay: Properly save hosting
settings #7483
2018-10-29 23:00:51 +01:00
Techjar
203ecb534d
NetPlay: Fix saving host game selection
2018-10-29 17:01:30 -04:00
Pierre Bourdon
6bb31fc94c
DolphinQt: tell analytics to reload settings on change
2018-10-29 05:07:47 +01:00
Stenzek
6392be61eb
Host: Also call ControllerInterface::ChangeWindow when window changes
...
This should prevent us from trying to poll against destroyed native
windows.
2018-10-29 11:46:06 +10:00
Stenzek
cb6ba59a44
Host: Don't call ChangeSurface when handle hasn't changed
...
This was causing a deadlock when switching to fullscreen in
render-to-main-window mode.
2018-10-29 11:46:06 +10:00
Stenzek
52828901ef
Core: Switch controller interface to render widget on booting
...
Previously, the Qt frontend would initialize the controller
interface on starting, resulting in the cursor position being
relative to the main window, instead of the render window.
2018-10-29 11:46:06 +10:00
Stenzek
a7f334dc2a
ControllerInterface: Don't crash on non-X11 QPA
2018-10-29 11:46:06 +10:00
Pierre Bourdon
9095233d21
Merge pull request #7483 from Zexaron/netplay_save-host-settings
...
Netplay: Properly save hosting settings
2018-10-29 01:44:41 +01:00
Pierre Bourdon
98987beb73
Merge pull request #7526 from Tilka/mo_logging
...
DolphinQt: reduce warnings about MO files
2018-10-28 23:52:22 +01:00
Pierre Bourdon
2071dea9b7
Merge pull request #7497 from stenzek/lazy-initialize
...
Qt/MainWindow: Lazy initialize child windows
2018-10-28 23:51:23 +01:00
Pierre Bourdon
98b0efb6de
Merge pull request #7499 from JosJuice/purge-game-list-cache
...
DolphinQt: Implement "Purge Game List Cache"
2018-10-28 17:00:04 +01:00
Tillmann Karras
13930f565a
DolphinQt: reduce warnings about MO files
2018-10-28 11:45:59 +00:00
JosJuice
8bbec31295
DolphinQt: Implement "Purge Game List Cache"
...
This is a missing feature from DolphinWX.
2018-10-25 08:29:54 +02:00
Stenzek
eb284b5d66
VideoBackends: Pass window system info from host on creation
2018-10-20 21:11:34 +10:00
Stenzek
1d827a5223
Renderer: Pull dimensions from GLInterface/Swapchain
2018-10-20 21:11:34 +10:00
Stenzek
a3961750a7
Drop Host_GetRenderSurface and pass display to backend
2018-10-20 21:11:34 +10:00
Tillmann Karras
97cc9894e4
Update to Visual Studio's default Windows SDK
2018-10-20 00:53:08 +01:00
Anthony
cffca7cbec
Merge pull request #7502 from JosJuice/functions-signature
...
Improve the "functions signature" string
2018-10-15 11:01:36 -07:00
JosJuice
4a07b9a0e1
Improve the "functions signature" string
2018-10-15 18:31:02 +02:00
Z1ni
d7640f5929
Qt/GameList: Cancel ISO compression when the user cancels the save dialog
2018-10-14 21:04:43 +03:00
Stenzek
ea77899ddd
Qt/MainWindow: Maintain pointer to hotkey window
...
Prevents multiple hotkey windows from being opened.
2018-10-14 22:24:31 +10:00
Stenzek
211a9bf6d2
Qt/MainWindow: Lazy initialize child windows
2018-10-14 21:46:59 +10:00
Tilka
e18fbb9bd3
Merge pull request #7449 from amaiorano/fix-extensions-combo-update-on-reset-defaults
...
Fix extensions combo update on reset defaults
2018-10-14 02:22:54 +01:00
Tilka
9a1f259626
Merge pull request #7486 from amaiorano/fix-infinite-polling-for-usb-devices
...
Fix infinite polling for usb devices after the "add to whitelist" dia…
2018-10-14 01:13:35 +01:00
Tilka
1abb27909d
Merge pull request #7480 from sp00nd/master
...
Change gecko sorting back to manual
2018-10-14 01:07:51 +01:00
Tilka
2d0e217715
Merge pull request #7485 from amaiorano/double-click-to-add-usb-whitelist-device
...
Make double click on selected usb whitelist device add it
2018-10-14 01:02:50 +01:00
Pierre Bourdon
2bdee9b80b
Merge pull request #7455 from spycrab/qt_tags
...
Qt/GameList: Implement tag system
2018-10-13 19:58:32 +02:00
Zexaron
550aa93ed0
NetPlay: Properly save Hosting GUI settings
2018-10-13 10:35:42 +02:00
Antonio Maiorano
3dec84a91b
Fix infinite polling for usb devices after the "add to whitelist" dialog has been opened once
...
Problem is that USBDeviceAddToWhitelistDialog starts a timer once created to poll for devices every second. In Qt, closing a heap-allocated dialog doesn't delete it, so it keeps on polling. This fix is to allocate dialog on the stack, then use "exec" to run it modally without returning. Once closed, the stack instance will get destroyed, thus killing the timer.
2018-10-12 21:34:05 -04:00
Tilka
94f07e7fa9
Merge pull request #7472 from Z1ni/usb-dev-dialog-close
...
Qt/Settings: Add Cancel button to USB passthrough device dialog
2018-10-12 20:43:09 +01:00
Mat M
57529bc455
Merge pull request #7438 from RolandMunsil/master
...
Fix issue where breakpoint type wasn't correct in debugger memory view.
2018-10-12 10:30:31 -04:00
Mat M
ecd4897d43
Merge pull request #7437 from stenzek/graphics-options-race
...
Fix race condition caused by opening graphics options while running
2018-10-12 10:29:28 -04:00
Tilka
f5bfcdda5a
Merge pull request #7473 from aldelaro5/fix-signature-export
...
Qt/debugger: restore previously lost symbols and signature features
2018-10-11 13:03:37 +01:00
Antonio Maiorano
3a8493cc59
Make double click on selected usb whitelist device add it
2018-10-09 20:34:32 -04:00
Tillmann Karras
db54b903ef
Zero-initialize CPU state and register view
2018-10-10 00:04:02 +01:00
sp00nd
6cd53bf92d
Change gecko sorting back to manual
...
Gecko codes are a core foundation of most netplay sessions and most general modding cases. It has gone so far as to now have an ini for almost every game.
After the massive UI overhaul, the gecko code sorting defaults to Alphabetical with no option to change it. This removes the possibility for netplay builds to have important and necessary codes at the top for easy selecting, and removes the ability to sort massive code lists in categories.
This will also make the sorting consistent with AR codes, which are sorted manually.
2018-10-09 17:46:11 -05:00
Tilka
7cfba7397c
Merge pull request #7475 from aldelaro5/symbols-search-case-insensitive
...
Qt/debugger: make the symbols search case insensitive
2018-10-09 21:18:06 +01:00
Z1ni
b27c688fdf
Qt/Settings: Add Cancel button to USB passthrough device dialog
2018-10-09 15:28:40 +03:00
aldelaro5
68aff9c023
Qt/debugger: make the symbols search case insensitive
2018-10-08 21:17:33 -04:00
aldelaro5
9fd7da59b1
Qt/debugger: reorder the PC toolbar icons to their correct buttons
2018-10-08 21:10:18 -04:00
aldelaro5
3921d8a8be
Qt/debugger: restore previous symbols and signature features
...
They were mysteriously lost after the Qt migration.
2018-10-08 20:59:55 -04:00
Tilka
31594a8138
Merge pull request #7462 from aldelaro5/fix-signature-export
...
Qt/debugger: Accept empty prefix input
2018-10-09 00:30:19 +01:00
Tillmann Karras
09385b9542
FIFOAnalyzer: print BP registers without X suffix
2018-10-08 02:00:25 +01:00
Tillmann Karras
ec4c019a7b
FIFOAnalyzer: fix printing of XF registers
2018-10-08 02:00:25 +01:00
mazes-80
eae36399dc
IOWindow: append new text at the end by default
...
This fixes https://dolp.in/i11026 .
2018-10-07 12:27:05 +01:00
aldelaro5
4b75876ba1
Qt/debugger: Accept empty prefix input
2018-10-06 21:22:34 -04:00
Tilka
781b707af8
Merge pull request #7444 from amaiorano/fix-messagebox-icons
...
Fix QMessageBox icons using the default rather than the Dolphin logo
2018-10-05 23:34:40 +01:00
spycrab
6e873c6e06
Qt/GameList: Implement tag system
2018-10-05 08:22:51 +02:00
Antonio Maiorano
bf18f19b0a
Make the progress dialog look better (used for e.g. shader compiling)
...
* Removed the Cancel button since the code doesn't react to it anyway.
* Only show a window title, not the help icon (?), and disable the close button
* Set the title to "Dolphin" instead of repeating the label text
2018-10-03 21:35:10 -04:00
Antonio Maiorano
f257630c0a
Fix resetting emulated wii remote settings to default not updating Extension combo box
2018-10-02 23:34:32 -04:00
Antonio Maiorano
165ac1c29e
Fix QMessageBox icons using the default rather than the Dolphin logo
2018-10-02 00:26:43 -04:00
Stenzek
349765ba77
GraphicsWindow: Ensure adapter selection isn't enabled while running
2018-09-28 22:01:23 +10:00
Stenzek
93923e2b29
Don't fill backend info when core is running
...
The current approach results in the UI thread creating a graphics device
whilst the core is running, leading to races on function pointers, and
potentially crashing.
2018-09-28 21:43:22 +10:00
Stenzek
a877d5f6dc
Remove unused Host_ShowVideoConfig
2018-09-28 14:05:53 +10:00
Mat M
d0b2f04539
Merge pull request #7421 from JosJuice/qt-sd-hotplug
...
DolphinQt: Allow inserting/ejecting SD cards during emulation
2018-09-27 21:48:16 -04:00
Roland Munsil
5eefd0482a
Fix issue with breakpoint type loaded from settings not propogating to MemoryWindow
2018-09-25 17:45:18 -05:00
Roland Munsil
54bd16e753
Fix typo causing "Remove from Watch" in Cheat Manager to crash Dolphin
2018-09-24 23:01:24 -05:00
Roland Munsil
04969f94b6
Fix some Cheat Manager comparisons being wrong
2018-09-24 21:34:48 -05:00
JosJuice
5db27b8e7e
DolphinQt: Allow inserting/ejecting SD cards during emulation
...
This is possible on real hardware and was possible in DolphinWX.
2018-09-20 18:41:37 +02:00
Léo Lam
3ecc4ed1c4
Merge pull request #7390 from Techjar/qt-save-grid-scale
...
Qt/GameList: Make grid view scale persistent
2018-09-16 15:21:00 +02:00
JosJuice
fb6b31bba8
Re-add i18n comments that were lost in the DolphinWX removal
2018-09-08 15:58:15 +02:00
JosJuice
e0cb56edb9
Reword some translatable strings
...
We've decided to use the term "Usage Statistics Reporting"
instead of "Analytics" in user-facing strings.
2018-09-08 15:19:01 +02:00
JosJuice
5f35edf505
Remove unused function and translatable strings
2018-09-08 15:18:31 +02:00
Techjar
bb598529be
Qt/GameList: Make grid view scale persistent
2018-09-02 18:22:44 -04:00
Techjar
f1bc17ab9e
Qt/MD5Dialog: Fix pressing enter on NetPlay window causing dialog to close
2018-08-27 08:39:39 -04:00
Pierre Bourdon
62928de547
Merge pull request #7357 from Techjar/qt-memcard-manager-select-button
...
Qt/GCMemcardManager: Make slot and file selection more intuitive
2018-08-27 13:35:38 +02:00
Pierre Bourdon
e096ca20e9
Merge pull request #7358 from Techjar/qt-memcard-manager-deletion-fix
...
Qt/GCMemcardManager: Fix deletion of multiple files
2018-08-27 04:48:07 +02:00
Pierre Bourdon
9bcd7bfe1e
Merge pull request #7360 from Techjar/netplay-host-input-authority
...
NetPlay host input authority mode
2018-08-26 23:15:44 +02:00
Techjar
5519efa66e
NetPlay host input authority mode
...
Currently, each player buffers their own inputs and sends them to the
host. The host then relays those inputs to everyone else. Every player
waits on inputs from all players to be buffered before continuing. What
this means is all clients run in lockstep, and the total latency of
inputs cannot be lower than the sum of the 2 highest client ping times
in the game (in 3+ player sessions with people across the world, the
latency can be very high).
Host input authority mode changes it so players no longer buffer their
own inputs, and only send them to the host. The host stores only the
most recent input received from a player. The host then sends inputs
for all pads at the SI poll interval, similar to the existing code. If
a player sends inputs to slowly, their last received input is simply
sent again. If they send too quickly, inputs are dropped. This means
that the host has full control over what inputs are actually read by
the game, hence the name of the mode. Also, because the rate at which
inputs are received by SI is decoupled from the rate at which players
are sending inputs, clients are no longer dependent on each other. They
only care what the host is doing. This means that they can set their
buffer individually based on their latency to the host, rather than the
highest latency between any 2 players, allowing someone with lower ping
to the host to have less latency than someone else.
This is a catch to this: as a necessity of how the host's input sending
works, the host has 0 latency. There isn't a good way to fix this, as
input delay is now solely dependent on the real latency to the host's
server. Having differing latency between players would be considered
unfair for competitive play, but for casual play we don't really care.
For this reason though, combined with the potential for a few inputs to
be dropped on a bad connection, the old mode will remain and this new
mode is entirely optional.
2018-08-26 17:10:23 -04:00
spycrab
476037d1f2
Merge pull request #7345 from spycrab/qt_cover_uniform
...
Qt/GridProxyModel: Ensure uniform sizes in cover mode
2018-08-25 02:01:14 +02:00
Techjar
fd7d51eed6
Qt/GCMemcardManager: Fix deletion of multiple files
2018-08-24 07:58:38 -04:00
Techjar
6ae77623c5
Qt/GCMemcardManager: Make slot and file selection more intuitive
2018-08-24 07:10:48 -04:00
spycrab
248afb9fa7
Merge pull request #7347 from spycrab/qt_fix_visibility
...
Qt: Fix widgets being visible when they shouldn't be
2018-08-24 01:58:55 +02:00
spycrab
398cce52be
Merge pull request #7352 from Techjar/qt-signal-blocker
...
Qt: Switch to QSignalBlocker for scoped signal blocking
2018-08-24 01:58:21 +02:00
Techjar
1547b185c7
Qt: Switch to QSignalBlocker for scoped signal blocking
2018-08-23 07:11:52 -04:00
Techjar
d72f4ed468
Qt/AdvancedPane: Block signals during Update()
2018-08-23 07:00:20 -04:00
Pierre Bourdon
d44087128e
Merge pull request #7342 from spycrab/qt_dbg_scroll
...
Qt/Debugger: Improve scrolling
2018-08-20 21:41:54 +02:00
spycrab
77ebd721e3
Qt: Fix widgets being visible when they shouldn't be
2018-08-20 00:39:57 +02:00
spycrab
5b992f138b
Qt/Debugger: Improve scrolling
...
Reduces the scrolling speed for both keyboard and mouse scrolling so
users are able to navigate the code and memory view line by line
2018-08-19 22:36:04 +02:00
spycrab
2ea6cc66ba
Qt/GridProxyModel: Ensure uniform sizes in cover mode
2018-08-19 17:13:29 +02:00
Mat M
8f847c7655
Merge pull request #7343 from spycrab/qt_bp_fix
...
Qt/Debugger: Readd title bar to breakpoint widget
2018-08-19 08:41:36 -04:00
Pierre Bourdon
0fdb6f4267
Merge pull request #7249 from yourWaifu/discord-rpc-join
...
Add Discord Join Net Play functionally
2018-08-19 13:43:33 +02:00
spycrab
27bc9046e7
Qt/Debugger: Readd title bar to breakpoint widget
...
Removed it by accident in #7299
2018-08-19 13:37:59 +02:00
spycrab
12a5fd80bd
Merge pull request #7299 from spycrab/qt_compact
...
Qt/Debugger: Make spacing more compact
2018-08-17 15:28:03 +02:00
spycrab
8e5c3d5b4e
Merge pull request #7326 from spycrab/qt_tas_fancy
...
Qt/TAS: Enable antialiasing for Stick/IR widgets
2018-08-15 19:46:56 +02:00
spycrab
8d184ab9bd
Qt/Debugger: Make spacing more compact
2018-08-15 19:26:04 +02:00
spycrab
6d56b03304
Merge pull request #7325 from spycrab/qt_tas_reset
...
Qt/TAS: Implement recentering feature
2018-08-15 13:07:58 +02:00
spycrab
fb382e90eb
Merge pull request #7324 from spycrab/qt_independent_tas
...
Qt/TAS: Make TAS input windows independent
2018-08-15 01:51:26 +02:00
master0fdisaster
0d79e8a2ca
Qt: Config/Advanced: Fix CPU Clock Speed Slider
...
Changes rounding from ceiling to nearest, when updating the slider value. Using ceiling as rounding made some values inaccessible.
2018-08-14 17:22:30 +02:00
master0fdisaster
1544d7d681
Qt: Config/Interface: Fix "Show Active title in Window Title" Checkbox
...
Makes the checkbox save when it's toggled.
2018-08-14 17:22:30 +02:00
master0fdisaster
bc3cc01cc9
Qt: Config/Interface: Fix User Style Drop Down
...
makes the user style drop down load the right custom style after a restart
2018-08-14 17:21:50 +02:00
Sleepy Flower Girl
158c0d54b1
Force IPv4 on external IP addresses
2018-08-13 21:17:38 -04:00
spycrab
1c793503b1
Qt/TAS: Implement recentering feature
2018-08-13 23:34:25 +02:00
spycrab
55c608b482
Qt/TAS: Enable antialiasing for Stick/IR widgets
2018-08-13 15:05:30 +02:00
spycrab
9739ad9f48
Qt/TAS: Make TAS input windows independent
2018-08-13 14:15:09 +02:00
spycrab
159d5a6925
Qt/MappingButton: Fix crash when exiting during input detection
2018-08-11 17:37:12 +02:00
Pierre Bourdon
55fa4842fb
Merge pull request #7307 from booto/qsortfilter-strict-weak
...
GameList: QSortFilterProxyModel should provide strict weak ordering
2018-08-11 02:57:36 +02:00
JosJuice
2a2a2cfc5e
DolphinQt: Don't call "frame advance" "frame skip"
...
Just to avoid confusion.
2018-08-09 10:32:32 +02:00
booto
aef446697d
GameList: QSortFilterProxyModel should provide strict weak ordering
2018-08-08 23:59:58 -04:00
spycrab
ddf09a0841
Merge pull request #7298 from spycrab/usb_keyboard_hotkey
...
Hotkeys: Add "Toggle USB Keyboard" hotkey
2018-08-07 07:47:20 +02:00
Sleepy Flower Girl
c2aedb7649
Adds a UI for accepting Discord join requests in Dolphin
...
also did these things
fixed crash from joining user that isn't hosting via a direct connection
current game stat can now pass to override the current game in config
uses ip endpoint from dolphin.org
2018-08-06 16:12:03 -04:00
Stenzek
dca1096664
DolphinQt: Add .dff to open file filter
2018-08-03 17:39:17 +10:00
spycrab
cf116d488a
Merge pull request #7268 from lioncash/config
...
Core/BootManager: Remove unnecessary includes
2018-08-02 23:17:03 +02:00
spycrab
e3f36b74c5
Hotkeys: Add "Toggle USB Keyboard" hotkey
2018-08-02 12:55:30 +02:00
Sleepy Flower Girl
b7c241ea4c
Add Discord Join Net Play functionally
2018-07-31 22:24:10 -04:00
spycrab
6af7c1fe27
Merge pull request #7273 from Techjar/qt-iowindow-detect-spaces
...
Qt/IOWindow: Fix detection of button names containing non-alphabetical characters
2018-07-30 11:58:47 +02:00
spycrab
81c3400681
Merge pull request #7269 from lioncash/qt
...
DolphinQt/MainWindow: Replace includes with forward declarations
2018-07-30 11:56:31 +02:00
spycrab
2a776bf2b6
Merge pull request #7258 from Techjar/netplay-fix-segfaults
...
Fix more segfaults on NetPlay quit
2018-07-30 11:52:38 +02:00
spycrab
7c2569ada7
Merge pull request #7283 from Techjar/netplay-improve-settings-sync
...
NetPlay: Improve settings synchronization and UI
2018-07-30 11:47:48 +02:00
spycrab
8fb3085b07
Revert "Revert "Qt/GameList: Add option to show covers in grid mode""
2018-07-30 03:16:37 +02:00
Pierre Bourdon
9b94c76f81
Revert "Qt/GameList: Add option to show covers in grid mode"
2018-07-28 03:03:21 +02:00
spycrab
5ade5f4fe7
Qt/GameList: Add option to show covers in grid mode
2018-07-27 11:14:24 +02:00
Techjar
7036299a92
NetPlay: Improve settings synchronization and UI
...
Most settings which affect determinism will now be synced on NetPlay.
Additionally, there's a strict sync mode which will sync various
enhancements to prevent desync in games that use EFB reads.
This also adds a check for all players having the IPL.bin file, and
doesn't load it for anyone if someone is missing it. This prevents
desyncs caused by mismatched system fonts.
Additionally, the NetPlay window was getting too wide with checkboxes,
so FlowLayout has been introduced to make the checkboxes take up
multiple rows dynamically. However, there's some minor vertical
centering issues I haven't been able to solve, but it's better than a
ridiculously wide window.
2018-07-26 17:23:04 -04:00
Techjar
cfeffdcf42
Fix more segfaults on NetPlay quit
...
Basically everything here was race conditions in Qt callbacks, so I changed the client/server instances to std::shared_ptr and added null checks. It checks that the object exists in the callback, and the shared_ptr ensures it doesn't get destroyed until we're done with it.
MD5 check would also cause a segfault if you quit without cancelling it first, which was pretty silly.
2018-07-21 00:04:14 -04:00
spycrab
d6833cb217
Merge pull request #7279 from Techjar/qt-macos-iowindow
...
Qt/IOWindow: Don't set QSizePolicy::Expanding on macOS
2018-07-21 02:16:46 +02:00
Techjar
4407854e9c
NetPlay save data synchronization
...
This adds the functionality of sending the host's save data (raw memory
cards, as well as GCI files and Wii saves with a matching GameID) to
all other clients. The data is compressed using LZO1X to greatly reduce
its size while keeping compression/decompression fast. Save
synchronization is enabled by default, and toggleable with a checkbox
in the NetPlay dialog.
On clicking start, if the option is enabled, game boot will be delayed
until all players have received the save data sent by the host. If any
player fails to receive it properly, boot will be cancelled to prevent
desyncs.
2018-07-19 18:09:20 -04:00
Mat M
bcdffdfe63
Merge pull request #7280 from Techjar/qt-cheats-manager-crash
...
Qt/CheatsManager: Fix segfault in GenerateARCode
2018-07-18 18:05:45 -04:00
Techjar
3cee7d599b
Qt/CheatsManager: Fix segfault in GenerateARCode
2018-07-18 17:56:31 -04:00
Techjar
44aa3cdc0f
Qt/IOWindow: Don't set QSizePolicy::Expanding on macOS
2018-07-17 14:35:56 -04:00
cremno
4ad2153378
fix compilation w/o Discord Rich Presence
2018-07-17 12:03:41 +02:00
Techjar
f37813d8b6
Qt/IOWindow: Fix detection of button names containing non-alphabetical characters
...
The button wouldn't be highlighted in the list, as it would look for something like `Click 1` instead of Click 1.
2018-07-16 18:59:23 -04:00
Lioncash
a9003aadc6
DolphinQt/MainWindow: Replace includes with forward declarations
...
Reduces the amount of dependencies dragged in by the main window's
header. This also removes MainWindow.h includes elsewhere where they
aren't necessary, reducing the amount of UI files that need to be
recompiled if the main window's header changes.
2018-07-15 18:46:26 -04:00
Lioncash
71de1abd88
Core/BootManager: Remove unnecessary includes
...
Lessens the amount of files that have to be recompiled if
ConfigManager.h is modified. This also removes an indirect inclusion
within DolphinQt/Main.cpp.
2018-07-14 23:16:23 -04:00
spycrab
d438e80bfd
Qt/GeneralPane: Disable Rich Presence checkbox while emulation is running
...
Works around core hanging when Discord Rich Presence is toggled
while emulation is running.
2018-07-14 23:39:06 +02:00
spycrab
e9158bae6f
Qt/LogWidget: Fix messages not being escaped properly
2018-07-14 23:06:18 +02:00
spycrab
4826acd931
Merge pull request #7260 from spycrab/qt_fix_lazy
...
Qt/GraphicsWindow: Fix lazy initialisation bugs
2018-07-13 13:07:30 +02:00
spycrab
c8af83202a
Qt/GraphicsWindow: Fix lazy initialisation bugs
2018-07-13 12:38:21 +02:00
spycrab
cc6526f553
Merge pull request #6222 from iwubcode/emulated_input_improvements
...
Emulated wii input improvements
2018-07-12 20:36:53 +02:00
spycrab
55b5a24910
Merge pull request #7244 from lioncash/error
...
Qt/MenuBar: Make failures to load map and signature files more obvious
2018-07-12 19:41:36 +02:00
spycrab
92f397d0fa
Merge pull request #7255 from Techjar/qt-netplay-message-color
...
[RFC] Qt/NetPlayDialog: Change own chat message color to better suit dark themes
2018-07-12 17:42:55 +02:00
spycrab
9ab489aab8
Qt/NetPlayDialog: Show alerts when events happen
...
Displays an alert when you receive a message or a player joins / leaves
2018-07-12 17:33:12 +02:00
Techjar
d85dd287cf
Qt/NetPlayDialog: Change own chat message color to better suit dark themes
2018-07-12 06:34:14 -04:00
spycrab
df5d1cf13a
Merge pull request #7233 from Techjar/qt-jit-branch-menu
...
Qt/MenuBar: Add missing JIT branch option in debugger
2018-07-11 11:27:00 +02:00
spycrab
c04b07674e
Merge pull request #7243 from Ebola16/SU
...
Qt: Clarify Synchronous (Ubershaders) name
2018-07-11 10:59:25 +02:00
spycrab
c7ff141606
Merge pull request #7219 from ligfx/mappingwindow_hotplug
...
Qt/MappingWindow: update devices combo box when hotplugging devices
2018-07-11 10:58:26 +02:00
spycrab
ea99cdd781
Merge pull request #7247 from lioncash/fwd
...
Qt/GameList: Replace includes with forward declarations where applicable
2018-07-11 10:57:02 +02:00
spycrab
d81b63f403
Merge pull request #7245 from lioncash/internal
...
Qt/CheatsManager: Move concealable types into the cpp file
2018-07-11 10:55:42 +02:00
spycrab
f170009aad
Merge pull request #7246 from lioncash/enum
...
Qt/Resources: Convert int parameters of GetCountry(), GetPlatform() and GetMisc() to enum classes
2018-07-11 10:52:04 +02:00
spycrab
42298f6d6d
Merge pull request #7239 from addestroyer24/manual-update-now
...
Updater: fix immediate manual updating
2018-07-11 00:58:21 +02:00
Lioncash
9b2ffb6221
Qt/GameList: Replace includes with forward declarations where applicable
...
Avoids dragging in a bunch of includes from the header files, and also
reduces the amount of files that need to be recompiled if one of those
included headers' source content is ever changed.
2018-07-10 16:03:38 -04:00
Lioncash
a0642b3b00
Qt/Resources: Convert int parameters of GetCountry(), GetPlatform() and GetMisc() to enum classes
...
Makes the parameter strongly-typed and doesn't accept arbitrary int
values.
2018-07-10 15:23:12 -04:00
Lioncash
43bc3656eb
Qt/CheatsManager: Move concealable types into the cpp file
...
CompareType, DataType, and Result aren't directly used externally, so
these can have their definitions moved into the cpp file.
2018-07-10 14:34:24 -04:00
spycrab
71ff634c95
Merge pull request #7149 from spycrab/qt_5.9
...
Qt: Make Qt 5.9 a hard requirement
2018-07-10 20:20:27 +02:00
Lioncash
74899e417b
Qt/MenuBar: Make failures to load map and signature files more obvious
...
Previously we wouldn't indicate if saving or loading these files
happened to fail. In some cases we'd only print out to the logger, but
this is a pretty poor way to tell a user of the interface that something
went wrong in a direct way (the logging messages aren't able to be localized
either).
2018-07-10 14:16:00 -04:00
Ryan Meredith
affd5689ff
Qt: Clarify Synchronous (Ubershaders) name
2018-07-10 12:22:21 -04:00
spycrab
b9960777a7
Merge pull request #7236 from lioncash/fwd
...
DolphinQt/Settings: Replace includes with forward declarations
2018-07-10 16:24:33 +02:00
Zac Davidsen
69999fd309
fix manual updating by passing the main window to the updater instead of the menubar
2018-07-09 19:39:50 -04:00
spycrab
4f5ea1ad5e
Merge pull request #7232 from Techjar/netplay-reduce-poll-rate-twice
...
NetPlay: Change "Reduce Polling Rate" to poll twice per frame
2018-07-09 23:29:22 +02:00
spycrab
074b67706b
Qt/Main: Remove redundant version check
2018-07-09 10:03:13 +02:00
spycrab
a22ffb6387
Qt: Remove ActionHelper
2018-07-09 10:02:10 +02:00
spycrab
4266d1f237
CMake: Require Qt 5.9
2018-07-09 09:17:33 +02:00
Lioncash
b4d91cc612
DolphinQt/Settings: Replace includes with forward declarations
...
Avoids dragging in netplay-related headers where they aren't explicitly
necessary.
2018-07-09 00:53:13 -04:00
Mat M
9487892c18
Merge pull request #7226 from lioncash/netplay
...
Core: Namespace NetPlay utilities under the NetPlay namespace
2018-07-09 00:38:12 -04:00
Techjar
2ee7021cda
Qt/MenuBar: Add missing JIT branch option in debugger
2018-07-08 14:32:40 -04:00
Techjar
38e67c0530
NetPlay: Change "Reduce Polling Rate" to poll twice per frame
...
Some games don't play nice when we poll only once per frame, so we'll poll twice instead.
2018-07-08 06:14:13 -04:00
spycrab
8c97fb7cd4
Merge pull request #7203 from rukai/use_tas_checkbox
...
Add "Enable Controller Input" Checkbox on TAS dialogs
2018-07-08 04:35:50 +02:00
iwubcode
3b11066e61
Fix lint bugs
2018-07-07 13:02:38 -05:00
iwubcode
14482a72af
Input: Allow cycling to occur for each individual controller
2018-07-07 12:55:49 -05:00
iwubcode
485285eadc
Input: Add cycling between game specific profiles
2018-07-07 12:39:08 -05:00
iwubcode
3969bf6d1c
Input: Add hotkey to cycle the wiimote profile forward or backward
...
Co-authored-by: Barath Kannan <barathsotd@gmail.com>
2018-07-07 12:39:08 -05:00
spycrab
7b986c1b54
Merge pull request #7224 from lioncash/warning
...
VideoCommon/DolphinQt2: Resolve compiler warnings
2018-07-07 16:20:56 +02:00
Rukai
b94262ec33
Add 'Enable Controller Input' checkbox to TAS dialogs
...
When disabled only inputs from TAS dialog are used.
When enabled inputs from TAS dialog are used, except when a change in
input is detected from a real controller, in this case the TAS value is
replaced with the real controller value.
2018-07-07 22:55:42 +10:00
Michael M
e7cbee235c
Convert Dolphin.Core.DefaultISO to use new-style config
2018-07-06 19:28:19 -07:00
Michael M
ce98a9c71d
Qt/MappingWindow: update devices combo box when hotplugging devices
2018-07-06 17:15:30 -07:00
Michael M
b689a195ff
Qt: add Settings::DevicesChanged signal
2018-07-06 17:15:29 -07:00
Lioncash
ef35f93cbd
DolphinQt/PatchesWidget: Remove unused private member variable m_game
...
This resolves a -Wunused-private-field warning
2018-07-06 19:58:51 -04:00
Lioncash
935a273cf1
DolphinQt/GameTracker: Remove unused lambda capture in constructor
...
This resolves a -Wunused-lambda-capture warning
2018-07-06 19:58:31 -04:00
Lioncash
675260b0f7
Core: Namespace NetPlay utilities under the NetPlay namespace
...
Previously there was only one function under the NetPlay namespace,
which is kind of silly considering we have all of these other types
and functions existing outside of the namespace.
This moves the rest of them into the namespace.
This gets some general names, like Player, for example, out of the global namespace.
2018-07-06 19:53:23 -04:00
spycrab
13ba24c5a6
Move DolphinQt2 to DolphinQt
2018-07-07 00:48:38 +02:00
Anthony Serna
2ee84a20fe
[UI] Remove DolphinQt
2016-01-05 19:42:02 -06:00
JosJuice
03b4e16e0e
DolphinQt: Attempt at fixing issue 9170
2015-12-17 21:49:28 +01:00
JosJuice
a0cd753060
Don't read from volume when reloading Wii banners
...
Should make loading cached Wii games that lack banners slightly faster.
2015-12-03 17:29:59 +01:00
Scott Mansell
5a1729877e
Merge pull request #3211 from JosJuice/themes-to-resources
...
Move nobanner and fileplatform from Themes to Resources
2015-11-27 23:47:44 +13:00
JosJuice
9b2fe62bc9
Move nobanner and fileplatform from Themes to Resources
...
fileplatform is moved so it's in the same place as the other platform
icons, and nobanner is moved just because it fits better in Resources.
Both of them were identical in all of Dolphin's themes.
2015-11-27 11:09:20 +01:00
JosJuice
4249d9ef77
ISOFile/GameFile: Simplify IsElfOrDol
2015-11-27 10:50:19 +01:00
waddlesplash
4acd90d570
DolphinQt: Get rid of unneeded abbreviation macros.
2015-11-25 23:16:54 -05:00
Scott Mansell
ffb9722f2d
Merge pull request #3032 from waddlesplash/dolphin-qt
...
Lots more minor DolphinQt stuffs.
2015-11-23 21:45:28 +13:00
Mathew Maidment
34bfb1bd0e
Merge pull request #3263 from JosJuice/isofile-gamefile-includes
...
ISOFile/GameFile: Clean up includes
2015-11-15 22:15:03 -05:00
JosJuice
eeda056490
ISOFile/GameFile: Clean up includes
2015-11-15 17:15:16 +01:00
JosJuice
f6d25b2634
DolphinQt: Fix typo of return m_blob_type;
2015-11-15 12:57:28 +01:00
James Cowgill
386159c74e
Remove uses of __DATE__ and __TIME__
2015-11-14 00:52:41 +00:00
JosJuice
bef3feba6f
DolphinQt: Add international flag to Resources
...
It exists since 93e46631
.
2015-11-02 16:06:27 +01:00
Christian Widmer
1dd4c93f0c
DolphinQt: Install binary for systems not matching APPLE
2015-10-09 11:11:41 +02:00
Scott Mansell
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
JosJuice
be7e0554d2
DiscIO: Add a way to get blob type
2015-09-27 20:54:31 +02:00
waddlesplash
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
JosJuice
6935d28112
Display all compressed formats in blue in GUI
...
In the past, only GCZ was shown as compressed, not CISO and WBFS.
2015-09-26 15:24:29 +02:00
JosJuice
94ee720a07
Rename IsCompressedBlob to IsGCZBlob for clarity
...
GCZ is just one of the several compressed formats that Dolphin supports.
2015-09-26 14:46:53 +02:00
Lioncash
4b9b82e000
DiscIO: Do swapping in GetTitleID implementations
...
Gets rid of external swaps at every usage.
2015-09-22 13:50:35 -04:00
waddlesplash
f5743f5ee9
DolphinQt: Handle the Host_UpdateTitle callback.
2015-09-13 09:37:00 -04:00
waddlesplash
7c91669ced
DolphinQt: Updates to the SystemInfo dialog.
...
* Windows 8.1/10 & OS X .10/.11 constants now in Qt
* idealThreadCount() includes hyperthreads, so say 'logical processors'
2015-09-13 09:33:32 -04:00
waddlesplash
7c2f22fd0c
DolphinQt: Use C++11 'final' keyword where applicable.
2015-09-13 09:33:30 -04:00
waddlesplash
11c641ed90
DolphinQt: Set the SUBSYSTEM in Release mode to 'Windows' to hide the console.
2015-09-13 09:33:28 -04:00
waddlesplash
0e2ea1ba64
DolphinQt: Remove '&' on closures where it isn't needed.
2015-09-13 09:33:26 -04:00
waddlesplash
7c13021627
DolphinQt: Add 'Screenshot' button.
2015-09-13 09:33:24 -04:00
waddlesplash
db8b50cf7e
DolphinQt: Indentation fixes.
2015-09-13 09:33:22 -04:00
waddlesplash
831d8ef13f
DolphinQt: Properly handle quit events.
...
* Confirm stopping emulation when the window is closing, not just the "Stop" button
* Don't resume if we were already paused when we got the quit event
* Shutdown the core at the end of main() so we don't crash on exit
* Miscellaneous other logic cleanups related to this
2015-09-13 09:32:09 -04:00
waddlesplash
436f1133dd
DolphinQt: Simplify action setup.
...
We don't need two sets of actions (one with icons, one without icons)
for Play/Stop, we can just tell Qt not to display the icons in the menus.
2015-09-12 11:24:00 -04:00
Lioncash
5db4a60995
Merge pull request #2993 from JosJuice/dol-elf-qt
...
DolphinQt: Support ELF and DOL files in the game list
2015-09-12 00:38:51 -04:00
Lioncash
4de2bd3be4
Merge pull request #2833 from waddlesplash/dolphin-qt
...
DolphinQt: Rewrite 'About' dialog to match the new WX one.
2015-09-12 00:38:05 -04:00
Lioncash
4643da73a3
Merge pull request #3021 from waddlesplash/dolphin-qt-fixup
...
DolphinQt: Use more C++11, add more sanity to VS projects.
2015-09-12 00:36:35 -04:00
Scott Mansell
ee7285a1db
Merge pull request #3008 from Lionel07/qt-screensaver
...
Qt: Disable Display Sleep when game is running (Windows)
2015-09-12 16:13:51 +12:00
Scott Mansell
2c67ad88cd
Merge pull request #3023 from JosJuice/qt-pixmaps
...
DolphinQt: Bring pixmaps up to date with DolphinWX and themes
2015-09-12 16:13:35 +12:00
Corwin Mcknight
b2e4019383
DolphinQt: Disable Display Sleep on Windows.
...
Disables Display Sleeping on Windows on DolphinQt while the game runs,
and re-enables it after the game closes.
2015-09-11 16:06:59 -07:00
JosJuice
cb496994e3
DolphinQt: Bring pixmaps up to date with DolphinWX and themes
...
Also removed PLUGIN from names because there aren't actually any plugins.
2015-09-11 16:13:18 +02:00
JosJuice
ec8ede2600
DolphinQt: Support XML metadata in Homebrew Channel format
2015-09-11 16:02:39 +02:00
JosJuice
3e6d62ae9e
DolphinQt: Support banners in Homebrew Channel format
...
HBC uses files named icon.png for icons. This change makes Dolphin
support that file name, and also [executable file name].png
in case someone wants to have multiple files in one folder.
The HBC banner support is mainly intended for DOL and ELF files,
but it can also be used to override banners of disc images,
something that wasn't possible in the past.
That sure was simple compared to the wx version of this commit...
2015-09-11 16:02:38 +02:00
JosJuice
047ddb94a2
DolphinQt: Support ELF and DOL files in the game list
2015-09-11 16:02:14 +02:00
waddlesplash
c75fd4d7c5
DolphinQt: Add some sanity to the VS projects.
2015-09-10 23:49:20 -04:00
waddlesplash
8fbf70ec55
DolphinQt: Make use of the C++11 signal/slot connection syntax.
...
Also use lambdas over one-line functions in some cases.
2015-09-10 23:31:40 -04:00
waddlesplash
0c1671973c
DolphinQt: Rewrite About dialog to match the new DolphinWX one.
2015-09-10 23:02:47 -04:00
Lioncash
4fc71e9708
Common: Remove StdMakeUnique.h
2015-09-06 04:09:53 -04:00
Shawn Hoffman
399083ac8a
Drop the old msvcrt files.
2015-09-03 06:10:01 -07:00
Shawn Hoffman
aa7208e270
[windows] Update projects to vs2015.
2015-09-03 04:23:01 -07:00
comex
acd6cb79a4
Fix DoFileSearch returning the passed-in directories themselves.
...
Fixes https://code.google.com/p/dolphin-emu/issues/detail?id=8697&can=3
2015-06-21 16:07:56 -04:00
JosJuice
a7d374bcb9
Cache games without banners
...
Games without banners were not cached before, because a banner could
become available at any time, making the cache outdated without it
becoming invalidated. Instead of not caching anything, this change makes
Dolphin check for a banner every time a cache that lacks a banner is read.
This is faster than reading all metadata, because reading a Wii banner
only reads from the game's save file, not the volume and its filesystem.
The cache revision is incremented, because otherwise banners will be
missing if a cache without a banner is created in the new version and
the user switches to an old version and creates a savefile.
2015-06-14 12:23:48 +02:00
JosJuice
8793f7c325
DolphinQt: Store GameFile banner as empty if missing
2015-06-14 12:23:41 +02:00
JosJuice
01e324eed0
Move GetCompany() to ISOFile.h/GameFile.h
...
For consistency with the other Get methods.
2015-06-13 18:43:10 +02:00
degasus
c375111076
Options: merge SCoreStartupParameter into SConfig
2015-06-12 19:07:45 +02:00
comex
9ed7e3bd3e
Merge pull request #2536 from endrift/deploy-mac
...
Tools: Use non-CMake tool for fixing up OS X bundles
2015-06-08 17:33:17 -07:00
JosJuice
04de064732
DolphinQt: Use short GC game titles in grid view
...
Short titles fit better than long titles.
2015-06-08 12:04:51 +02:00
JosJuice
ec0370d2d1
Volume: Add prefer_long parameter to GetNames
...
GC games with long names store two variations of the name in
opening.bnr. This makes the shorter of those names available.
For volumes other than GC discs, prefer_long is ignored.
2015-06-08 12:00:34 +02:00
Jeffrey Pfau
c1c472958e
Tools: Use non-CMake tool for fixing up OS X bundles
2015-06-06 12:44:47 -07:00
JosJuice
0ed3118141
Volume: Return volume type as an enum
...
ISOFile and GameFile were using IsWiiDisc() and IsWadFile() to set
an enum value. The volume might as well return an enum directly.
I increased the Qt CACHE_REVISION because m_platform now is saved as u32
instead of int, but increasing the wx CACHE_REVISION is not necessary.
2015-06-04 16:26:36 +02:00
comex
349f9d5493
Merge pull request #2484 from JosJuice/volume-return-types
...
Volume: Use more appropriate types for some returned values
2015-06-02 20:29:08 -04:00
JosJuice
301218a103
Volume: Use more appropriate types for some returned values
...
Disc number is changed from bool to u8, and revision is changed from
int to u16 (WADs can use all 16 bits, but discs can only use 8 bits).
2015-05-29 21:14:02 +02:00
comex
dc91e8b607
Add a mode to use a dummy Wii NAND.
...
Eventually, netplay will be able to use the host's NAND, but this could
still be useful in some cases; for TAS it definitely makes sense to have
a way to avoid using any preexisting NAND.
In terms of implementation: remove D_WIIUSER_IDX, which was just WIIROOT
+ "/", as well as some other indices which are pointless to have as
separate variables rather than just using the actual path (fixed, since
they're actual Wii NAND paths) at the call site. Then split off
D_SESSION_WIIROOT_IDX, which can point to the dummy NAND directory, from
D_WIIROOT_IDX, which always points to the "real" one the user
configured.
2015-05-28 19:14:42 -04:00
comex
a225426510
Rewrite FileSearch and improve ScanDirectoryTree.
...
- FileSearch is now just one function, and it converts the original glob
into a regex on all platforms rather than relying on native Windows
pattern matching on there and a complete hack elsewhere. It now
supports recursion out of the box rather than manually expanding
into a full list of directories in multiple call sites.
- This adds a GCC >= 4.9 dependency due to older versions having
outright broken <regex>. MSVC is fine with it.
- ScanDirectoryTree returns the parent entry rather than filling parts
of it in via reference. The count is now stored in the entry like it
was for subdirectories.
- .glsl file search is now done with DoFileSearch.
- IOCTLV_READ_DIR now uses ScanDirectoryTree directly and sorts the
results after replacements for better determinism.
2015-05-28 19:14:42 -04:00
Ryan Houdek
f706518dc0
Merge pull request #2390 from darkengine-io/new-qt
...
More miscellaneous Qt fixes
2015-05-25 23:45:21 -04:00
Ryan Houdek
4ba430951a
Merge pull request #2439 from JosJuice/company-from-id
...
Use an ID-to-name map when volume has no company string
2015-05-25 23:32:55 -04:00
Tillmann Karras
cefcb0ace9
Update license headers to GPLv2+
2015-05-25 13:22:31 +02:00
JosJuice
d2e6adb045
Use an ID-to-name map when volume has no company string
...
This is written so that the result of GetCompanyFromID never is cached
(except on Android?). Caching is unnecessary because the string can be
obtained quickly at runtime, and not caching it means that the cache
doesn't have to be invalidated when GetCompanyFromID is edited.
2015-05-24 17:41:53 +02:00
Simon McFarlane
66e337a19f
Qt: add proper keyboard shortcuts from wx
2015-05-10 13:57:45 -07:00
Simon McFarlane
64cf6d167f
Qt: Make 'About Qt' action actually open the about box
2015-05-10 13:57:45 -07:00
Simon McFarlane
406270bcf9
Qt: resize main window to fit render
2015-05-10 13:57:45 -07:00
Simon McFarlane
6474616c83
Qt: Prevent crash when closed by the window manager
2015-05-10 13:57:44 -07:00
Lioncash
76bbd46829
Core: Remove some header inclusions in header files
...
Replaces them with forward declarations of used types, or removes them entirely if they aren't used at all. This also replaces certain Common headers with less inclusive ones (in terms of definitions they pull in).
2015-05-08 22:38:59 -04:00
shuffle2
6fe2ab7fbf
Merge pull request #2359 from darkengine-io/new-qt
...
DolphinQt updates
2015-05-07 18:34:42 -07:00
Simon McFarlane
6c6fe8d724
QT: Add reset button
2015-05-07 12:37:19 -07:00
Simon McFarlane
5988750fe4
QT: Add Play/Pause to Emulation menu
2015-05-07 12:37:19 -07:00
Simon McFarlane
29a9c24b73
QT: Add ISO folder browser
2015-05-07 12:37:18 -07:00
Simon McFarlane
629f45f1a5
QT: add exit function
2015-05-05 17:58:21 -07:00
comex
6414cdabb2
Merge pull request #2286 from JosJuice/wii-opening-bnr
...
Read opening.bnr to get names from Wii discs
2015-05-05 16:20:04 -04:00
JosJuice
ee694e327a
Get rid of banner loaders and move their functionality to volumes
...
Having some data available in banner loaders and some other data
data available in volumes gets messy, especially with GetNames(),
which is available in both but returns different results
depending on which one is used. This change drops support
for reading names and descriptions from Wii save data.
2015-04-28 23:44:29 +02:00
Rohit Nirmal
10aa6488d9
Qt: Check if game filename is null before loading.
...
This is so that the error message box does not
appear if the user simply cancels loading a game.
2015-04-26 11:13:16 -05:00
JosJuice
235ecfbed7
Return GetNames languages, to avoid hardcoded language lists in callers
...
This makes the code cleaner and also leads to some user-visible changes:
The wx game properties will no longer let the user
select WAD languages that don't have any names.
The Qt game list will now display names using the languages
set in the configuration instead of always using
English for PAL GC games and Japanese for WADs.
If a WAD doesn't have a name in the user's preferred language,
English is now selected as a fallback before Japanese.
2015-04-23 08:14:39 +02:00
JosJuice
9e4eefc6fd
DolphinQt: Sort game list by ascending title order by default
2015-04-11 16:44:35 +02:00
Stevoisiak
7c1ab2911a
Move down Country_World
...
The countries are sorted alphabetically. This should have been changed
when the variable was renamed from Country_International to
Country_World
2015-04-08 18:55:16 -04:00
Buddybenj
fb0d3a9756
Change Wording in Help Menu
...
"Dolphin at GitHub" doesn't make much sense IMO. We could also make it say "Source Code" or "Dolphin on GitHub".
I also changed "Dolphin Website" to make it consistent with the Qt version.
2015-04-01 18:08:26 -05:00
skidau
1dcd0ad879
Merge pull request #2129 from Sonicadvance1/shuffle_user_dir
...
Move user directory detection location to UICommon.
2015-02-27 14:07:06 +11:00
Stevoisiak
93b16a4a2d
Formatting/Whitespace Cleanup
...
Various fixes to formatting and whitespace
2015-02-25 10:48:21 -05:00
Ryan Houdek
db06f058e4
Move user directory detection location to UICommon.
...
The UI should decide on where it wants the user directory, not our core system.
This is in anticipation of some upcoming work on Android which will need proper user directory setting.
2015-02-25 03:31:59 -06:00
skidau
793abccb5e
Merge pull request #1942 from Buddybenj/No-Intro
...
Replace Country Names With No-Intro Names
2015-02-23 12:56:28 +11:00
Markus Wick
95c48b2be7
Merge pull request #2018 from JosJuice/gameini-region-wildcard
...
Support game INIs that match all regions
2015-02-21 15:47:57 +01:00
Buddybenj
265a21a565
Replace Country Names With No-Intro Names
2015-02-17 18:50:10 -06:00
Pierre Bourdon
4ceae57713
Merge pull request #2015 from Stevoisiak/WAD-Version-Check
...
VolumeWad: Return version number for WADs
2015-02-13 22:09:30 +01:00
JosJuice
f9d6c17c08
Use CoreParameter's game INI functions in more places
2015-02-11 19:01:05 +01:00
magumagu
0f96a0104e
Merge pull request #1752 from Buddybenj/clean-up
...
Clean Up
2015-02-10 11:39:14 -08:00
Stevoisiak
b578abfbaa
VolumeWad: Return version number for WADs
2015-02-05 11:27:57 -05:00
Lioncash
b1547b9c8b
Use unique_ptr for some IVolume instances
2015-01-29 21:33:19 -05:00
Pierre Bourdon
1e809d9c11
Revert "Merge pull request #1903 from RisingFog/libav"
...
This reverts commit 34079a0037
, reversing
changes made to 3274df7158
.
2015-01-26 02:35:29 +01:00
Benjamin Przybocki
4f324ad742
Clean Up
2015-01-24 17:10:21 -06:00
Fog
6cad635bd8
Use ffmpeg for Windows Video Dumping instead of VFW
2015-01-21 19:47:45 -05:00
Ryan Houdek
e4b04c64f0
Merge pull request #1870 from Stevoisiak/countryFilters
...
Country filter fixes/consistency
2015-01-21 13:48:35 -06:00
Ryan Houdek
f9fc9d47c0
Merge pull request #1895 from JosJuice/isvolumewiidisc
...
Don't read from disk when checking volume type
2015-01-21 13:45:28 -06:00
JosJuice
ace060748b
Don't read from disk when checking volume type
...
Should be faster than relying on the OS to cache the magic words.
Also gets rid of the odd recursive call in VolumeDirectory.
2015-01-17 13:21:02 +01:00
Ryan Houdek
0a3cb35320
Merge pull request #1688 from waddlesplash/dolphin-qt
...
DolphinQt: remove non-render-to-main and add fullscreen.
2015-01-14 13:56:37 -06:00
Matthew Parlane
b3474c8218
Merge pull request #1796 from Stevoisiak/cacheRevisionNote
...
Added CACHE_REVISION warnings
2015-01-13 08:36:50 +13:00
Stevoisiak
e871add5f5
Country filter fixes/consistency
2015-01-11 00:39:53 -05:00
Stevoisiak
fe49427688
Additional CACHE_REVISION increment warnings
...
GameFile.cpp warnings for DolphinQt,
ISOFile.cpp warnings for DolphinWX
2015-01-11 00:25:36 -05:00
Tillmann Karras
4d1face540
Fix indentation
2015-01-07 21:51:47 +01:00
Markus Wick
25fac0282c
Merge pull request #1764 from Armada651/safe-exclusive
...
D3D: Only try to apply exclusive mode when the renderer is in focus.
2015-01-06 11:00:47 +01:00
Jules Blok
b7e056c74d
Host: Add Host_RendererIsFullscreen().
2015-01-04 17:09:56 +01:00
Tillmann Karras
6bcdb10eee
CMake: simplify some expressions
2015-01-03 13:17:57 +01:00
Augustin Cavalier
d857306190
DolphinQt: remove non-render-to-main and add fullscreen.
2014-12-24 14:28:46 -05:00
Rohit Nirmal
2997689d08
DolphinQt: Silence -Wshadow warnings.
2014-12-09 10:36:16 -06:00
Lioncash
799b557e21
Merge pull request #1673 from Stevoisiak/Cache_Revision-Comment
...
Specified where to find CACHE_REVISION
2014-12-08 12:26:31 -05:00
Steven Vascellaro
aeae285c8d
Specified where to find CACHE_REVISION
2014-12-08 12:00:11 -05:00
Augustin Cavalier
726b50e06e
Fix HiDPI loading logic.
2014-12-02 09:45:00 -05:00
Augustin Cavalier
a5cfe85c8d
Support HiDPI flags & rating images.
...
There aren't any yet, it's up to up to Stevoisiak and MaJoR to create
them :)
2014-12-02 09:44:56 -05:00
Augustin Cavalier
320c5f2545
Cast the result of GetSize() to "unsigned long long".
...
Squelches a warning on Mac OS X.
2014-12-02 09:44:52 -05:00
Augustin Cavalier
43473e09d1
Implement the "Rating" column.
...
Looks like I forgot to do this...
2014-12-02 09:44:47 -05:00
Augustin Cavalier
1d4b3a90eb
Micro-optimize RenderWidgetHasFocus().
2014-12-02 09:44:31 -05:00
Augustin Cavalier
74291017e5
SystemInfo: various cleanup.
...
* Rename the copy slot to match naming convention elsewhere
* Remove the Mac 10.7/10.8 detection as we don't support it now
2014-11-26 15:40:38 -05:00
Augustin Cavalier
59c4ccfa75
GameGrid: enable uniform item sizes.
...
Looks much nicer this way.
2014-11-26 15:37:12 -05:00
Augustin Cavalier
9180257c4a
"Gamelist view style" -> "List style"
...
* Cleaner & more concise.
* Also add some "Alt" shortcuts
2014-11-26 15:32:55 -05:00
Augustin Cavalier
ca8316ac54
Remove note about reusing the render widget.
...
This is actually not possible due to how Qt manages child widgets...
2014-11-26 15:30:35 -05:00
comex
759ea3bce7
Update Main.cpp version checks.
2014-11-25 00:27:13 -05:00
comex
245ff601b7
Merge pull request #1552 from waddlesplash/dolphin-qt
...
DolphinQt: GameList!
2014-11-25 00:24:32 -05:00
Augustin Cavalier
1e17bbce0f
DolphinQt: GameList!
2014-11-21 18:36:49 -05:00
comex
aa452f4fe8
Merge pull request #1576 from comex/osx-qt-build-fixes
...
OS X Qt build fixes
2014-11-20 12:11:43 -05:00
comex
ba4a763410
Move library aggregation into common CMakeLists.txt; add missing libs to DolphinQt.
...
Fixes DolphinQt build (on OS X, anyway) when libav is enabled.
2014-11-19 20:09:12 -05:00
comex
688b1e537e
rename CopyDataIntoBundle target name to avoid wx/qt conflict
2014-11-19 14:53:51 -05:00
Steven Vascellaro
695bbac36a
Removed SDK flag
...
SDK is not an official Nintendo country code, and is not actually used
by any official software.
2014-11-18 19:44:17 -05:00
Stevoisiak
f1a26ff654
Various country flag improvements
...
* Added country flags for games from Netherlands and Spain
* Added separate category for Region Free games (Uses European flag as placeholder)
* Added missing country filter options in "show regions" menu
* Rearranged country filters for readability
* Incremented CACHE_REVISION
Also fixed various country filters not showing up as options in the "Show regions" menu.
2014-11-18 19:44:16 -05:00
Lioncash
b94dbca160
Host: Kill off GetRenderWindowSize
2014-11-17 13:44:49 -05:00
Lioncash
a1b44a9027
Merge pull request #1509 from lioncash/headers
...
Remove unnecessary cstdarg header includes
2014-11-06 20:58:13 -05:00
Lioncash
8959adefb2
Merge pull request #1506 from waddlesplash/dolphin-qt
...
Dolphin[Qt|WX]: Miscellaneous cleanup.
2014-11-06 20:55:44 -05:00
Lioncash
4c62bd2edb
Remove unnecessary cstdarg header includes
2014-11-06 20:50:11 -05:00
Augustin Cavalier
a96acea03c
Dolphin[Qt|WX]: Miscellaneous cleanup.
...
DolphinQt:
* Make the connect() calls explicit, not automatic
* Follow better naming convention for the QActions
* Remove the Open action from the toolbar.
Dolphin[Qt|WX]:
* Move the "Skip Bundle" option to the root CMakeLists so that both DolphinQt and DolphinWX can use it.
2014-11-06 15:47:27 -05:00
Lioncash
884ec2ed13
Host: Kill off Host_SysMessage
...
Equivalent facilities already exist.
2014-11-05 02:30:48 -05:00
Augustin Cavalier
3d63d22e53
DolphinQt: adapt so that it can boot games.
2014-11-02 13:53:48 -05:00
comex
31c679a3dc
Merge pull request #1403 from waddlesplash/dolphin-qt
...
DolphinQt: Fix toolbar image loading on Retina displays
2014-10-28 16:15:04 -04:00
Augustin Cavalier
5b4b74de6a
Fix image loading on Retina and other HiDPI displays.
2014-10-28 14:39:20 -04:00
Augustin Cavalier
32c6848c79
Some style fixes.
2014-10-27 13:11:39 -04:00
Lioncash
14c3445ad2
DolphinQt: Make GetOS const
2014-10-25 21:51:58 -04:00
Augustin Cavalier
7cd0a13d35
Fixes from @comex to add the app bundle and icon on Mac.
2014-10-25 21:17:32 -04:00
Augustin Cavalier
69cd8229d8
Fixes to the About dialog & add the SystemInfo dialog.
...
Also fix the build on Mac OS X.
2014-10-25 20:59:07 -04:00
Augustin Cavalier
8d4068527b
DolphinQt: Stub Host_* functions & Resource system.
2014-10-19 15:36:37 -04:00
Shawn Hoffman
ae3a5ce9e3
Qt: Add msvc support
2014-09-15 15:07:33 -07:00
Augustin Cavalier
16c6a19190
DolphinQt: initial commit.
...
This adds the beginning of the DolphinQt user interface. It doesn't
do anything useful yet and only builds via CMake.
2014-09-15 15:06:05 -07:00