Scott Mansell
37e532322b
Port dump XFB option to Qt UI.
...
Looks like the option was added to the Wx UI at commit 198d3b69 , which
was a few months after the advancedWidget was originally ported from
Wx to Qt, but before anyone was actually using Qt.
2021-05-27 12:48:36 +12:00
Scott Mansell
610613ee76
Use correct mask for Fake VMem
...
Shouldn't have any behaviour change for regular usage as both masks are 32MB
by default.
But fixes theoretical buffer overrun when memory size override is used.
2021-05-23 05:54:02 +12:00
Scott Mansell
9f91fb6447
Merge pull request #9688 from Filoppi/input_cleanup
...
Input cleanup
2021-05-14 20:51:33 +12:00
Scott Mansell
ab55c948a1
Update zcompression format change TODO
2021-05-05 11:32:42 +12:00
Scott Mansell
a4796e512a
Implement EFB Peeks for compressed z16 formats
...
This fixes an issue in RS3 where engine lens flares would shine
though ships during cutscenes
2021-05-05 11:32:29 +12:00
Scott Mansell
ffc40c1a00
Merge pull request #8777 from delroth/pospost
...
XFMemory: SETPOSMTXINFO should be SETPOSTMTXINFO
2020-04-29 15:50:07 +12:00
Scott Mansell
54fd83dc4b
Merge pull request #8553 from dolphin-emu/document-evdev-heuristic
...
Document the evdev "interesting" heuristic
2020-01-07 22:54:54 +13:00
Scott Mansell
a8c33f4ef6
Fix trailing whitespace
2020-01-07 12:52:05 +13:00
Scott Mansell
21528c3e72
Document the evdev "interesting" heuristic
...
Was checking over this old code, and saw a comment calling me out for a lack of documentation.
It might be half a decade late, but better late then never.
2020-01-07 12:46:24 +13:00
Scott Mansell
ac77df9e90
Merge pull request #8490 from vadosnaprimer/dumping
...
2 minor dumping fixes
2019-11-25 10:38:44 +13:00
Scott Mansell
93d7b3d159
Merge pull request #8432 from jordan-woyak/hotkey-indicator-fix
...
DolphinQt: Make HotkeyScheduler call UpdateInput when hotkeys are disabled.
2019-11-07 10:05:54 +13:00
Scott Mansell
677a0903a1
FifoPlayer: Use std::move for saving callbacks
2019-09-09 11:38:21 +12:00
Scott Mansell
46f4f69cfd
QtFifoPlayer: handle fifo load before window creation
...
Fixes a bug where if you loaded a fifo before opening the fifo
player window (which you can do by dragging a .dff onto dolphin's
main window) then the player's widgets wouldn't be initilized
correctly.
Importantly, the object range widgets would be broken.
2019-09-09 10:36:31 +12:00
Scott Mansell
033f1d725f
Fix un-initialized powerpc.xer_* variables
2019-04-27 15:38:02 +12:00
Scott Mansell
c27ee22a15
Add vscode to .gitignore
2019-04-27 10:36:16 +12:00
Scott Mansell
a192a3bb30
While I'm here, fix some chroma sub-sampling bugs.
...
RE4's brightness screen is actually very good for spotting these.
Bug 1: Colors at the end of the scanlines are clamped, instead of a black
border
Bug 2: U and V color channels share coordinates, instead of being offset
by a pixel.
2018-04-29 17:56:53 +10:00
Scott Mansell
fc96479f12
VideoSoftware: Implement xfb copy filter (Deflickering/Brightness)
2018-04-29 17:56:51 +10:00
Scott Mansell
0e6d01220a
Fix change in comment meaning by autoformat.
2018-04-13 09:20:27 +12:00
Scott Mansell
3b5cad6682
Merge pull request #5860 from jturcotte/fix-macos-nswitch-axis
...
Fix axis not working with Switch Pro controller on macOS
2017-08-07 13:44:07 +12:00
Scott Mansell
479abde9f4
BPMemory: Convert a number of unions to BitFields
2017-07-30 17:43:59 +10:00
Scott Mansell
e6476b805e
Merge pull request #5008 from ligfx/aspectheuristic
...
VideoCommon: rework anamorphic widescreen heuristic
2017-04-10 11:30:34 +12:00
Scott Mansell
4c0a392698
Merge pull request #4715 from iwubcode/efb_copy_corruption_at_higher_ir
...
Add configurable toggle to round vertices to nearest pixel
2017-04-05 19:41:52 +12:00
Scott Mansell
d1b343ab5a
Merge pull request #4976 from ligfx/fixwxcommandlineassertion
...
DolphinWX: provide empty OnCmdLineParsed
2017-02-27 15:10:01 +13:00
Scott Mansell
38f399bdfc
Merge pull request #4947 from JMC47/WallaceGromitSaving
...
Force Wallace and Gromit in Pet Zoo to use smaller memory card
2017-02-23 09:52:20 +13:00
Scott Mansell
d8479869dc
Merge pull request #4914 from Rastaban/master
...
C++ conformance fixes (MSVC /permissive-)
2017-02-16 18:48:01 +13:00
Scott Mansell
5da565a1a1
Merge pull request #4735 from degasus/jitcache
...
Jit64: Enable branch following.
2017-01-28 15:48:01 +13:00
Scott Mansell
e41858232d
Merge pull request #4720 from lioncash/si-stub
...
SI_Device: Move the null device implementation to its own source files
2017-01-23 15:46:37 +13:00
Scott Mansell
ed95115c17
Merge pull request #4220 from aldelaro5/memcheck-interface-improvements
...
Redo the MemCheck add dialog
2016-09-28 13:46:25 +13:00
Scott Mansell
4c004b6dc9
Merge pull request #4131 from aldelaro5/memoryViewer-memChecks-improvements
...
Add the configuration of how a memory check is added via the memory window
2016-09-15 10:46:07 +12:00
Scott Mansell
514ce3c6ed
Merge pull request #4201 from EmptyChaos/interpreter-coretiming
...
Interpreter/CachedInterpreter/JitArm64: Fix CoreTiming::Advance usage
2016-09-15 09:57:00 +12:00
Scott Mansell
a7566ea037
Merge pull request #4213 from sepalani/map_align
...
PPCSymbolDB: Rename unknown variable
2016-09-15 09:54:46 +12:00
Scott Mansell
ea7e734496
Merge pull request #4186 from aldelaro5/registerView-update-fix
...
Fix registerView updates issues when stepping over or stepping out
2016-09-14 18:10:41 +12:00
Scott Mansell
4e595ca25f
Merge pull request #4208 from aldelaro5/more-debugger-font-fix
...
Fix the debugger font not appearing on the captions of panes (DSP)
2016-09-14 18:09:28 +12:00
Scott Mansell
d5c25a8990
Merge pull request #4207 from aldelaro5/debugger-floating-window-fix
...
Debugger: Fix some floating window issues
2016-09-14 18:08:23 +12:00
Scott Mansell
65c1df34f4
Merge pull request #4198 from aldelaro5/memory-breakpoint-fix
...
Fix the memChecks breaking a second time after hitting one and unpausing
2016-09-12 14:51:47 +12:00
Scott Mansell
fe41dff228
Fix the master build.
2016-09-07 20:10:03 +12:00
Scott Mansell
d951f9e765
Merge pull request #3771 from phire/pr3771
...
Remove instant ARAM DMA hack (Fixes Sarge's War)
2016-09-07 19:09:39 +12:00
Scott Mansell
42e91dd815
Merge pull request #4189 from phire/efb_linear_downsampling
...
EFB2RAM: Downsample higher resolutions with linear filtering.
2016-09-07 17:44:16 +12:00
Scott Mansell
62d7a698da
Merge pull request #4145 from tenthmile/WiiOrientationModifier
...
Emulated Wiimote Orientation Modifier
2016-09-07 14:20:02 +12:00
Scott Mansell
7311cd8b6e
Merge pull request #4137 from aldelaro5/memCheck-crash-fix
...
Fix a crash when adding the first memory check while the game is running
2016-09-07 14:19:19 +12:00
Scott Mansell
ac6013bff3
Merge pull request #4134 from RisingFog/move_advancepane_disable
...
Fix advanced config panel staying disabled after TAS recording
2016-09-07 14:18:00 +12:00
Scott Mansell
f5e870bbe5
Merge pull request #4135 from RisingFog/remove_wii_limits_rtc
...
Fix issues with Custom RTC when set past the year 2038
2016-09-07 14:05:58 +12:00
Scott Mansell
366a38a917
Merge pull request #4142 from mbc07/IPC_HLE_usb_ven
...
[IPC HLE] Implement /dev/usb/ven with very basic functionality
2016-09-07 13:51:55 +12:00
Scott Mansell
dbface94ea
And remove the feature from the Arm64 jit too.
2016-09-07 12:53:14 +12:00
Scott Mansell
c354dfcd2f
Remove instant ARAM DMA mode.
...
Now that our timings are much more accurate it doesn't look like we
need it anymore. And the instant ARAM DMA mode + scheduling fixes
ctually breaks ATV: Quad Power Racing 2 (causing all sorts of werid
bugs).
2016-09-07 12:53:14 +12:00
Scott Mansell
f5c70a4b27
EFB2RAM: Downsample higher resolutions with linear filtering.
2016-09-07 11:17:32 +12:00
Scott Mansell
3e0355e7f6
Merge pull request #4184 from EmptyChaos/wii_ipc-init
...
WII_IPC_HLE: Fix Reinit
2016-09-06 15:51:30 +12:00
Scott Mansell
5932ded806
Merge pull request #4183 from aldelaro5/if-simplification-slowmem
...
Simplify an if condition after PR #4078
2016-09-06 13:20:58 +12:00
Scott Mansell
d29dae207a
Merge pull request #4078 from comex/alwaysUseMemFuncs-for-write
...
Don't use the fast path when there are watchpoints enabled, for writes too
2016-09-06 04:55:17 +12:00
Scott Mansell
0119f1302f
Merge pull request #4177 from phire/useless_cases
...
BPStructs: remove case statements which never match.
2016-09-06 00:56:09 +12:00
Scott Mansell
a665743b70
BPStructs: remove case statments which never match.
...
Visual Studio's code analyzer complains about these.
2016-09-06 00:40:49 +12:00
Scott Mansell
f5fa5a7d32
Merge pull request #4168 from EmptyChaos/coretiming-cleanup
...
Core: CoreTiming Cleanup (Add UnitTests)
2016-09-04 11:48:54 +12:00
Scott Mansell
a32bb8f1b9
Movie: Fix null pointer derefrence.
...
Part of the acceleration data is packed in with the buttons. We
always have button data when we have acceleration data.
2016-09-03 16:46:48 +12:00
Scott Mansell
0e7424b359
VideoSoftware: Fix unsigned overflow bug in fog
...
Was causing fog errors on the left half of the screen.
Only appeared to affect visual studio builds, GCC did the correct
thing.
2016-09-02 10:12:44 +12:00
Scott Mansell
def0b42fb7
Merge pull request #4161 from OrN/wxwidgets-build-fix
...
Fix wxWidgets build for 32-bit arch
2016-08-31 11:29:04 +12:00
Scott Mansell
efac0cf8fe
Merge pull request #4156 from phire/interlaced_panic
...
VideoInterface: Fix panic alert on interlaced fields.
2016-08-29 23:10:55 +12:00
Scott Mansell
c4786ad70e
Merge pull request #4151 from phire/fix_lswx
...
Fix bug in interpreter's lswx. Was overwriting extra register.
2016-08-29 23:10:23 +12:00
Scott Mansell
17e64b75a5
VideoInterface: Fix panic alert on interlaced fields.
...
For some reason this was only showing up in video software.
Not sure why.
2016-08-29 23:08:23 +12:00
Scott Mansell
fc2b0e0f45
Simplify lswx loop.
2016-08-29 22:57:37 +12:00
Scott Mansell
fc969388f0
Merge pull request #4152 from aldelaro5/debugger-font-fix
...
Fix the Debugger font not appearing on the captions of panes
2016-08-29 11:17:59 +12:00
Scott Mansell
967c371d7a
Zero case behaviour confirmed by hardware test
...
Modify comments to reflect this
2016-08-28 09:48:29 +12:00
Scott Mansell
ab3eedcc33
While I'm here, stswx should wrap too.
2016-08-27 14:15:43 +12:00
Scott Mansell
5b47635b3f
Fix bug in interpreter's lswx. Was overwriting extra register.
...
When n was a multiple of 4, the old implementation would overwrite
the following register with 0.
This was causing Not64 to crash.
Thanks to Extrems for spotting this.
2016-08-27 14:15:42 +12:00
Scott Mansell
0fbf72cbf1
Merge pull request #4140 from Armada651/ww-depth
...
D3D: Correctly invert the viewport depth range.
2016-08-24 02:28:53 +12:00
Scott Mansell
92f165d756
Merge pull request #4144 from aldelaro5/debugger-insertInstruction-fix
...
Invalidate the icache when inserting a nop or a BLR
2016-08-24 00:22:24 +12:00
Scott Mansell
f1964f90d6
Merge pull request #4129 from RisingFog/hahahahahahahahahaha
...
Fix a really stupid GLSL version parsing bug
2016-08-20 08:48:28 +12:00
Scott Mansell
0015d2e86b
Merge pull request #4121 from leoetlino/osreport-sjis
...
Convert OSREPORT text from SJIS to UTF-8
2016-08-15 16:04:07 +12:00
Scott Mansell
088f7eaa3d
Merge pull request #4110 from JosJuice/fix-exi-translations
...
Fix choosing certain localized EXI devices
2016-08-11 12:39:36 +12:00
Scott Mansell
e577ffaee5
Merge pull request #4107 from JosJuice/no-immediate-scheduleevent
...
Remove Immediate variants of ScheduleEvent
2016-08-11 12:13:49 +12:00
Scott Mansell
d56ae505dd
Merge pull request #4101 from meffij/SIDevicesEnumFix
...
clean up bounds checking for SIDEVICE_ENUM
2016-08-09 06:09:52 +12:00
Scott Mansell
2304d76914
Merge pull request #4060 from dolphin-emu/revert-4004-dynamic-bat
...
Revert "JitCache: Support for VMEM + MSR bits"
2016-07-27 13:07:32 +12:00
Scott Mansell
6834b4cb27
Revert "JitCache: Support for VMEM + MSR bits"
2016-07-27 11:15:25 +12:00
Scott Mansell
66b11c5198
Merge pull request #4044 from CharlesCorrin/CharlesCorrin-WD9.ini
...
Update WD9.ini
2016-07-22 08:49:57 +12:00
Scott Mansell
7139b6bae6
Merge pull request #4024 from bentley/swap
...
Undefine OpenBSD's system byteswap macros to pick up generic functions.
2016-07-18 15:51:05 +12:00
Scott Mansell
ff3b4a0fd7
Merge pull request #4020 from bentley/fstat64
...
Use the standard stat()/fstat() interfaces, not nonstandard *64().
2016-07-18 12:22:33 +12:00
Scott Mansell
cb63bacd65
Merge pull request #4006 from EmptyChaos/dqt2-warning
...
DolphinQt2: Startup Warning
2016-07-13 18:27:01 +12:00
Scott Mansell
6b48b62872
Merge pull request #3973 from phire/StripSpaces
...
Strip whitespace from Evdev and OSX controller names.
2016-07-12 14:44:47 +12:00
Scott Mansell
e0839a9478
Strip whitespace from Evdev and OSX controller names.
2016-07-12 14:19:07 +12:00
Scott Mansell
708fb35fdb
Merge pull request #3878 from mathieui/enable-cheats-for-jmc-the-cheater
...
Sync the "enable cheat" setting over netplay
2016-07-05 21:36:02 +12:00
Scott Mansell
69bf05b302
Merge pull request #3976 from JosJuice/shutdown-clear-codes
...
PatchEngine: Clear active codes on shutdown
2016-07-05 21:13:48 +12:00
Scott Mansell
20449ec91f
Don't forget to initalize your variables.
2016-06-30 20:27:19 +12:00
Scott Mansell
35566316ed
XFB: Send image to screen at start of field.
...
This is much more accurate to the hardware, and saves around 16ms
of latency.
2016-06-28 15:12:43 +12:00
Scott Mansell
d958388617
VideoCommon: Fix some warnings.
2016-06-26 23:10:31 +12:00
Scott Mansell
b16333a25c
Merge pull request #3716 from degasus/coretiming
...
CoreTiming: Drop ProcessFifoWaitEvents.
2016-06-26 22:13:05 +12:00
Scott Mansell
ee9e3432cb
Merge pull request #3513 from phire/make_hdkr_happy
...
Get shadergen ready for Multithreadded generation of shaders.
2016-06-26 21:55:22 +12:00
Scott Mansell
2f134c5c36
Remove the rest of ShaderDebugging.
...
Without UID checking, it's basically a no-op that disables shader cache
and stores the shader source code (without ever reading it back).
2016-06-26 16:25:11 +12:00
Scott Mansell
ebe5fd0b36
Multithreadded Shadergen: Minor fixups.
2016-06-26 16:13:22 +12:00
Scott Mansell
95469ec225
Remove UID Checker.
...
Kind of pointless now that multiple shaders with the same UID are
now fundementally impossible.
2016-06-26 16:13:22 +12:00
Scott Mansell
24e5d21780
Multithreadded Shadergen: Second pass over Pixel Shadergen.
...
Note: It's not 100% perfect, as some of the GPU capablities leak into the
pixel shader UID.
Currently our UIDs don't get exported, so there is no issue. But someone
might want to fix this in the future.
2016-06-26 16:13:21 +12:00
Scott Mansell
1a831cfc7d
Multithreadded Shadergen: Second Pass over vertex/lighting Shadergens
...
As much as possible, the asserts have been moved out of the GetUID
function. But there are some places where asserts depend on variables
that aren't stored in the shader UID.
2016-06-26 16:13:21 +12:00
Scott Mansell
28c7113e41
Multithreadded Shadergen: Second Pass over geometery Shadergen
2016-06-26 16:13:21 +12:00
Scott Mansell
fa02f47729
Multithreadded Shadergen: First pass over geometery Shadergen.
2016-06-26 16:13:20 +12:00
Scott Mansell
4969415f38
Remove global refrences from common code.
...
Bug Fix: Previously vertex shaders and geometery shaders didn't track
antialaising state in their UIDs, which could cause AA bugs
on directx.
2016-06-26 16:13:20 +12:00
Scott Mansell
0d996f512b
Multithreadded Shadergen: First pass over pixel Shadergen
...
Bug Fix: It was theoretically possible for a shader with depth writes
disabled to map to the same UID as a shader with late depth
writes.
No known test cases trigger this.
2016-06-26 16:13:20 +12:00
Scott Mansell
e99364c7c9
UID Change: Fix bug with indirect stage UIDs
...
Bug Fix: The normal stage UIDs were randomly overwriting indirect
stage texture map UID fields. It was possible for multiple
shaders with diffrent indirect texture targets to map to
the same UID.
Once again, it dpesn't look like this bug was ever triggered.
2016-06-26 16:13:19 +12:00
Scott Mansell
03f2c9648d
Shader UID change: Only store the two bits of components we need.
...
This frees up 21 bits and allows us to shorten the UID struct by an entire
32 bits.
It's not strictly needed (as it's encoded into the length) but I added a
bit for per-pixel lighiting to make my life easier in the following
commits.
2016-06-26 16:13:19 +12:00
Scott Mansell
53c402dbc5
Multithreadded Shadergen: First Pass over vertex/lighting Shadergens
...
The only code which touches xfmem is code which writes directly into
uid_data.
All the rest now read their parameters out of uid_data.
I also simplified the lighting code so it always generated seperate
codepaths for alpha and color channels instead of trying to combine
them on the off-chance that the same equation works for all 4 channels.
As modern (post 2008) GPUs generally don't calcualte all 4 channels
in a single vector, this optimisation is pointless. The shader compiler
will undo it during the GLSL/HLSL to IR step.
Bug Fix: The about optimisation was also broken, applying the color light
equation to the alpha light channel instead of the alpha light
euqation. But doesn't look like anything trigged this bug.
2016-06-26 16:13:19 +12:00
Scott Mansell
131c65c41e
NullVideo: Fix up Visual studio solution.
...
Turns out visual studio really wants tabs in it's solutions.
2016-06-26 14:30:14 +12:00
Scott Mansell
2ec3a24e4e
analytics: Collect less data about controllers.
...
The name field can contain personal information, particularly in the
case of bluetooth devices on OSX which get configured with the user's
full name.
2016-06-22 17:02:30 +12:00
Scott Mansell
3dfea6e996
analytics: Collect controller information.
...
Collects the existence of a gamecube adapter, and the type of
whatever controller is configured for the first emulated gamepad.
2016-06-21 01:48:28 +12:00