Admiral H. Curtiss
36d84c6959
GCMemcard: Slightly nicer definition of UNINITIALIZED_GAMECODE.
2018-12-10 20:24:20 +01:00
Admiral H. Curtiss
ca2c7679df
GCMemcard: Rewrite DEntry_IconFmt() and DEntry_AnimSpeed() to make more sense.
2018-12-10 20:24:20 +01:00
Admiral H. Curtiss
2351a60567
GCMemcard: Let GetDEntry() return std::optional<DEntry>.
2018-12-10 20:24:20 +01:00
Admiral H. Curtiss
860e003b0c
GCMemcard: Remove needless second definition of DENTRY_SIZE.
2018-12-09 22:28:58 +01:00
Admiral H. Curtiss
3d77a43e67
GCMemcard: Use std::array for GCMBlock.m_block.
2018-12-09 22:28:58 +01:00
Admiral H. Curtiss
ceb9cb53c6
GCMemcard: Rename GCMBlock.block to m_block to match naming conventions.
2018-12-09 22:28:58 +01:00
Admiral H. Curtiss
fc70b60d8b
GCMemcard: Access active directory/BAT via methods instead of pointers.
2018-12-09 22:28:58 +01:00
Admiral H. Curtiss
7ff65db3b2
GCMemcard: As far as I can tell, the directory and BAT blocks aren't really main and backup, but just two blocks that store data are written to alternately. So store them as an std::array of 2 blocks instead of an explicit 'backup' block.
2018-12-09 22:28:58 +01:00
Admiral H. Curtiss
0aaf24b9cc
GCMemcard: Rename GCMemcard variables to match our naming conventions.
2018-12-09 22:28:58 +01:00
Admiral H. Curtiss
4d4b5442bd
GCMemcard: Use std::array and BigEndianValue for BlockAlloc.m_map.
2018-12-09 22:28:57 +01:00
Admiral H. Curtiss
eb6cc3dbab
GCMemcard: Use BigEndianValue for BlockAlloc.m_last_allocated_block.
2018-12-09 22:28:57 +01:00
Admiral H. Curtiss
d3b61c3ff0
GCMemcard: Use BigEndianValue for BlockAlloc.m_free_blocks.
2018-12-09 22:28:57 +01:00
Admiral H. Curtiss
88bdab6fe6
GCMemcard: Use BigEndianValue for BlockAlloc.m_update_counter.
2018-12-09 22:28:57 +01:00
Admiral H. Curtiss
0f776fb091
GCMemcard: Use BigEndianValue for Directory.m_update_counter.
2018-12-09 22:28:57 +01:00
Admiral H. Curtiss
2d77096d63
GCMemcard: Use std::array for Directory's members.
2018-12-09 22:28:57 +01:00
Admiral H. Curtiss
f8488f4561
GCMemcard: Use std::array for DEntry.m_unused_2.
2018-12-09 22:28:57 +01:00
Admiral H. Curtiss
4175fdf28d
GCMemcard: Use std::array for DEntry.m_makercode.
2018-12-09 22:28:57 +01:00
Admiral H. Curtiss
deadec608e
GCMemcard: Use std::array for DEntry.m_gamecode.
2018-12-09 22:28:57 +01:00
Admiral H. Curtiss
0c638ad858
GCMemcard: Use std::array for DEntry.m_filename.
2018-12-09 22:28:56 +01:00
Admiral H. Curtiss
443729d2c3
GCMemcard: Use BigEndianValue for DEntry.m_comments_address.
2018-12-09 22:28:56 +01:00
Admiral H. Curtiss
8a920dac93
GCMemcard: Use BigEndianValue for DEntry.m_block_count.
2018-12-09 22:28:56 +01:00
Admiral H. Curtiss
675a549628
GCMemcard: Use BigEndianValue for DEntry.m_first_block.
2018-12-09 22:28:56 +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
c3e9f53480
GCMemcard: Use BigEndianValue for DEntry.m_icon_format.
2018-12-09 22:28:56 +01:00
Admiral H. Curtiss
65f6250faa
GCMemcard: Use BigEndianValue for DEntry.m_image_offset.
2018-12-09 22:28:56 +01:00
Admiral H. Curtiss
1d25e249e8
GCMemcard: Use BigEndianValue for DEntry.m_modification_time.
2018-12-09 22:28:56 +01:00
Admiral H. Curtiss
2f1ff80dd6
GCMemcard: Use std::array for Header members instead of raw C arrays.
2018-12-09 22:28:56 +01:00
Admiral H. Curtiss
256d336219
GCMemcard: Use BigEndianValue for Header.m_encoding.
2018-12-09 22:28:55 +01:00
Admiral H. Curtiss
8eabcbf294
GCMemcard: Use BigEndianValue for Header.m_size_mb.
2018-12-09 22:28:55 +01:00
Admiral H. Curtiss
bfbfcc72a2
GCMemcard: Use BigEndianValue for Header.m_device_id.
2018-12-09 22:28:55 +01:00
Admiral H. Curtiss
b3ce882109
GCMemcard: Use BigEndianValue for Header.m_sram_language.
2018-12-09 22:28:55 +01:00
Admiral H. Curtiss
905a16e7e7
GCMemcard: Use BigEndianValue for Header.m_format_time.
2018-12-09 22:28:55 +01:00
Admiral H. Curtiss
9f03c2f358
GCMemcard: Rename BlockAlloc variables to match our naming conventions.
2018-12-09 22:28:55 +01:00
Admiral H. Curtiss
17208f4c89
GCMemcard: Rename Directory variables to match our naming conventions.
2018-12-09 22:28:55 +01:00
Admiral H. Curtiss
15f89d3e6f
GCMemcard: Rename DEntry variables to match our naming conventions.
2018-12-09 22:28:55 +01:00
Admiral H. Curtiss
c419dac1d8
GCMemcard: Rename Header variables to match our naming conventions.
2018-12-09 22:28:55 +01:00
Admiral H. Curtiss
4b1d891378
GCMemcard: Add a few static asserts for sizes of memory card structures.
2018-12-09 22:28:55 +01:00
Techjar
2e19efa8d5
NetPlay: Sync Wiimote extension
...
Small addition of NetPlay code in Core.cpp was needed to set the
extensions at the right time, as init would override them otherwise.
This solution is more elegant than modifying the user's INI files on
game start.
2018-12-05 16:36:44 -05: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
Pierre Bourdon
2c57e709d0
Merge pull request #7603 from jordan-woyak/fs-open-file-fix
...
Present an error message when failing to open a file that should exist.
2018-12-04 08:49:21 +01:00
Stenzek
7afd5cc2fb
Use main buffers for utility draws
2018-12-04 17:37:25 +10:00
Stenzek
5ca18ff04e
Vulkan: Restore viewport/scissor state on RestoreAPIState
2018-12-04 17:36:08 +10:00
Stenzek
b409a87d1a
D3D: Clamp viewport to current framebuffer dimensions, not target
2018-12-04 17:36:08 +10:00
Stenzek
fa8262fa4a
Vulkan: Don't panic on missing color/depth buffer in config
2018-12-04 17:36:08 +10:00
Stenzek
2644e920cc
Renderer: Add backbuffer format to base class
2018-12-04 17:36:08 +10:00
Stenzek
1adcd47dcb
Renderer: Add a base Initialize() method to match Shutdown()
2018-12-04 17:36:08 +10:00
Stenzek
38479dd783
RenderBase: Force a pipeline flush when drawing the XFB to the host
...
Since we use the common pipelines here and draw vertices if a batch is
currently being built by the vertex loader, we end up trampling over its
pointer, as we share the buffer with the loader, and it has not been
unmapped yet. Force a pipeline flush to avoid this.
2018-12-04 17:36:08 +10:00
booto
1ab390c15f
DTK: Report position in increments of 0x8000
2018-12-04 00:16:46 -05:00
Jordan Woyak
122ce28786
Present an error message when failing to open a file that should exist.
...
This could happen with savestate loads, permission issues, or use by other processes.
Prior to this Dolphin assumed any existing file could be opened and crashes from invalid variant access.
Failing to open a file during savestate load will likely still crash but at least the user will know why.
2018-12-03 19:07:42 -06:00
weihuoya
3ab0f02cec
vulkan: fx index buffer reserve size
2018-12-03 19:23:36 +08:00
Pierre Bourdon
f5e9135912
Merge pull request #7598 from sepalani/wfsi
...
WFSI: Fix Dragon Quest X (all-in-one, v2, v3) installers
2018-12-03 02:39:47 +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
Sepalani
077597b028
VersionInfo: Replace IOS59 v7021 with v9249
2018-12-01 22:29:39 +04:00
Sepalani
5bb7cd251e
WFSI: Handle PATCH_TYPE_2 properly in IOCTL_WFSI_FINALIZE_TITLE_INSTALL
2018-12-01 22:28:58 +04:00
Sepalani
f351280061
WFSI: Implement IOCTL_WFSI_CHANGE_TITLE
2018-12-01 22:26:47 +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
Techjar
baecc500e8
Core: Notify state change callback about stopping state
2018-11-30 01:20:22 -05:00
Pierre Bourdon
d9cacf6f5a
Merge pull request #7572 from delroth/analytics-quirks
...
Analytics: add simple framework for game quirks reporting
2018-11-30 05:22:45 +01: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
Pierre Bourdon
09deed8aa4
Merge pull request #7586 from Techjar/controller-dialog-button-thing
...
Qt/ControllersWindow: Fix incorrect enabled states of configure buttons
2018-11-29 03:34:11 +01: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
5c81285b91
NetPlay: Fix server peer initialization hang
...
The implementation of peer initialization would hang if the initial
packet was never received. This fixes that issue by deferring the
initialization to the packet receive loop.
2018-11-22 03:15:49 -05:00
Pierre Bourdon
8d20a173f0
Merge pull request #7579 from AdmiralCurtiss/next-free-block-fix
...
GCMemcard: Fix mixed memcard-based and bat-based indices in definition and usage of NextFreeBlock().
2018-11-22 06:54:52 +01:00
Jordan Woyak
fae368d2ee
Fix spurious error logs for conversions of empty strings on Windows.
2018-11-22 06:50:11 +01:00
Pierre Bourdon
0c6d677233
Merge pull request #7582 from AdmiralCurtiss/memcard-delete-wrong-dir
...
GCMemcard: Fix incorrect directory block being accessed in RemoveFile().
2018-11-22 06:43:25 +01:00
Pierre Bourdon
c9d5ac3e9a
Updater/UI: ITaskbarlist3 handling improvements.
...
* Properly error-check the interface querying and instance creation.
* Call HrInit() as required when getting the instance.
2018-11-22 02:46:36 +01:00
Pierre Bourdon
1805f51d79
Merge pull request #7446 from Techjar/wii-save-full-sync
...
NetPlay: Add full Wii save sync
2018-11-21 00:22:50 +01:00
Admiral H. Curtiss
431e6c42e1
GCMemcard: Fix incorrect directory block being accessed in RemoveFile().
...
When deleting files, block index data was always fetched from the first copy of the directory listing rather than the currently active one.
2018-11-21 00:15:58 +01:00
Admiral H. Curtiss
353e289fbf
GCMemcard: Fix mixed memcard-based and bat-based indices in definition and usage of NextFreeBlock().
2018-11-19 20:40:18 +01:00
JosJuice
46fe0669a5
Minor fixes to netplay sync strings
2018-11-19 19:54:55 +01: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
f4eb4fab08
HW/WiiSave: Fix reversed condition in WriteFiles
...
This didn't make any sense, as it would only attempt to create the directory if it already existed, and would simply fail if it didn't exist.
2018-11-19 06:37:09 -05:00
Techjar
6730748309
NetPlay: Use chunked data transfer for save sync
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
Pierre Bourdon
e6b2758ab4
Merge pull request #7477 from Zexaron/ext-minizip
...
Externals: Add a stripped down version of minizip
2018-11-17 22:23:02 +01:00
Léo Lam
c56516502d
Merge pull request #7440 from JosJuice/wii-menu-1.0-region
...
Never return Unknown from SConfig::GetFallbackRegion
2018-11-17 21:18:38 +01:00
Pierre Bourdon
08f9df2461
Merge pull request #7574 from spycrab/updater_pb
...
Updater: Add total progressbar
2018-11-17 16:42:32 +01:00
spycrab
3cfa255c5a
Updater: Add total progressbar
2018-11-17 16:37:53 +01: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
ef562ec2f1
Analytics: add simple framework for game quirks reporting
...
And use it for reporting games that rely on ICache emulation to some
degree. We know of a few but it would be interesting to get a more
exhaustive list from crowdsourcing.
2018-11-15 03:32:49 +01: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
Stenzek
502c4c0e87
TextureCache: Recompute overlapping XFB copy hashes after copying to RAM
2018-11-13 12:48:27 +10: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
Stenzek
a0653a1a34
Vulkan: Fix incorrect fence being assigned to staging texture
2018-11-12 01:02:32 +10:00
Pierre Bourdon
a9f7df5b15
SystemTimers: fix a 1-in-1000 crash happening in throttler performance
2018-11-10 20:50:17 +01:00
MerryMage
df08a77812
Jit_LoadStore: Ra needs to be ReadWrite when writeback is required
...
This was an erronous change in 534db3b
, Ra was previously loaded but was changed to not being loaded.
Why is loading necessary? Loading is necessary because when a memory exception occurs, the current
register values are flushed. This occurs before a new value is loaded into Ra, so the previous value
is required in Ra.
2018-11-10 10:57:15 +00:00
JosJuice
0e1cca54da
Merge pull request #7555 from Techjar/config-delcaration-unused
...
Core/Config: Remove unused NETPLAY_SELECTED_HOST_GAME declaration
2018-11-09 08:07:21 +01:00
Pierre Bourdon
61b9ef33ab
Merge pull request #7492 from MerryMage/regcache2
...
JitRegCache: Refactor register cache
2018-11-09 04:45:47 +01:00
Techjar
4fd2a25253
Core/Config: Remove unused NETPLAY_SELECTED_HOST_GAME declaration
2018-11-08 22:39:42 -05: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
541c5ee996
Merge pull request #7550 from JosJuice/widescreen-hack-suggested-ratio
...
Fix the widescreen hack for Wii games with 4:3 forced in game INI
2018-11-09 04:28:31 +01:00
Pierre Bourdon
e903d346ea
Merge pull request #7552 from stenzek/texture-cache-leak
...
TextureCache: Fix leaking TCacheEntry instances
2018-11-09 04:27:14 +01:00
spycrab
1595a9bdcd
Updater: Show progress in taskbar
2018-11-08 11:54:56 +01:00
Stenzek
78056686fd
TextureCache: Fix leaking TCacheEntry instances
2018-11-08 11:52:17 +10:00
JosJuice
a42432cae4
RenderBase: Set m_aspect_wide on start
...
It doesn't feel great to let the value from a previous emulation session
linger around considering that the GC aspect ratio heuristic can use
the previous value of m_aspect_wide when calculating m_aspect_wide.
2018-11-07 19:01:45 +01:00
JosJuice
b93b7ec419
Fix the widescreen hack for Wii games with 4:3 forced in game INI
2018-11-07 19:00:24 +01:00
Pierre Bourdon
16a618f413
Merge pull request #7548 from stenzek/graphics-window-crash
...
OGL: Fix crash when opening graphics window on another backend
2018-11-07 17:45:52 +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
0c0d66809d
PixelShaderGen: Split bbox into seperate variables
...
The Metal shader compiler fails to compile the atomic instructions
when operating on individual components of a vector. Spltting it
into four variables shouldn't make any difference for other
platforms, as they are accessed independently.
2018-11-07 05:41:09 -08:00
Stenzek
673f1963a0
Vulkan: Support macOS via MoltenVK
...
The path to the MoltenVK library can be specified by the
LIBMOLTENVK_PATH environment variable, otherwise it assumes it is
located in the application bundle's Contents/MacOS directory.
2018-11-07 05:41:09 -08:00
Stenzek
c7a2b1572b
CMake: Build Vulkan backend on macOS
2018-11-07 05:12:20 -08:00
Stenzek
041b977523
Common: Use GCD semaphores on macOS
...
Unnamed semaphores are not supported.
2018-11-07 05:12:20 -08:00
Stenzek
a1b9a9f519
DolphinQt: Add backend multithreading to graphics config
2018-11-07 05:12:20 -08:00
Stenzek
487ea5ab36
VideoBackend: Add a virtual PrepareWindow function
...
Executes backend-specific commands on the main thread.
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
7efdd1070b
OGL: Fix crash when opening graphics window on another backend
2018-11-07 21:20:12 +10:00
Techjar
dfa4395ba0
Core/Config: Fix memcard path not being saved
2018-11-07 04:29:44 -05:00
Stenzek
a45f977d26
Analytics: Add deferred EFB copies setting to graphics settings
2018-11-07 16:25:01 +10:00
Stenzek
66b6e72c5e
Vulkan: Submit fewer command buffers in deferred EFB copies mode
2018-11-07 16:25:01 +10: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
JosJuice
20b8c24847
Fix first DTK track not playing after booting with IPL
...
DVDLowAudioBufferConfig doesn't start a DTK stream, it just tells the
drive that the game is allowed to use DTK. At least if I'm not mistaken.
2018-11-01 21:06:11 +01: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
f1413dbbf6
Merge pull request #7501 from Techjar/class-memaccess-cleanup
...
VideoCommon: Clean up class-memaccess warnings
2018-10-28 23:59:51 +01:00
Pierre Bourdon
7094f225d4
Merge pull request #7515 from JosJuice/wcsftime
...
Use wcsftime instead of strftime on Windows to fix encoding errors
2018-10-28 23:58:17 +01:00
Pierre Bourdon
53a45e5c28
Merge pull request #7445 from Techjar/improve-sfmlhelper
...
Improve SFMLHelper
2018-10-28 23:53:59 +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
MerryMage
342067abfa
JitRegCache: Remove old interface
2018-10-28 17:57:46 +00:00
MerryMage
08c41090b2
JitRegCache: Add RegistersInUse
2018-10-28 17:57:46 +00:00
MerryMage
096392f295
JitRegCache: Add PreloadRegisters function
2018-10-28 17:57:46 +00:00
MerryMage
9f683f9bb1
BitSet: Add << operator
2018-10-28 17:57:46 +00:00
MerryMage
e699b6b283
Jit: Remove OpArg variant of ComputeRC
2018-10-28 17:57:46 +00:00
MerryMage
7d7316c90f
Jit_SystemRegisters: mffsx
2018-10-28 17:57:46 +00:00
MerryMage
62484141f2
Jit_SystemRegisters: mtfsfx
2018-10-28 17:57:46 +00:00
MerryMage
192f8ba6f1
Jit_Paired: ps_res
2018-10-28 17:57:46 +00:00
MerryMage
66d9349643
Jit_Paired: ps_rsqrte
2018-10-28 17:57:45 +00:00
MerryMage
3fc3a55a9a
Jit_Paired: mergeXX
2018-10-28 17:57:45 +00:00
MerryMage
cf5823c146
Jit_Paired: ps_muls
2018-10-28 17:57:45 +00:00
MerryMage
1550729688
Jit_Paired: ps_sum
2018-10-28 17:57:45 +00:00
MerryMage
be8fec6244
Jit_Paired: ps_mr
2018-10-28 17:57:45 +00:00
MerryMage
96b86a9bc4
Jit_FloatingPoint: HandleNaNs
2018-10-28 17:57:45 +00:00
MerryMage
0a96da578e
Jit_FloatingPoint: fresx
2018-10-28 17:57:45 +00:00
MerryMage
e812a62879
Jit_FloatingPoint: frsqrtex
2018-10-28 17:57:45 +00:00
MerryMage
68bbd56c01
Jit_FloatingPoint: frspx
2018-10-28 17:57:45 +00:00
MerryMage
cc77e2f3ef
Jit_FloatingPoint: fctiwx
2018-10-28 17:57:45 +00:00
MerryMage
457327cbc4
Jit_FloatingPoint: FloatCompare
2018-10-28 17:57:45 +00:00
MerryMage
55c21a15a2
Jit_FloatingPoint: fmrx
2018-10-28 17:57:45 +00:00
MerryMage
fecbf091e5
Jit_FloatingPoint: fselx
2018-10-28 17:57:45 +00:00
MerryMage
d62ca40496
Jit_FloatingPoint: fsign
2018-10-28 17:57:45 +00:00
MerryMage
537eeb7ebf
Jit_FloatingPoint: fmaddXX
2018-10-28 17:57:45 +00:00
MerryMage
a26c9c4b74
Jit_FloatingPoint: fp_arith
2018-10-28 17:57:45 +00:00
MerryMage
2337e089bf
Jit_SystemRegisters: mtspr
2018-10-28 17:57:45 +00:00
MerryMage
d87436c57d
Jit_LoadStorePaired: psq_lXX
2018-10-28 17:57:45 +00:00
MerryMage
0b29b5cb83
Jit_LoadStorePaired: psq_stXX
2018-10-28 17:57:45 +00:00
MerryMage
459f977483
Jit_LoadStoreFloating: stfiwx
2018-10-28 17:57:45 +00:00
MerryMage
dcfe955087
Jit_LoadStoreFloating: stfXXX
2018-10-28 17:57:45 +00:00
MerryMage
f564da7233
Jit_LoadStoreFloating: lfXXX
2018-10-28 17:57:45 +00:00
MerryMage
36790ad3ad
Jit_SystemRegisters: mtcrf
2018-10-28 17:57:45 +00:00
MerryMage
d8b2bf785a
Jit_SystemRegisters: mfcr
2018-10-28 17:57:45 +00:00
MerryMage
6ff8f9e991
Jit_SystemRegisters: mfmsr
2018-10-28 17:57:45 +00:00
MerryMage
5fa6df8c1e
Jit_SystemRegisters: mtmsr
2018-10-28 17:57:45 +00:00
MerryMage
1d867493d9
Jit_SystemRegisters: mfspr
2018-10-28 17:57:45 +00:00
MerryMage
9438ea0ef5
Jit_LoadStore: stmw
2018-10-28 17:57:45 +00:00
MerryMage
98cf0b3286
Jit_LoadStore: lmw
2018-10-28 17:57:45 +00:00
MerryMage
c6b9712ac4
Jit_LoadStore: stXx
2018-10-28 17:57:44 +00:00
MerryMage
90cef22d57
Jit_LoadStore: stX
2018-10-28 17:57:44 +00:00
MerryMage
4a2efc8f5e
Jit_LoadStore: dcbz
2018-10-28 17:57:44 +00:00
MerryMage
0e501e5c36
Jit_LoadStore: dcbx
2018-10-28 17:57:44 +00:00
MerryMage
534db3b2ed
Jit_LoadStore: lXXx
2018-10-28 17:57:44 +00:00
MerryMage
00d65f7a69
Jit: memcheck
2018-10-28 17:57:44 +00:00
MerryMage
c896d41c37
DoJit
2018-10-28 17:57:44 +00:00
MerryMage
4443b36326
Jit_Branch: bclrx
2018-10-28 17:57:44 +00:00
MerryMage
0cd85bbce7
Jit_Branch: bcctrx
2018-10-28 17:57:44 +00:00
MerryMage
453417ad8c
Jit_Branch: bcx
2018-10-28 17:57:44 +00:00
MerryMage
256e234949
Jit_Integer: DoMergedBranchCondition
2018-10-28 17:57:44 +00:00
MerryMage
0d3393b306
Jit_Integer: rlwimix
2018-10-28 17:57:44 +00:00
MerryMage
b866b5bdd9
Jit_Integer: reg_imm
2018-10-28 17:57:44 +00:00
MerryMage
ace2ed27ac
Jit_Integer: DoMergedBranchImmediate
2018-10-28 17:57:44 +00:00
MerryMage
88e5d0d8b1
Jit_Integer: cmpXX
2018-10-28 17:57:44 +00:00
MerryMage
b256286690
Jit_Integer: boolX
2018-10-28 17:57:44 +00:00
MerryMage
b7a4296bec
Jit_Integer: extsXx
2018-10-28 17:57:44 +00:00
MerryMage
c380764ed0
Jit_Integer: twX
2018-10-28 17:57:44 +00:00
MerryMage
5621907283
Jit_Integer: cntlzwx
2018-10-28 17:57:44 +00:00
MerryMage
31bd9b5cd0
Jit_Integer: srawix
2018-10-28 17:57:44 +00:00
MerryMage
817fddf734
Jit_Integer: srawx
2018-10-28 17:57:44 +00:00
MerryMage
32572dd639
Jit_Integer: slwx
2018-10-28 17:57:44 +00:00
MerryMage
22600b33ee
Jit_Integer: srwx
2018-10-28 17:57:44 +00:00
MerryMage
4a97f31aa2
Jit_Integer: negx
2018-10-28 17:57:44 +00:00
MerryMage
42614ede16
Jit_Integer: rlwnmx
2018-10-28 17:57:44 +00:00
MerryMage
d4e2acc9cd
Jit_Integer: rlwinmx
2018-10-28 17:57:44 +00:00
MerryMage
bde5df03a3
Jit_Integer: arithcx
2018-10-28 17:57:44 +00:00
MerryMage
6ce718b920
Jit_Integer: arithXex
2018-10-28 17:57:44 +00:00
MerryMage
9bf75a0f31
Jit_Integer: addx
2018-10-28 17:57:44 +00:00
MerryMage
50e7b97406
Jit_Integer: divwx
2018-10-28 17:57:44 +00:00
MerryMage
f945457915
Jit_Integer: divwux
2018-10-28 17:57:44 +00:00
MerryMage
2652d4dfdb
Jit_Integer: mulhwXx
2018-10-28 17:57:44 +00:00
MerryMage
24aadd933e
Jit_Integer: mullwx
2018-10-28 17:57:44 +00:00
MerryMage
02deaab6ee
Jit_Integer: mulli
2018-10-28 17:57:44 +00:00
MerryMage
497ac5789d
Jit_Integer: subfx
2018-10-28 17:57:44 +00:00
MerryMage
64c29ab942
Jit_Integer: Port subfic to new register cache interface
2018-10-28 17:57:44 +00:00
MerryMage
33812319ac
Jit: Add preg_t variant of ComputeRC
2018-10-28 17:57:44 +00:00
MerryMage
5e46c16e4f
JitRegCache: Add IsZero to RCOpArg
2018-10-28 17:57:43 +00:00
MerryMage
2e955012b2
JitRegCache: Add BindOrImm
2018-10-28 17:57:43 +00:00
MerryMage
590ec866b0
JitRegCache: Add revertable binds
2018-10-28 17:57:43 +00:00
MerryMage
16f8b7413d
JitRegCache: IsAllUnlocked
2018-10-28 17:57:43 +00:00
MerryMage
6c61d9a426
JitRegCache: RCForkGuard
2018-10-28 17:57:43 +00:00
MerryMage
367a0bb672
JitRegCache: Add RCOpArg::ExtractWithByteOffset
2018-10-28 17:57:43 +00:00
MerryMage
ae1bd7a6b0
JitRegCache: New interface
2018-10-28 17:57:43 +00:00
MerryMage
6fef683e14
JitRegCache: Move files to subdirectory
2018-10-28 17:57:43 +00:00
MerryMage
448fc89e4c
JitRegCache: Count locks/unlocks
2018-10-28 17:57:43 +00:00
MerryMage
2dce7e6e21
Common: Add variant utilities
2018-10-28 17:57:43 +00: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
8baafcc523
Accurate region detection for NAND titles
2018-10-28 11:27:08 +01:00
Stenzek
7c4607a05a
Vulkan: Add missing increment of draw call count
2018-10-28 11:32:26 +10:00
Pierre Bourdon
756a2fe14d
Merge pull request #7517 from delroth/analytics-perf
...
Report performance information through our analytics subsystem
2018-10-28 00:43:12 +02:00
Pierre Bourdon
83c3370c2a
RenderBase: send performance sample at every end of frame
...
Not the best integration point, but couldn't think of something better.
This implementation has the benefit to be super simple.
2018-10-27 17:39:54 +02:00
Pierre Bourdon
6a891ea37c
Core/Analytics: add support for performance sampling
...
Samples are pushed to the analytics module every frame but only sent
once every ~15min. We send data for 100 frames at a time.
2018-10-27 17:39:53 +02:00
Pierre Bourdon
d98c0da41b
Common/Analytics: add basic support for vector serialization
...
Only supports u32 for now since that's the only thing we need.
2018-10-27 17:16:58 +02:00
Pierre Bourdon
64e04eb38c
SystemTimers: export performance index from the throttler callback
2018-10-27 15:14:59 +02:00
JosJuice
5718b870d1
Use wcsftime instead of strftime on Windows to fix encoding errors
...
Reported by https://forums.dolphin-emu.org/Thread-odd-codes-appear-in-save-load-state-when-chinese-language-is-used
2018-10-26 14:26:21 +02:00
JosJuice
34edcdd454
Never return Unknown from SConfig::GetFallbackRegion
...
This happens if Wii Menu 1.0 is installed.
Reported by https://forums.dolphin-emu.org/Thread-default-case-should-not-be-reached
2018-10-25 17:54:13 +02:00
JosJuice
8bbec31295
DolphinQt: Implement "Purge Game List Cache"
...
This is a missing feature from DolphinWX.
2018-10-25 08:29:54 +02:00
Mat M
74c49c961e
Merge pull request #7504 from JosJuice/game-id-partition-none
...
Fix issue 11422 (inconsistent game ID for some hacked games)
2018-10-24 21:15:10 -04:00
Pierre Bourdon
eadb4a66a5
ThrottleCallback: use microseconds to represent realtime
...
Using milliseconds doesn't provide a lot of granularity, and we can use
all we can get for performance analysis.
2018-10-25 02:27:49 +02:00
Stenzek
8c84e27155
Core: Fix display being passed as surface to ControllerInterface
2018-10-24 15:24:10 +10:00
Stenzek
1e8cdc02d1
CMake: Fix DolphinNoGUI build
2018-10-24 14:50:23 +10:00
Stenzek
2c6d96433c
GLContext: Try GL versions 3.2-4.6 when getting a context
...
GLX previously was only creating a 4.0 context.
2018-10-20 21:11:34 +10:00
Stenzek
c95802afeb
CMake: Make X11 and EGL optional
2018-10-20 21:11:34 +10:00
Stenzek
0559311f92
GLContext: Runtime selection of EGL/GLX on Linux
2018-10-20 21:11:34 +10:00
Stenzek
025e909773
GLContext: Use destructor instead of Shutdown() to cleanup
...
Also uses the Initialize() method to make the context current.
2018-10-20 21:11:34 +10:00
Stenzek
4b8d1c2b42
GLContext: Combine shared context initialization and creation
2018-10-20 21:11:34 +10:00
Stenzek
dcdd02d646
GLContext: Remove global context pointer
2018-10-20 21:11:34 +10:00
Stenzek
eb284b5d66
VideoBackends: Pass window system info from host on creation
2018-10-20 21:11:34 +10:00
Stenzek
9c57a98723
GLContext: Use host connection
...
This also removes the need for a sleeping event thread.
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
Stenzek
134d967be2
Refactoring and cleanup of GLInterface (now GLContext)
2018-10-20 21:11:34 +10:00
Stenzek
74b82bab3b
GLInterface: Drop Haiku support
2018-10-20 21:11:33 +10:00
Tillmann Karras
97cc9894e4
Update to Visual Studio's default Windows SDK
2018-10-20 00:53:08 +01:00