Julian Löhr
31a4b2ed03
Fix Prepare (Set LEDs and Rumble) on Connect and Refresh
...
m_need_prepare needs to be set before the Device thread is started.
Otherwise the thread blocks on IORead and the LEDs and Rumble is executed
after the user presses a button on the Wiimote.
Also the Prepare-Call on Refresh doesn't need to reset the Index, because it is
set once on the initial Connect/Prepare. Therefore the index assignment
was refactored.
2015-11-28 12:38:19 +01:00
Scott Mansell
861bd98e3a
Merge pull request #3291 from JosJuice/memset-error-check
...
Memmap: More error checking for Memset
2015-11-28 22:38:24 +13:00
JosJuice
0cb5c4637a
Memmap: Replace ValidCopyRange with GetPointerForRange
2015-11-28 09:26:48 +01:00
JosJuice
b5f32b9699
DolphinWX: Correct a compression condition
...
The volume type check didn't handle DOL/ELF files, and the blob type
check didn't handle formats like CISO and relied on filename extensions.
2015-11-28 09:24:15 +01:00
JosJuice
f9af58a388
DiscIO: Don't use PlainFileReader in VolumeDirectory
...
Blobs are not for regular file reading.
2015-11-28 09:18:22 +01:00
JosJuice
2e3735b772
Memmap: More error checking for Memset
...
It now uses the same error checking as CopyFromEmu and CopyToEmu.
2015-11-27 18:28:53 +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
spxtr
949f25175b
DolphinQt2
2015-11-27 00:33:07 -08:00
waddlesplash
4acd90d570
DolphinQt: Get rid of unneeded abbreviation macros.
2015-11-25 23:16:54 -05:00
degasus
0b02dc4f81
FramebufferManager: check for g_framebuffer_manager
2015-11-24 22:48:56 +01:00
degasus
0f26cdd31b
FramebufferManager: Allow CreateXFBSource to return nullptr
2015-11-24 22:48:55 +01:00
degasus
c9dc5fb376
TextureCache: Allow the backends to return nullptr for textures.
2015-11-24 22:48:55 +01:00
degasus
fc00598785
NativeVertexFormat: Inline Initialize in contructor
...
They were only called at once, so no need to seperate them.
This also removes the only dereference of the NativeVertexFormat in VideoCommon, so backends may just return nullptr.
2015-11-24 22:48:49 +01:00
degasus
df799dd124
VideoCommon: Create default implementation for state setters
...
It's fine to pull those within the backends, so there is no need to enforce them to implement this interface.
2015-11-24 22:39:10 +01:00
Markus Wick
f560e8e283
Merge pull request #3285 from jloehr/Wiimote-Index-LED-Fix
...
Fix Wiimote Index LED
2015-11-24 18:31:57 +01:00
Stenzek
d1b132731d
D3D: Remove redundant cast, move pitch calculation to caller
2015-11-24 21:54:19 +10:00
Stenzek
6be4608a0d
D3D: Fix crash on some drivers with small textures
2015-11-24 21:15:19 +10:00
Scott Mansell
211169e307
Merge pull request #3269 from JosJuice/purge-cache
...
Rename "Purge Cache" to "Purge Game List Cache"
2015-11-24 14:17:49 +13:00
Scott Mansell
83bda3be46
Merge pull request #1474 from phire/DSPHLE_cleanups
...
DSPHLE: Remove individual byteswaps and replace with generic function.
2015-11-24 13:33:59 +13:00
Julian Löhr
aace2f694f
Fix Wiimote Index LED
2015-11-23 23:24:49 +01:00
Matthew Parlane
f92a36d86c
Merge pull request #3283 from RisingFog/patch-1
...
Fix Frame Advance Hold Delay Changes
2015-11-24 10:44:52 +13:00
Ryan Houdek
d27dcdba48
We shouldn't be trying to enable the SSBO extension in ES.
2015-11-23 14:47:43 -06:00
Chris Burgener
1ea9b36e3b
Fix Frame Advance Hold Delay Changes
...
Fixes the issues of modifying the frame advance speed increase/decrease not actually doing anything
2015-11-23 13:53:14 -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
Lioncash
35b02db39d
ISOFile: Get rid of explicit deletes
2015-11-21 21:15:01 -05:00
Tony Drake
941125699c
Added info for Rodea The Sky Soldier
2015-11-21 11:40:03 -05:00
Matthew Parlane
0e258d4621
Merge pull request #3152 from ShadowsFriend/ipl_checksum
...
Use CRC32 for IPL checks and update hashes
2015-11-20 14:37:13 +13:00
Pierre Bourdon
f571bdd7e3
Merge pull request #3274 from JosJuice/menu-capitalization
...
DolphinWX: More consistent capitalization in menus
2015-11-19 14:00:46 +01:00
Scott Mansell
2ca07f3485
Merge pull request #3272 from Sonicadvance1/we_love_traps
...
Use __builtin_trap for our crash define instead of int3/exit
2015-11-20 01:11:29 +13:00
Markus Wick
41f9d4f5fa
Merge pull request #3271 from Sonicadvance1/es_sampler_cache
...
Enable Anisotropic filtering in ES.
2015-11-19 12:42:16 +01:00
JosJuice
3778793df5
DolphinWX: More consistent capitalization in menus
2015-11-19 12:25:17 +01:00
Ryan Houdek
ed5e3c054e
Enable Anisotropic filtering in ES.
...
This adds a check to make sure the vendor supports anisotropic filtering.
Pretty much all vendors support this, even the mobile ones.
2015-11-19 02:00:43 -06:00
Lioncash
b9975694ab
InputConfig: Clean up controller management
2015-11-19 02:41:33 -05:00
Ryan Houdek
5f1fcf4c8d
Use __builtin_trap for our crash define instead of int3/exit
2015-11-19 00:49:42 -06:00
mathieui
680ebfeaa8
Reset the GC adapter rumble when stopping a game
...
And when loading a savestate, pausing, and starting dolphin as well
(right after the libusb initialization).
Intended fix for issue 9001
2015-11-18 20:48:48 +01:00
JosJuice
1c8938cd59
Rename "Purge Cache" to "Purge Game List Cache"
...
Users who have heard about the shader cache but not the game list cache
might think that "Purge Cache" will affect the shader cache.
2015-11-18 19:08:19 +01:00
Markus Wick
584ea8b320
Merge pull request #3206 from JosJuice/limit-filesystem-size-2
...
Limit size of loaded file systems
2015-11-18 10:43:47 +01:00
Markus Wick
f172cda50f
Merge pull request #3191 from lioncash/rekt
...
MathUtil: Minor changes to Rectangle
2015-11-18 10:40:54 +01:00
Markus Wick
0b123605de
Merge pull request #3235 from JosJuice/ssaa-checkbox
...
Remove SSAA checkbox and add SSAA to AA dropdown
2015-11-18 10:36:11 +01:00
degasus
ee2223c4a0
TextureCache: Fix crash for invalid textures.
2015-11-17 23:29:54 +01:00
JosJuice
2005409229
Do nothing when calling CopyToEmu with a length of 0
...
Gecko apparently tries to read 0 bytes from the DVD to 0x00000000.
2015-11-17 21:39:46 +01:00
Markus Wick
24c7d23073
Merge pull request #2149 from JosJuice/async-disc-io
...
Read disc data asynchronously in a new thread
2015-11-17 10:01:34 +01:00
Scott Mansell
d2b03e1aad
Remove individual byteswaps and replace with generic function.
2015-11-17 19:37:18 +13:00
JosJuice
1202c2ea35
Don't use GetPointer in DVDRead
2015-11-16 23:22:58 +01:00
JosJuice
e3b9e89f5a
Move DVDRead from DVDInterface to Boot
...
It was previously an important part of DVDInterface,
but since its usage there was replaced with DVDThread,
the only remaining uses of it are in Boot and Boot_BS2Emu.
2015-11-16 23:22:53 +01:00
JosJuice
555eb1162f
Memmap: Fix a CopyToEmu bug
...
ValidCopyRange incorrectly returned false and stopped a
CopyToEmu when pressing B+X+Start in some GameCube games
(for instance Metroid Prime) after the DVD thread was implemented
2015-11-16 23:22:49 +01:00
JosJuice
3d7afdae25
DVDThread: Performance logging
2015-11-16 23:22:44 +01:00
JosJuice
54ff4bd0cb
Read disc data asynchronously in DVDThread
...
This gives the CPU thread more time to do CPU things.
2015-11-16 23:22:20 +01:00
JosJuice
c119ad46d0
Create DVDThread (no multithreading yet)
2015-11-16 23:20:07 +01:00
Scott Mansell
eddea7f15f
Merge pull request #3181 from JosJuice/scrub-directories
...
Don't reserve space for directories when scrubbing
2015-11-17 10:37:09 +13:00
Markus Wick
1f3a81c7fb
Merge pull request #3101 from JosJuice/change-disc-fix
...
Synchronize DVDInterface::ChangeDisc with the CPU thread properly
2015-11-16 13:27:40 +01: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
Matthew Parlane
1124be0568
Merge pull request #3256 from Parlane/net_fix_poll
...
Don't send return-only events to poll
2015-11-16 16:13:49 +13:00
Scott Mansell
cea8c5bd56
Merge pull request #3262 from JosJuice/return-blobtype
...
DolphinQt: Fix typo of return m_blob_type;
2015-11-16 08:35:51 +13: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
degasus
087ba5268a
TextureCache: Rewrite EFB Copy control flow
2015-11-15 12:02:41 +01:00
degasus
dcdf8fd3ce
TextureCache: Split efb2ram from efb2tex
2015-11-15 11:59:52 +01:00
degasus
d7d8704353
D3D-TextureEncoder: Remove TCache::Entry usage
2015-11-15 11:59:52 +01:00
degasus
71b22702a1
OGL-TextureConverter: Keep care about the global state ifself
2015-11-15 11:59:52 +01:00
degasus
495902787c
OGL: Remove TCache::Entry usage in TextureConverter
2015-11-15 11:59:52 +01:00
TurboK234
6b9f4f5115
Added hotkeys for toggling different stereoscopy modes
2015-11-14 17:22:48 +02:00
James Cowgill
386159c74e
Remove uses of __DATE__ and __TIME__
2015-11-14 00:52:41 +00:00
Matthew Parlane
e023fddc96
Don't send return-only events to poll
...
Fixes some network issues where the game/system asked for POLLHUP specifically.
2015-11-14 09:10:55 +13:00
Scott Mansell
19e3fba59f
Merge pull request #3255 from mickdermack/pr-hidrace
...
Fix a race condition on shutdown between Memory and CWII_IPC_HLE_Device_hid
2015-11-13 23:54:33 +13:00
Michael Ehrenreich
3cbed527c2
Shut down HW in reverse initialization order
...
Fixes a race condition between Memory and CWII_IPC_HLE_Device_hid
2015-11-13 10:43:59 +01:00
Markus Wick
a498c684a2
Merge pull request #2304 from linkmauve/xdg-basedir
...
UICommon: Respect XDG Base Directory Specification on POSIX systems
2015-11-12 12:31:24 +01:00
Markus Wick
8924980b49
Merge pull request #3247 from lutris/master
...
Enable relocatable linux builds
2015-11-11 12:16:29 +01:00
Emmanuel Gil Peyrot
b61da5db54
FileUtil: Move ShaderCache to the Cache directory.
2015-11-10 21:53:30 +00:00
Emmanuel Gil Peyrot
e20b08491c
UICommon: Respect XDG Base Directory Specification on POSIX systems.
2015-11-10 21:53:29 +00:00
Mathieu Comandon
f2ae1a2545
Implement relocatable builds on Linux
...
- Change the path of the Sys folder to the executable's location
- Add LINUX_LOCAL_DEV flag to use relocatable version on Linux
- Add CMake definition for relocatable build
2015-11-10 12:49:04 -08:00
Tillmann Karras
df79398445
DiscIO: drop unused stuff
2015-11-10 17:03:08 +01:00
Scott Mansell
d6b2fcaa71
Merge pull request #3242 from phire/less-warnings
...
XFMem: Don't warn on writes of zero to unknown registers.
2015-11-10 00:20:02 +13:00
Scott Mansell
636bedb207
XFMem: Don't warn on writes of zero to unknown registers.
2015-11-08 14:59:55 +13:00
Scott Mansell
2d38a59044
NoGui: Return no to yes/no panic alerts.
...
Also, print to stderr instead of stdio.
2015-11-08 14:10:26 +13:00
Scott Mansell
973118511a
Merge pull request #2742 from AdmiralCurtiss/display-savestate-stats
...
Display Savestate information in Overlay and Menu.
2015-11-08 02:20:56 +13:00
Scott Mansell
bdbe8e3691
Merge pull request #3238 from phire/fifo_version_number_fixes
...
Fifoplayer: Load the Correct version number.
2015-11-08 01:50:26 +13:00
Scott Mansell
e6274284b0
Fifoplayer: Load the Correct version number.
2015-11-08 01:24:08 +13:00
Tillmann Karras
2ad901b2da
VideoCommon: drop unused variable/setter
2015-11-06 15:43:58 +01:00
Tillmann Karras
81d9cce70c
VideoCommon: rename TextureCache to TextureCacheBase
2015-11-06 15:43:58 +01:00
JosJuice
a0b99cfc51
Remove SSAA checkbox and add SSAA to AA dropdown
...
The checkbox is removed, and the dropdown now looks like this:
None
2x MSAA
4x MSAA
8x MSAA
2x SSAA
4x SSAA
8x SSAA
2015-11-06 11:22:53 +01:00
shuffle2
f26b3708e7
Merge pull request #3217 from dolphin-emu/shuffle2-patch-1
...
Add patch for ucrtbase 10.0.10240.16390 (Win8)
2015-11-05 15:37:19 -08:00
flacs
fd6b093a7e
Merge pull request #3234 from JosJuice/createintegerlabel
...
DolphinWX: Remove FifoPlayerDlg::CreateIntegerLabel
2015-11-05 12:42:15 +01:00
JosJuice
da603b7665
DolphinWX: Remove FifoPlayerDlg::CreateIntegerLabel
...
Being forced to have the number first and being forced to add the
same string for all pluralizations is terrible for localisation.
2015-11-05 11:35:13 +01:00
Scott Mansell
85144f5f77
Merge pull request #3233 from phire/remove-show-efb-copy-regions
...
[RFC] Remove the "Show EFB Copy Regions" debug option.
2015-11-05 21:04:34 +13:00
Scott Mansell
290466d57a
Merge pull request #3231 from spxtr/Pipes
...
Fix some bugs in Pipe input parsing
2015-11-05 20:31:03 +13:00
Scott Mansell
51c984dde3
Remove the "Show EFB Copy Regions" debug option.
...
It was only implemented in OpenGL, though the option was visible in both
backends, leading to memory leaks if you enabled it in DirectX.
And it wasn't particularly useful as a debug feature as it only showed
where in the EFB the copies were taken from, not what format it was, or
what the copy was used for, or what content was in the EFB at that point
in time.
Also, it stretched the copy regions relative to the window, so the
on-screen regions don't even line up with the window unless the game used
the full EFB (some pal games) and you game image stretched to the full
window.
2015-11-05 18:15:46 +13:00
Scott Mansell
ba7b7522be
BPStructs: add debug info for texture setup.
2015-11-05 00:13:25 +13:00
Scott Mansell
008386fc7f
Just a minor cleanup. Totally not the cause of random FifoCi failures.
...
This 'absolutely not' a read of uninitialized memory is '100% not'
the cause of our non-deterministic behavior on the Intel NUC.
If there was a such an error, it would show up on all FifoCi
backends equally. This is 'probably' unrelated to the fact that
the Intel NUC is the only fifoci runner not running under virtualization.
2015-11-04 23:23:35 +13:00
spxtr
4faf958fee
Fix some bugs in Pipe input parsing.
...
If there were two commands in the buffer at once, it would only run the
first because of an error in UpdateInput.
If you sent the command "SET C" it would segfault because of a logic
issue in ParseCommand.
2015-11-03 20:26:23 -08:00
Scott Mansell
05b06b7a21
Merge pull request #3227 from Tilka/sizeof
...
OGL: don't hardcode buffer sizes
2015-11-04 14:35:23 +13:00
Tillmann Karras
39313152ba
OGL: use StringFromFormat where appropriate
2015-11-04 01:56:02 +01:00
Scott Mansell
e161e714c7
Merge pull request #3226 from Tilka/shadergen
...
VideoCommon: return code/uid from shader gens
2015-11-04 13:42:49 +13:00
Lioncash
9cc4cffa1d
Merge pull request #3228 from Tilka/typedef
...
GLExtensions: remove duplicate typedefs
2015-11-03 19:24:10 -05:00
Tillmann Karras
bc38892db7
DriverDetails: remove BUG_BROKENINFOLOG leftovers
...
It was removed in 9618738278
.
2015-11-03 18:50:44 +01:00
Tillmann Karras
32cdd31200
GLExtensions: remove duplicate typedefs
2015-11-03 17:50:41 +01:00
Tillmann Karras
71d1eb3c31
VideoCommon: return code/uid from shader gens
...
rather than passing in non-const references
2015-11-03 14:40:23 +01:00
Ryan Houdek
c04358fbe2
Merge pull request #3222 from Tilka/vertexmanagerbase
...
VideoCommon: rename VertexManager to VertexManagerBase
2015-11-03 08:34:30 -05:00