JosJuice
9a0b70cc51
Fix encoding for savestate slots
...
StrToWxStr is needed, otherwise the string will not be read as UTF-8.
2015-12-17 11:25:14 +01:00
Tillmann Karras
659b42b614
JitArm64: simplify fcmpX
2015-12-16 21:17:36 +01:00
Tillmann Karras
94f0e2493c
JitArm64: fall back if FPSCR is used
2015-12-16 21:17:36 +01:00
Tillmann Karras
84b1e22246
PowerPC: rename fcmpx to fcmpX
...
lowercase: optional Rc bit
uppercase: generic placeholder
2015-12-16 21:17:36 +01:00
Tillmann Karras
d3dfdf7767
Interpreter: don't always set FPSCR.FX on NaNs
...
FPSCR.FX must only be set if an exception bit changes from 0 to 1.
SetFPException() already handles this correctly.
2015-12-16 21:17:36 +01:00
Markus Wick
cc6442734d
Merge pull request #3340 from ShadowsFriend/missing_icons_regression
...
DolphinWX: Fix items vanishing from toolbar
2015-12-16 17:50:51 +01:00
spxtr
f2e9321591
Repackage the unique_ptr in GameFile into a QSharedPointer.
2015-12-15 21:00:56 -08:00
Christian Widmer
9dd9a75dbe
DolphinWX: Fix items vanishing from toolbar
...
Commit 33487ab5f2
introduced a regression
where items would vanish from the toolbar. This adds a call to Realize()
after the reinsertions of the play/pause button as required per
documentation.
Thanks to Simonwayneee for noticing this!
2015-12-16 00:18:04 +01:00
Markus Wick
c310b3f0e6
Merge pull request #3309 from JosJuice/reload-banner-without-volume
...
Don't read from volume when reloading Wii banners
2015-12-15 18:48:49 +01:00
Markus Wick
2990df3f59
Merge pull request #3265 from JosJuice/volumedirectory-simplifications
...
DiscIO: Small VolumeDirectory simplifications
2015-12-15 18:36:49 +01:00
Markus Wick
e15b6e1a37
Merge pull request #3162 from lioncash/rast
...
Software: Minor changes to Rasterizer
2015-12-15 18:22:42 +01:00
Markus Wick
25a584626f
Merge pull request #3127 from JosJuice/read-return
...
DiscIO: Improve error handling for reading integers
2015-12-15 18:16:40 +01:00
Markus Wick
e4b83d17bf
Merge pull request #3270 from JosJuice/more-translations
...
Mark more strings for translation
2015-12-15 18:13:26 +01:00
Markus Wick
3e2ac3df43
Merge pull request #3292 from JosJuice/state-str
...
State: Don't use memcpy and memcmp with strings
2015-12-15 17:42:35 +01:00
Markus Wick
556371b2bc
Merge pull request #3333 from ShadowsFriend/pausebutton_fix
...
DolphinWX: Fix label change for the play/pause button
2015-12-15 17:40:25 +01:00
Markus Wick
67557e1f91
Merge pull request #3330 from lioncash/alloc
...
EXI/SI: Get rid of explicit delete and new
2015-12-15 17:38:52 +01:00
Markus Wick
164e045123
Merge pull request #3317 from lioncash/null
...
NullSound: Minor changes
2015-12-15 17:38:37 +01:00
degasus
e26d9f7c35
MSAA: Store samples in ini files.
2015-12-15 09:41:01 +01:00
JosJuice
cbfab2a754
DiscIO: Improve DiscScrubber::ReadFromVolume error handling
2015-12-14 10:01:38 +01:00
JosJuice
bd67333da9
DiscIO: Improve CBlobBigEndianReader error handling
2015-12-14 09:56:44 +01:00
JosJuice
c01265db34
DiscIO: Unify CBlobBigEndianReader
2015-12-14 09:38:23 +01:00
JosJuice
c7e747d775
DiscIO: Improve IVolume::Read32 error handling
...
Callers can now check whether reads fail, either by checking the return
value or by setting the buffer to a known bad value and seeing if it stays
untouched. I've added error checks to FileSystemGCWii and Boot_BS2Emu,
but not to Boot since it doesn't check any of its other reads either.
2015-12-14 09:38:21 +01:00
Pierre Bourdon
2e5c94865b
ZeldaHLE: Add support for New Play Control! Pikmin 1
2015-12-14 05:44:08 +01:00
booto
3899667c25
VI: wait until start of ACV to sample xfb addr
2015-12-14 10:44:54 +08:00
Jules Blok
3f7bf5ca93
VideoConfigDiag: Snap the convergence slider.
2015-12-13 22:58:38 +01:00
Jules Blok
ee657c04fe
VideoConfig: Change convergence setting to percentage value.
2015-12-13 22:58:16 +01:00
Pierre Bourdon
e670d29dfe
Merge pull request #3335 from ShadowsFriend/nopch_fix
...
Core: Fix build with portaudio enabled and pch disabled
2015-12-13 22:26:42 +01:00
Christian Widmer
5818d72af4
Core: Fix build with portaudio enabled and pch disabled
...
Includes cstring in EXI_DeviceMic.cpp to fix the undeclared function
errors for memset and memcpy when building with portaudio enabled and
pch disabled. Also adds the std:: prefix to those function calls
because there is no guarantee that they are put in the global namespace
when using cstring.
Thanks to David Brooke for noticing this!
2015-12-13 19:44:54 +01:00
Ryan Houdek
d9999bf30c
Fix minor memory leak in WGL interface.
...
Would have a memory leak on game end
2015-12-13 11:42:18 -06:00
Ryan Houdek
78dda1cf79
[OGL] Update extension checks in Render.
...
This was relying on behaviour that GLExtensions was adding fake extensions to the supported list with ES.
This no longer happens so it needed to be changed.
2015-12-13 11:39:45 -06:00
Ryan Houdek
b620b26f8f
[GLExtensions] Improve the extension loader.
...
This removes some nonsense in the extension loader where under an ES context we would still pull all function pointers and just continue onward if we
fail to pull one.
Now function pointers are only pulled if the version of GL or ES actually supports that function.
2015-12-13 11:37:07 -06:00
Ryan Houdek
6d2fd8ae37
[GLExtensions] Support ORing of extensions when checking for support.
...
Makes my life easier.
2015-12-13 11:35:55 -06:00
Christian Widmer
33487ab5f2
DolphinWX: Fix label change for the play/pause button
...
This fixes changing the play/pause button's label depending on the
emulation state. Before, wxToolBarToolBase's SetLabel() function was
used. This function, however, is not implemented in wxGTK which leads to
the label not changing on linux when the button is clicked. Although the preferred
method (according to the wxWidgets documentation) to change the properties
of a tool is to use the toolbar's setters, there is no such setter for
the label. Therefore, this implements a workaround where the
button is deleted and readded afterwards with the updated properties.
Thanks to linkmauve for noticing this!
2015-12-12 23:28:34 +01:00
Lioncash
cc75f2ea14
SI: Get rid of explicit delete and new
2015-12-12 14:41:45 -05:00
Lioncash
272054ec94
EXI_Device: Get rid of explicit delete and new
2015-12-12 14:39:40 -05:00
degasus
814a7da102
ConfigManager: Add get/set for missing ini options.
2015-12-12 09:52:57 +01:00
degasus
b806792d6c
JitArm64: Fallback on FPRF usage.
2015-12-12 01:56:50 +01:00
degasus
cfe65e0e91
JitArm64: Fix single precision
2015-12-12 01:56:50 +01:00
Ryan Houdek
cb5be45f72
Merge pull request #3200 from degasus/master
...
Throttler + Mixer: Configureable variance
2015-12-11 07:04:56 -05:00
Pierre Bourdon
8acf8cf4d0
Merge pull request #3245 from jloehr/RealWiimote-Windows-Fix
...
[RFC]Real Wiimote Windows "-TR" Fix
2015-12-11 04:01:38 +01:00
Lioncash
392c1335b7
Interpreter: Get rid of some aliasing casts
2015-12-09 19:14:53 -05:00
Lioncash
f7977fdee5
Jit: Fall back to interpreter when frsp's record bit is set
2015-12-09 14:11:45 -05:00
Lioncash
3acf165787
Interpreter: Update CR when FRSP's record bit is set
2015-12-09 12:51:53 -05:00
Lioncash
a98bddc352
Interpreter: Remove underscore from frsp's parameter
2015-12-09 12:50:50 -05:00
Rohit Nirmal
5a7e0aba70
Fix building with PCH disabled.
2015-12-08 16:57:37 -06:00
Markus Wick
2e40c614c5
Merge pull request #3325 from stenzek/d3d-screenshot-crash-fix
...
D3D: Fix crash when taking screenshot with crop enabled
2015-12-08 21:18:01 +01:00
Stenzek
5dcd3cd4fd
D3D: Fix crash when taking screenshot with crop enabled
...
This was due to specifying negative source coordinates for the texture copy, which must lie within the bounds of the source and destination textures.
The behavior now is to clamp the copy region to [0 <= size <= backbuffer size], resulting in a copy region that can be smaller than the backbuffer, but never larger.
2015-12-09 02:38:24 +10:00
JosJuice
a27610ff17
MainAndroid: Fix size logging
2015-12-08 12:37:51 +01:00
Markus Wick
49cd777fce
Merge pull request #3324 from lioncash/alloc
...
DiscIO: Get rid of a few explicit deletes
2015-12-08 12:03:54 +01:00
Stenzek
63264ac23f
D3D: Fix EFB depth buffer copies, filtering on scaled EFB copies when MSAA is enabled, real XFB filtering
...
Since ResolveSubresource cannot be used with depth textures (and throws an error with the debug layer enabled), use a shader which selects the minimum depth value from all samples.
Changes the sampler by XFBEncoder to use a linear filter, rather than point, to match GL behavior.
2015-12-08 20:29:21 +10:00
Lioncash
6295297ab3
DiscIO: Get rid of a few explicit deletes
2015-12-08 04:35:56 -05:00
Markus Wick
3e3e6073f7
Merge pull request #3316 from sepalani/fix_poll
...
WSAPoll: Fixed - invalid argument was supplied
2015-12-08 09:01:52 +01:00
Bartosz Kaszubowski
4655cd01fa
minor General Config GUI improvements
...
- theme and language selectors wrapped into one GridBagSizer for better
appearance
- missing left padding added to checkbox on Advanced Pane
2015-12-08 02:13:32 +01:00
Markus Wick
9719804cd2
Merge pull request #3320 from lioncash/factory
...
DiscIO: Make factory methods return unique_ptrs
2015-12-07 19:12:15 +01:00
Lioncash
edbbf493f8
DiscIO: Make factory methods return unique_ptrs
...
Rather than rely on the developer to do the right thing,
just make the default behavior safely deallocate resources.
If shared semantics are ever needed in the future, the
constructor that takes a unique_ptr for shared_ptr can
be used.
2015-12-07 05:57:37 -05:00
Lioncash
e7b98e27ab
EXI: Use std::array and std::unique_ptr for managing channels
2015-12-06 14:51:55 -05:00
Julian Löhr
e076098a95
Fix "-TR" Wiimotes on Windows 8/8.1/10, by using WriteFile for sending
...
"-TR" Wiimotes don't accept output reports via the Control Channel. HidP_SetOutputReports will send the data via the Control Channel, whereas WriteFile will send it via the Interrupt Channel. Therefore using WriteFile enables "-TR" Wiimotes on Windows. There are some issues to be aware of. First the Toshiba Bluetooth Stack needs the output report buffer to have the size of the largest output report supported by the device. This requirement is also enforced by the Windows 7 default stack. However the Toshiba Stack, will only send the actual report bytes to the device, whereas on Windows 7 the full resized buffer is sent, resulting in an error on the Wiimote. This issue renders WriteFile unusable on Windows 7 with the default stack. On Windows 8/8.1/10 this requirement is somehow not implemented and it is possible to send smaller buffers via WriteFile to the device, enabling "-TR" Wiimotes.
2015-12-06 20:17:58 +01:00
Julian Löhr
03fc048006
Add Methods to check for Toshiba Stack
...
Check is done by checking the driver provider property of the HID Class Driver. As the Toshiba Bluetooth Stack provides its own.
The initial enumerated device node is a empty hid interface node. Therefore first one node is moved up and then the provider property check is done.
2015-12-06 18:19:05 +01:00
Julian Löhr
2b39219367
Remove explicit Wait on Overlap Event
...
GetOverlappedResult also waits on the event internally (See https://msdn.microsoft.com/en-us/library/windows/desktop/ms683209(v=vs.85).aspx ). So instead of explicitly waiting for it before, use its wait. To distinguish between cancel and complete, the status of the request is used, which is saved in the "Internal" member (See https://msdn.microsoft.com/en-us/library/windows/desktop/ms684342(v=vs.85).aspx ).
2015-12-06 18:16:08 +01:00
degasus
f511e539c2
VideoSW: Use Zero for undefined colors.
2015-12-06 12:39:18 +01:00
degasus
7b34319e53
ShaderGen: Toggle value of uninitialized color.
...
SMS seems to need 0, no regressions either.
2015-12-06 12:39:18 +01:00
Lioncash
7762d68c4b
Rasterizer: Mark some references as const
2015-12-06 02:51:36 -05:00
Lioncash
0608ed5130
Rasterizer: Specify internal linkage on Draw
...
It's not exposed in the header.
2015-12-06 02:51:34 -05:00
Lioncash
a0924b5e1b
Rasterizer: Convert BLOCK_SIZE into a constant variable
2015-12-06 02:51:33 -05:00
Lioncash
2793785e0c
Rasterizer: Get rid of a clamp macro
2015-12-06 02:51:28 -05:00
Lioncash
9b921c2e7c
Rasterizer: Get rid of a trivial pointer cast
2015-12-06 02:44:06 -05:00
Lioncash
0917db7fc0
NullSound: Use std::array for the buffer
2015-12-05 18:13:55 -05:00
Lioncash
0d4baa0744
NullSound: Replace header define with private constant
2015-12-05 18:13:49 -05:00
Lioncash
f6c247d10e
WII_IPC_HLE_Device_usb: const correctness for function parameters
...
The data passed in isn't modified in these functions
Also normalizes variables with prefixed underscores in the modified
functions (and normalizes outliers to our current coding style), as
single-underscore followed by any lowercased/uppercased character is
reserved for use in the global namespace (it's a common misconception this
is assumed to only be the case for underscores followed by a capital
character, but this is only the case in C, not C++).
2015-12-05 16:14:37 -05:00
Sepalani
e1e6d2ba2c
WSAPoll: Fixed - invalid argument was supplied
2015-12-05 19:39:17 +01:00
spxtr
a06b0d87a7
Refactor proxy models and toolbar.
...
Remove the ugly LARGE_ICON column hack from the table proxy and use a
list proxy. Move the toolbar into its own file.
2015-12-03 20:41:17 -08:00
Pringo
b6f16b3049
Remove Google Code Reference and Fix Grammar
2015-12-03 18:20:59 -08: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
Markus Wick
297f6a097d
Merge pull request #3307 from Pringo/update-url
...
Update Issue Tracker URL in Comment
2015-12-03 17:27:43 +01:00
Lioncash
e0eef7bef4
WaveFile: Get rid of an explicit delete
2015-12-02 20:05:18 -05:00
Scott Mansell
a759883ae5
Merge pull request #3126 from phire/remove-logging-lock
...
Refactor logging code to get rid of a mutex.
2015-12-03 13:32:07 +13:00
Markus Wick
6425ddcbe7
Merge pull request #3253 from Phatcat/master
...
More wiimote controls (+extensions) for android
2015-12-02 22:50:29 +01:00
Phatcat
ca9c9b7135
Wiimote + Extensions for Android
2015-12-02 21:58:54 +01:00
degasus
f3b6afe1c5
ConfigManager: initialize m_revision
...
FifoPlayer don't set it, and don't need it. But it's used...
2015-12-02 21:37:12 +01:00
degasus
d28c9ae354
VideoSW: Wipe output vertices
...
They shall be overwritten afterwards.
2015-12-02 21:37:12 +01:00
Pringo
aaa67ca57e
Update Issue Tracker Link in Comment
2015-12-02 09:01:28 -08:00
JosJuice
f41990af38
Remove incorrect usage of _trans
...
It only marks a string for translation. It doesn't actually do anything
at runtime, so the message will always be displayed in English. Even if
we would've had a way to make the translation work, we shouldn't
translate this, because OSD doesn't support non-ASCII characters.
Caused by the recent merge 1c95cd5
.
2015-12-02 17:13:04 +01:00
Markus Wick
abbc25f662
Merge pull request #2788 from TurboK234/3d_hotkeys
...
Added hotkeys for toggling different stereoscopy modes
2015-12-02 15:24:59 +01:00
Markus Wick
3ed29cce0c
Merge pull request #2733 from AdmiralCurtiss/string-from-float
...
IniFile: Fix floating point number locale issues.
2015-12-02 15:22:42 +01:00
Markus Wick
1c95cd5ad5
Merge pull request #2745 from AdmiralCurtiss/wiimote-disconnect-message
...
Display a message on screen when the emulated software disconnects a Wiimote.
2015-12-02 15:13:29 +01:00
Markus Wick
a3433e162a
Merge pull request #3149 from ShadowsFriend/fname_column
...
DolphinWX: Add a filename column
2015-12-02 15:04:36 +01:00
Markus Wick
ec6a48ff76
Merge pull request #2876 from CastellaFactory/master
...
[Netplay] Add "Force Netplay Listen Port" feature that was in old netplay branch
2015-12-02 14:20:47 +01:00
Markus Wick
b0dbb6ef46
Merge pull request #3067 from JosJuice/cheat-manager-regression
...
Fix Cheat Manager not saving created codes
2015-12-02 14:08:32 +01:00
Markus Wick
4a40e7b405
Merge pull request #3111 from JosJuice/wx-banner-scaling
...
DolphinWX: Improve HBC banner scaling
2015-12-02 13:59:13 +01:00
Pringo
d8d6c0122e
Update Error Log to Remove Old Issue Tracker URL
2015-12-01 19:57:10 -08:00
Markus Wick
52204c7296
Merge pull request #3299 from phire/JJ_Abrams
...
Fix lens flares in Mario Kart Wii.
2015-12-01 09:07:09 +01:00
Andrew Wickham
d9f1523a7b
Make cast from int to float explicit in shader
...
This should fix this panic message I saw when playing Super Mario Strikers:
Failed to compile pixel shader [...]: error C7011: implicit cast from "int" to "float"
2015-11-30 13:35:46 -08:00
Scott Mansell
03461915a7
Fix lens flares in Mario Kart Wii.
2015-12-01 05:25:38 +13:00
Markus Wick
02d5981b22
Merge pull request #3290 from JosJuice/compression-condition
...
DolphinWX: Correct a compression condition
2015-11-30 13:53:50 +01:00
Ryan Houdek
21b708106c
Make sure not to use a GL texture buffer past the max size.
...
The spec says that vendors can set the max texture size to be 65KB and we want 1MB.
Check the maximum supported and drop to the max if it is less than 1MB
2015-11-30 01:18:03 -06:00
Brian Bowman
507b7920e9
Fix typo in anti-aliasing dropdown description
2015-11-29 14:28:26 -06:00
Scott Mansell
97231aa221
Merge pull request #3294 from spxtr/DQt2-GameProxyModel
...
DolphinQt2: Use a proxy model for the GameList
2015-11-30 07:48:54 +13:00
spxtr
59bdeb411c
Use a proxy model for the GameList.
...
This lets us sort by the underlying integers while only displaying the
icons. Currently, in both DolphinQt and DolphinQt2, we display both the
icon and the integer, but cut off the column width to not show the
integer. We also currently sort by the size's formatted string, not by
the size itself, which leads to "1 MB" sorting to less than "2 KB". This
commit fixes these issues.
In the future, we can use the filter methods here to allow for
searching for games.
2015-11-28 10:00:03 -08:00
Scott Mansell
97cd723492
Merge pull request #3286 from jloehr/Wiimote-Rumble-LED-Fix
...
Fix Prepare (Set LEDs and Rumble) on Connect and Refresh
2015-11-29 00:58:18 +13:00
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
Stenzek
5e803c3db3
D3D: Fix EFB->XFB copies incorrectly scaling, match GL behavior
2015-11-28 20:04:36 +10: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
0d3c763126
State/Movie: Use char instead of u8 for game ID
...
Gets rid of casts.
2015-11-28 09:36:48 +01: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
JosJuice
2b0bdc361f
State: Don't use memcpy and memcmp with strings
2015-11-27 17:36:34 +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
02f476cd09
FifoRecorder: Fix bug with normal vertex arrays.
...
Detected by the previous commit. We had forgotten to make sure the
Vertex Loader's table of normal sizes is initilzied, resulting in
the wrong offsets/sizes being used for vertices with normals.
2015-11-23 23:02:42 +13:00
Scott Mansell
3a36bfbcbb
FifoAnalyzer: Double check command size while recording.
...
Since we now return the value, might as well check it's correct.
2015-11-23 23:02:41 +13:00
Scott Mansell
17b7102b35
FifoAnalyzer: Remove layer of indirection.
2015-11-23 23:02:40 +13:00
Scott Mansell
9872f5b518
FifoAnalyzer: Remove old code that was meant to handle EFB copies
...
It wasn't working, I'm not really sure why.
Since #2997 we rely on video common to mark efb copies 'written'
during recording, and for old dffs we just ignore the bad texture
while playing back in the texture cache.
2015-11-23 23:02:39 +13:00
Scott Mansell
0367c3107d
FifoAnalyzer: Unify DecodeOp/DecodeCommand
...
We actually discovered a bug while combining the two functions with
FifoRecordAnalzyer's vertex array loading code. If per-vertex
postion or texture matrices were enabled and vertex arrays in use
then the wrong data would be used to calculate the minimum/maxmium
indices, which would result in either too much or too little vertex
data being included in the dff.
So this commit also increments the dff version number, so we can
identify old broken dffs later.
2015-11-23 23:02:38 +13:00
Scott Mansell
1656b2788d
FifoAnalyzer: Convert FifoPlaybackAnalyzer to namespace
2015-11-23 23:02:38 +13:00
Scott Mansell
da7fb568de
FifoAnalyzer: Convert FifoRecordAnalyzer to namespace.
...
And a few minor cleanups.
2015-11-23 23:02:37 +13:00
Scott Mansell
9b60fd2381
FifoAnalyzer: remove un-implemented header
2015-11-23 23:02:35 +13: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
JosJuice
74ea765427
Mark more strings for translation
2015-11-20 11:33:47 +01: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
Michael Ehrenreich
02546ff82b
JIT x64: Recalculate flags on add/sub
2015-11-17 20:19:02 +01:00
JosJuice
3a9e382661
DiscIO: Small VolumeDirectory simplifications
2015-11-17 10:09:54 +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
comex
e602eac4f9
Synchronize DVDInterface::ChangeDisc with the CPU thread properly.
...
This addresses a bit of thread unsafety mentioned in a comment, and
fixes a 'ScheduleEvent_Threadsafe from main thread' message.
To make this work nicely, make PauseAndLock call DeclareAsCPUThread -
i.e. while you have the CPU thread locked, you can consider yourself the
CPU thread.
2015-11-03 12:42:05 +01:00
Markus Wick
3de1ec384a
Merge pull request #3223 from JosJuice/qt-international
...
DolphinQt: Add international flag to Resources
2015-11-03 10:24:36 +01:00
degasus
888c377b57
Throttler + Mixer: Configureable variance
2015-11-03 08:22:36 +01:00
Sintendo
c4b56f06f9
Fix a few typos
2015-11-02 21:17:43 +01:00
JosJuice
bef3feba6f
DolphinQt: Add international flag to Resources
...
It exists since 93e46631
.
2015-11-02 16:06:27 +01:00
Tillmann Karras
a656c05be2
VertexManagerBase: fix indentation
2015-11-02 11:53:54 +01:00
Tillmann Karras
c52c73f762
VideoCommon: VertexManager -> VertexManagerBase
...
It may be a bit weird to see calls to static functions in
VertexManagerBase now, but at least it's easier to see what's going on.
2015-11-02 11:53:54 +01:00
Pierre Bourdon
89f6451513
Merge pull request #3218 from Tilka/components
...
VideoCommon: flush vertex manager if components change
2015-11-02 11:41:43 +01:00
shuffle2
baf438fc9f
Merge pull request #3213 from phire/bitfield
...
Bitfield: Add .natvis for easier debugging of BitFields in Visual Studio
2015-11-01 23:06:21 -08:00
Scott Mansell
0245b1219b
Correct capitalization of 'Visual Studio'
2015-11-02 17:12:09 +13:00
Tillmann Karras
983978ee66
VideoCommon: flush vertex manager if components change
2015-11-01 22:39:31 +01:00
Pierre Bourdon
839dd2cd9d
Merge pull request #3219 from JosJuice/5.0-stable-fixes
...
Various fixes from the abandoned 5.0 stable
2015-11-01 21:09:18 +01:00
JosJuice
6dce8b4deb
DiscScrubber: Add another nullptr check
2015-11-01 20:30:49 +01:00
JosJuice
61c8ce2711
Fix GC software crashing at boot if no disc is inserted
...
Same fix as 0b44d7c
, plus a way to skip loading the apploader
just like EmulatedBS2_Wii has been able to do for a long time.
2015-11-01 20:29:48 +01:00
shuffle2
bfffd997cd
Update ucrtFreadWorkaround.cpp
2015-11-01 10:52:33 -08:00
Scott Mansell
2ccd5a5928
Bitfield: Add BSD license to match BitField.h
...
Also, fix typo.
2015-11-01 18:01:51 +13:00
Anthony Serna
013d55227b
[DolphinWX] Added warning to Wii disc compression
2015-10-31 12:08:14 -07:00
Pierre Bourdon
31f21057d9
DolphinWX: Remove the dolphin-emulator.com check.
...
This check is not useful anymore since that website is not running their own
buildbots anymore. It's also trivially bypassable -- it just happened to work
when the builds were fully automated over there.
2015-10-30 22:14:19 +01:00
Scott Mansell
f0e5232fe0
Bitfield: And then mess things up again by handling signed fields.
...
This is way more messy than it should be.
2015-10-30 14:05:14 +13:00
Scott Mansell
9125ab8304
BitField: Clean .natvis up slightly by using CDATA.
2015-10-30 14:04:40 +13:00
Scott Mansell
bfac1c73f0
Bitfield: Add .natvis for easier debugging in Visual Studio
2015-10-30 12:30:22 +13:00
Tillmann Karras
7066689131
ShaderCaches: remove unneeded typedefs
2015-10-29 14:43:05 +01:00
Tillmann Karras
f9512ece77
OGL/ProgramShaderCache: small cleanup
...
Drop an unused function and privatize the cash, er, I mean cache.
2015-10-29 13:51:25 +01:00
Scott Mansell
9154347f5b
Merge pull request #3187 from lioncash/accum
...
FifoAnalyzer: Replace loop with std::accumulate
2015-10-29 10:30:38 +13:00
Scott Mansell
1984416df4
Merge pull request #3186 from lioncash/dsp
...
DSPJitRegCache: Minor changes
2015-10-29 10:29:26 +13:00
JosJuice
6c25c63301
Limit size of loaded file systems
...
If a disc image is malformed in a specific way, Dolphin
will try to allocate a lot of memory, making it crash.
To avoid that, this change adds an artificial limit for
the size of file systems that Dolphin will try to load.
2015-10-28 21:47:19 +01:00
Lioncash
e76b1f2d56
Merge pull request #3170 from spxtr/pipes
...
Implemented GC Controller inputs via named pipes.
2015-10-28 16:39:57 -04:00
Scott Mansell
09b27e854c
Merge pull request #3201 from Tilka/swizzle
...
VertexLoaderX64: optimize more color swizzles
2015-10-29 09:39:09 +13:00
Scott Mansell
44a40642f3
Merge pull request #2704 from RisingFog/frameadvancehold
...
Add Frame Advance Hold Hotkey Functionality
2015-10-28 15:31:03 +13:00
Tillmann Karras
b0d5b4483e
VertexLoaderX64: optimize more color swizzles
...
Based on https://gist.github.com/rygorous/c5dba8c6c75bc83aa4ae , but with
a small tweak and a somewhat related change for the 565 case.
2015-10-25 14:51:07 +01:00
Scott Mansell
bd20dd3962
Merge pull request #3188 from lioncash/texcache
...
TextureCacheBase: Change CacheLinesPerRow to BytesPerRow
2015-10-25 17:46:43 +13:00
Lioncash
7a6ff8a95b
DSPJitRegCache: Make the allocation array part of the DSPJitRegCache class
2015-10-24 23:36:18 -04:00
Lioncash
6b297ebcff
DSPRegCache: Class access level formatting
2015-10-24 23:32:12 -04:00
spxtr
d9d6cf8eda
GC controller input using named pipes
...
Currently only works on unix, but can be extended to other systems. Can
also be extended to do wiimotes.
Searches the Pipes folder for readable named pipes and creates a dolphin
input device out of them. Send controller inputs to the game by writing
to the file. Commands are described in Pipes.h.
2015-10-24 20:20:03 -07:00
Lioncash
fe10a20be1
Merge pull request #3195 from lioncash/android
...
Arm64Emitter: Minor changes
2015-10-24 12:06:53 -04:00
Sepalani
6b662280a9
MemoryCheckDlg: Fix event buttons
2015-10-23 20:37:29 +02:00
Scott Mansell
4c5c33c514
VertexShader: Remove 'special case' that has been disabled forever.
2015-10-23 19:02:51 +13:00
Lioncash
2630752ffe
Arm64Emitter: Get rid of a pointer cast
2015-10-22 15:32:11 -04:00
Lioncash
018c85c248
Arm64Emitter: Mark trivial functions as constexpr
2015-10-22 15:22:38 -04:00
Tillmann Karras
33784456a5
VertexLoaderTester: drop superfluous newlines
2015-10-22 16:31:02 +02:00
Tillmann Karras
2a58802c00
VertexLoaderManager: symbolize magic constant
2015-10-22 16:31:02 +02:00
Tillmann Karras
d80124ab59
VertexLoaderX64: optimize 4444 color conversion
...
https://gist.github.com/rygorous/75133a50c60f9243366e
2015-10-22 16:30:56 +02:00
Lioncash
c28e3affc5
TextureCacheBase: Change CacheLinesPerRow to BytesPerRow
2015-10-22 08:14:43 -04:00
Lioncash
f696b323c0
WII_IPC_HLE: Remove unused typedef
2015-10-21 13:43:22 -04:00
Lioncash
10c1fd7f38
MathUtil: Make Rectangle constructors and equality operator constexpr
2015-10-20 20:30:36 -04:00
Lioncash
09641ec313
MathUtil: Default initialize Rectangle class data members
...
Puts Rectangles into a valid state upon creation
2015-10-20 20:30:16 -04:00
Lioncash
695ffefef7
FifoAnalyzer: Replace loop with std::accumulate
2015-10-19 10:29:00 -04:00
Markus Wick
dddc834c14
Merge pull request #3184 from mimimi085181/check-hash-on-partial-texture-updates
...
Check the hash before applying efb copies as partial texture updates
2015-10-19 09:44:24 +02:00
Scott Mansell
1ba600b688
Merge pull request #3145 from catzilla4/master
...
FreeBSD Compilation fix
2015-10-19 17:29:34 +13:00
mimimi085181
ff709247e2
Check the hashes of efb copies before applying them as partial texture updates
2015-10-18 16:36:38 +02:00
JosJuice
4d77d12f01
Remove length parameter from DiscScrubber::ReadFromVolume
...
The function only makes sense when the length is 4. All current callers
use the length 4, so this change doesn't affect any behavior.
2015-10-18 09:24:31 +02:00
Scott Mansell
2be909849b
Merge pull request #3180 from phire/fix-gles
...
Make sure FORCE_EARLY_Z is defined for GLES
2015-10-18 14:58:22 +13:00
flacs
15131575c1
Merge pull request #3183 from JosJuice/discscrubber-getdolsize
...
Remove DiscScrubber::GetDOLSize in favor of IFileSystem::GetBootDOLSize
2015-10-18 01:05:09 +02:00
JosJuice
618ccf6109
Remove DiscScrubber::GetDOLSize in favor of IFileSystem::GetBootDOLSize
...
IFileSystem::GetBootDOLSize acts the same. The only difference is that it
reads the DOL offset on its own, but this change makes that optional.
2015-10-17 20:52:26 +02:00
JosJuice
1ec9c6393a
Don't reserve space for directories when scrubbing
...
The offset in a directory FileInfo is an FST offset, not a disc offset.
Treating it as a disc offset doesn't make sense. Directories don't take
up space outside of the FST, so they don't need to be marked as used. The
old behavior may have prevented some scrubbable areas from being scrubbed.
2015-10-17 17:30:23 +02:00
Scott Mansell
9ee610830c
Make sure FORCE_EARLY_Z is defined for GLES
2015-10-18 02:37:14 +13:00
Scott Mansell
8b1138943d
Merge pull request #3179 from phire/mesa-early-z
...
Support Conservative Depth as a fallback for Early Z (Mesa support for ZCompLoc)
2015-10-18 02:14:52 +13:00
Scott Mansell
e7b2a22225
Support Conservative Depth as a fallback for EarlyZ
...
Allows Mesa based drivers to support ZCompLoc
2015-10-18 01:46:54 +13:00
shuffle2
34d46d6910
Merge pull request #3178 from shuffle2/ucrt-fread-workaround
...
patch win7 ucrtbase, and note versions
2015-10-17 05:02:18 -07:00
shuffle2
0acac35d77
patch win7 ucrtbase, and note versions
2015-10-17 04:24:20 -07:00
Markus Wick
4d3d947efc
Merge pull request #3157 from degasus/videosw3
...
VideoSW: Wipe alpha on bypass EFB
2015-10-17 12:02:55 +02:00
Scott Mansell
ac8976689b
Merge pull request #3177 from Tilka/fix_warnings
...
PixelShaderGen: silence -Wformat-security warnings
2015-10-17 17:44:29 +13:00
flacs
e289cb87e5
Merge pull request #3161 from shuffle2/ucrt-fread-workaround
...
exchange XSaveWorkaround for ucrtFreadWorkaround
2015-10-17 05:41:40 +02:00
Shawn Hoffman
ca31c62c01
exchange XSaveWorkaround (which was fixed in VS2015) for ucrtFreadWorkaround (which was broken in VS2015).
2015-10-16 20:26:34 -07:00
flacs
63b08618c2
Merge pull request #3174 from ShadowsFriend/generic_build_fix
...
VideoCommon: Add includes for generic build
2015-10-17 05:08:30 +02:00
flacs
dc096d2fe5
Merge pull request #3176 from lioncash/namespace
...
Core: Move a global into a namespace
2015-10-17 05:07:55 +02:00
Tillmann Karras
1df455bd13
PixelShaderGen: silence -Wformat-security warnings
2015-10-17 05:05:50 +02:00
flacs
d85344bd58
Merge pull request #3155 from degasus/videosw
...
VideoSW: Split up OGL window handling
2015-10-17 04:56:44 +02:00
Lioncash
c756025902
Core: Move a global into a namespace
2015-10-16 22:52:41 -04:00
Ilia Mirkin
2fc2b82963
VideoCommon: teach gcc to type-check the arguments fed to Write()
...
Note that the "this" implicit argument counts as 1, which is why all the
printf arguments are shifted over one.
2015-10-16 18:20:37 -04:00
Ilia Mirkin
5380fd9dba
VideoCommon: fix variable types fed to Write() function
2015-10-16 18:20:36 -04:00
Christian Widmer
252a3d16c2
VideoCommon: Add includes for generic build
...
On x86_64 and arm64 builds Common/MsgHandler.h and Common/Logging/Log.h are
indirectly included through the corresponding VertexLoaders, Emitters
and lastly Assert.h. Because the generic build does not build a vertex
loader JIT it does not include those and fails at compile time.
Thanks to HdkR and mibofra!
2015-10-16 20:18:27 +02:00
Lioncash
1b3307043b
DSPHLE: Remove duplicated struct
...
This is already present in the DSPHLE class directly
2015-10-16 13:02:21 -04:00
flacs
05e339a605
Merge pull request #3139 from JosJuice/fix-wii-root
...
Mark which Wii root to use in the NAND path code
2015-10-16 16:49:34 +02:00
Markus Wick
d12b026ecb
Merge pull request #3165 from mimimi085181/partial-texture-updates-same-offset
...
Do not try to load strided efb copies or ones with wrong dimensions
2015-10-16 10:02:36 +02:00
comex
c22d1d68ab
Mark which Wii root to use in the NAND path code.
...
It's used by both the GUI to do things like install WADs and check up on
the system menu, in which case the global root should be used, and by
/dev/es, in which case the local one should. The latter isn't
*terribly* useful today, since no contents will ever be installed in
temporary roots (although it's still relevant for data directories), but
converting the whole thing makes sense because then it will Just Work
once the entire NAND is synced.
Because it would have been a bit of work to split it up (but I can if
desired), this commit also contains some basic cleanup of
NANDContentLoader:
(1) The useless interface class INANDContentLoader is removed and the
methods are changed to just return CNANDContentLoader (the only
implementation);
(2) CNANDContentManager is changed to use unique_ptr and cleaned up a
bit.
2015-10-16 09:10:39 +02:00
flacs
0d0704453e
Merge pull request #3070 from lioncash/vert
...
VertexShaderManager: Get rid of float pointer casts.
2015-10-16 05:48:27 +02:00
flacs
e57f1796b5
Merge pull request #3114 from lioncash/ui
...
ControllerConfigDiag: Amend button sizing issues on hi-DPI displays
2015-10-16 05:48:07 +02:00
Lioncash
419fed3952
VertexShaderManager: Get rid of other magic constants
2015-10-15 23:41:42 -04:00
Lioncash
b5b304cff2
VertexShaderManager: Get rid of float pointer casts
2015-10-15 23:34:54 -04:00
Lioncash
03986c6fad
UCodes: Simplify ExramRead
2015-10-15 22:48:22 -04:00
Lioncash
c420c52308
UCodes: Get rid of pointer casts
2015-10-15 22:45:03 -04:00
mimimi085181
af28934703
Do not delete strided efb copies on load
...
This hopefully allows to use partial texture updates with strided efb copies that start at the same offset as the loaded texture
2015-10-15 00:45:55 +02:00
degasus
b69bff0690
VideoSW: Use OpenGL Core context
2015-10-14 00:13:54 +02:00
degasus
61c3a0d9e4
VideoSW: Split up OGL window handling
...
This removes OSD support for video software, but it was already broken before.
This commit does not try to fix coding style issues, the rewrite of this presentation API is splitted up.
2015-10-14 00:13:54 +02:00
flacs
b0bbe52cc9
Merge pull request #3164 from phire/samplerArrays
...
PixelShaderGen: Use arrays of texture samplers.
2015-10-12 18:44:14 +02:00
flacs
97fbbecdc4
Merge pull request #3168 from Tilka/miniupnpc
...
CMake: simplify FindMiniupnpc.cmake
2015-10-12 14:32:57 +02:00
flacs
4c3dc0c1ae
Merge pull request #3047 from Tilka/decompress_for_md5
...
DolphinWX: decompress discs to calculate MD5 hash
2015-10-12 05:21:34 +02:00
flacs
4467c762d7
Merge pull request #3166 from Tilka/wiimote_state
...
Wiimote: simplify DoState() parameters
2015-10-12 05:21:21 +02:00
Tillmann Karras
00aefa5e08
DolphinWX: decompress discs to calculate MD5 hash
2015-10-12 02:35:43 +02:00
Tillmann Karras
efe71e686b
DiscIO: implement CISOBlob::GetDataSize()
...
This is a best-effort approach, since the CISO format does not save the
original file size.
2015-10-12 02:33:38 +02:00
Tillmann Karras
1a8e2e16e3
DiscIO: implement WbfsBlob::GetDataSize()
2015-10-12 02:33:04 +02:00
Tillmann Karras
a92b4bda95
DiscIO: fix reading the last sector in WBFS
...
Instead of rounding down, round up.
2015-10-12 02:31:51 +02:00
Tillmann Karras
3a2efc9f4f
DiscIO: merge initial WBFS reads
2015-10-12 02:31:51 +02:00
Tillmann Karras
f416106eec
DiscIO: pre-swap WLBA
2015-10-12 02:31:51 +02:00
Tillmann Karras
b1100e4aa0
DiscIO: use std::min() in WBFS
2015-10-12 02:31:51 +02:00
Tillmann Karras
4eace2b49e
CMake: simplify FindMiniupnpc.cmake
...
miniupnpc.h provides MINIUPNPC_API_VERSION since 1.7 and we require 1.7
or later, so there is no reason to have version detection code for older
versions.
2015-10-12 02:26:35 +02:00
Tillmann Karras
9f8981c7c0
VertexLoaderUtils: remove simple wrapper functions
2015-10-11 23:40:50 +02:00
Tillmann Karras
ae999cb43c
Wiimote: simplify DoState() parameters
2015-10-11 23:37:34 +02:00
Scott Mansell
645e4cbbee
PixelShaderGen: Use arrays of texture samplers.
2015-10-12 05:06:39 +13:00
Christian Widmer
b99d1a0a20
Fix OProfile discovery and drop bfd dependency
...
Adds a cmake module to correctly discover OProfile and adjusts the
corresponding CMakeLists to make use of it. Additionally removes
linking against the bfd library when compiling with OProfile because
Dolphin does not use it.
2015-10-11 16:27:03 +02:00
flacs
c4fe2cd287
Merge pull request #3147 from ShadowsFriend/qtinstall_fix
...
DolphinQt: Install binary for systems not matching APPLE
2015-10-11 15:54:02 +02:00
flacs
94d20131bb
Merge pull request #3151 from ShadowsFriend/memtools_unistd
...
Include unistd.h in memtools.cpp to fix nopch
2015-10-11 15:52:40 +02:00
flacs
e389a3cafe
Merge pull request #3131 from delroth/fifo-pad
...
FifoDataFile: Revert PadFile changes from 4.0-1127.
2015-10-11 15:50:24 +02:00
flacs
a7b6ae8f2c
Merge pull request #3160 from Tilka/style
...
Misc. style fixes
2015-10-11 15:36:06 +02:00
flacs
f3c88137e7
Merge pull request #2798 from lioncash/search
...
Debugger: Use wxSearchCtrls instead of wxTextCtrl for address searching.
2015-10-11 15:29:59 +02:00
flacs
fe164e3a90
Merge pull request #3137 from lioncash/namespace
...
StreamADPCM: Convert into a namespace
2015-10-11 15:27:45 +02:00
flacs
a9d6448777
Merge pull request #3150 from lioncash/iter
...
NANDContentLoader: Replace a string rbegin() call with a back() call
2015-10-11 15:26:51 +02:00
Christian Widmer
3fdaf377b0
DolphinWX: Add a filename column
2015-10-11 05:29:01 +02:00
Christian Widmer
4d78aea41d
DolphinWX: Add items to visible columns only
...
Before the columns of the gamelist were filled with content regardless
of their visibility. This led to display bugs when certain columns, for
example the region column, were hidden.
The first problem was the InsertItemInReportView() function because it
refilled all columns with content on every call to update() without
checking for their visibility. While this issue would have easily been solved
by adding conditionals before each column update, the maker column would
have still caused problems for it autohides on resize and those do not
call update(). Therefore it was necessary to move the column update logic
from InsertItemInReportView() to a new one that allows for seperate
modification of an item's columns.
2015-10-11 05:01:59 +02:00
Admiral H. Curtiss
1772eeb32f
State.cpp: Extract the savestate version logic into its own function for clarity.
2015-10-11 03:21:44 +02:00
Tillmann Karras
99228633c3
OGL: simplify AA modes initialization
2015-10-10 22:51:31 +02:00
Admiral H. Curtiss
429f4ea158
SaveState/DolphinWX: Display time and date of savestate next to the load/save/select slot menu options.
2015-10-10 22:20:05 +02:00
Admiral H. Curtiss
16272f4975
SaveState/DolphinWX: Display time and date of savestate when a slot is selected, or Empty if no savestate exists in the slot.
2015-10-10 22:14:22 +02:00
Tillmann Karras
0f1b287402
Misc. style fixes
2015-10-10 17:44:42 +02:00
Tillmann Karras
19a490a82d
Linux: detect perf and default map dir to /tmp
...
This obviously only works when Dolphin is run by perf rather than being
started separately.
2015-10-10 16:42:53 +02:00
degasus
d4e447555e
VideoSW: Wipe alpha on bypass EFB
...
Alpha must not be displayed.
2015-10-10 11:45:39 +02:00
Christian Widmer
5fbf8f561b
Use CRC32 for IPL checks and update hashes
...
This changes the hashing algorithm from Adler32 to CRC32 for it
is more widely used and therefore makes it easier to verify hashes.
For example the Redump database does provide CRC32 hashes, while it
doesn't have Adler32 ones.
Additionally adds new hashes from the bugtracker and the forums and
removes unknown ones.
2015-10-09 14:36:30 +02:00
Christian Widmer
1dd4c93f0c
DolphinQt: Install binary for systems not matching APPLE
2015-10-09 11:11:41 +02:00
Christian Widmer
6eb6fa9bf8
Include unistd.h in memtools.cpp to fix nopch
...
Fixes falling back to generic on non-windows builds with PCH disabled
leading to runtime crashes and the pagefault test failing. Thanks to
HdkR!
2015-10-09 11:08:17 +02:00
Lioncash
737de5e115
StreamADPCM: Convert into a namespace
...
No need to have a class with only static member functions
2015-10-08 19:46:55 -04:00
Lioncash
66a576548c
ConfigManager: Get rid of an unnecessary smart-pointer get() call
2015-10-08 19:36:28 -04:00
Scott Mansell
71d7cd6b9d
DolphinWX: Make UpdateLog() return in a finite time.
...
After fixing the deadlock in #3006 , it is now possible for log
messages to flood in faster than UpdateLog can render them.
This causes it to never return, locking up the gui thread and
filling the windows message queue (which triggers the stack
overflow bug in older versions of Wx)
2015-10-09 12:14:04 +13:00
Lioncash
307ef88af6
DSPEmitter: Rename Default() to FallBackToInterpreter()
2015-10-08 12:45:14 -04:00
Lioncash
5f181957b3
NANDContentLoader: Replace a string rbegin() call with a back() call
2015-10-07 09:47:26 -04:00
catzilla4
867a1beb9f
Added some headers to allow Dolphin to compile in my environment.
2015-10-06 19:09:57 -05:00
shuffle2
ec28d7df92
Merge pull request #3144 from lioncash/dsp
...
DSPIntCCUtil: Minor changes
2015-10-06 13:03:11 -07:00
shuffle2
1c97da4942
Merge pull request #3132 from sepalani/fix_mbedtls
...
mbedTLS: fix blocking read
2015-10-06 13:01:57 -07:00
Christian Widmer
1fc1f00162
Include cstring in Hash.cpp to fix building without PCH
2015-10-06 14:59:56 +02:00
Lioncash
f53d060d70
DSPIntCCUtil: Remove unused function GetMultiplyModifier
2015-10-05 19:40:11 -04:00
Lioncash
1a989985c1
DSPIntCCUtil: Mark translation local functions as static
2015-10-05 19:39:09 -04:00
Sepalani
8efd5d1a74
WSAGetLastError: fix return value
2015-10-06 00:15:20 +02:00
Chris Burgener
5edb2bfea1
Fix wxWidgets Error in About Window
2015-10-05 13:36:53 -04:00
shuffle2
3b1375f78c
Merge pull request #3134 from lioncash/namespace
...
CPU: Convert CCPU into a namespace
2015-10-04 14:22:50 -07:00
shuffle2
55ea9e77e6
Merge pull request #3135 from lioncash/dsp
...
DSPCore: Convert defines over to enums
2015-10-04 14:22:02 -07:00
shuffle2
552c1f51d8
Merge pull request #3068 from mickdermack/pr-block-input
...
Block WX input when detecting controls
2015-10-04 14:19:44 -07:00
Lioncash
b730ad4406
DSPCore: Convert defines over to enums
2015-10-04 16:42:30 -04:00