nattthebear
c1caa3e346
More crusty progress
2020-06-28 10:21:36 -04:00
adelikat
cacf04f8ca
N64pluginConfig - replace Label wtih LocLabelEx
2020-06-28 09:04:16 -05:00
adelikat
4d53efcf85
N64 plugin config - use property grid in video plugin tabs
2020-06-28 09:04:16 -05:00
adelikat
ff4eda68c8
N64 plugin config - remove use of GameInfo that was nonsense. It was setting per game hacks to GameInfo settings if enabled, but these values are already overridden on RomLoad, so this code was doing nothing
2020-06-28 09:04:16 -05:00
YoshiRulz
314dc391ae
Fix typo
...
these are backwards; fixes 73a905214
2020-06-28 19:45:39 +10:00
YoshiRulz
73a905214e
Fix possible bug when symlinking EmuHawkMono.sh
2020-06-28 19:42:49 +10:00
zeromus
bc0849ad9d
add a path entry for libretro ROM, even though it doesn't make sense, because it just isn't worth making sure every consumer of the ROM path is prepared for the possibility that ROM may be missing. This fixes #2176 , but there's any number of other settings we could choose.
2020-06-27 22:32:51 -04:00
YoshiRulz
4f7c1a0b76
Enable nullability in AxisSpec and related types
2020-06-26 15:03:28 +10:00
YoshiRulz
d0f96339ce
Fix reboot.png; no clue what was wrong but the warning is gone
...
for reference, I converted it to .bmp and back w/ ImageMagick
the warning was to stderr and it read `libpng warning: sRGB: cHRM chunk does not
match sRGB`
2020-06-26 14:45:33 +10:00
YoshiRulz
69146b04b2
Add and use DEBUG-conditional WriteLine methods
2020-06-26 14:37:36 +10:00
diddily
46e744cd33
Catch and retry when DirectSound crashes (squashed PR #2166 , fixes #1212 )
...
* Handling for BufferLost
Fixes issue #1212 where adding/removing headphones would lead to a crash by restoring the sound device when it's detected and being defensive with exception handling.
* Internalize the handling of buffer lost and make it a bit more efficient.
Remove interface function for SoundLost and move the logic to soley live inside DirectSoundOutput. Additionally I discovered I did not need to tear down the entire device to restore sound, typically Restore() and Play() handle it. Still need to wrap every place that can throw an exception in a try/catch block and wait for WriteSamples to handle it.
* Update DirectSoundSoundOutput.cs
Logic is hard.
* Retry limiter added to recovery
Added a self reducing retry counter that will try to start sound 5 -> 4 -> 3 -> 2 -> 1 times each time it tries to recover until it succeeds, at which point the counter returns to 5. This allows for quicker attempts at recovery without the risk of an infinite loop or terrible performance from sleeping 10 ms.
2020-06-26 11:56:27 +10:00
adelikat
312f029b0b
Ram Watch - user LocLabelEx
2020-06-25 18:13:08 -05:00
YoshiRulz
3d8ed7483f
Move axis types to own files
2020-06-26 09:00:33 +10:00
YoshiRulz
a0c8f722d2
Use constraints for grouping, add new class for unconstrained pairs
...
e.g. for Intellivision `_controllerDeck.Definition.Axes["P1 Disc X"].PairedAxis`
gives "P1 Disc Y"
2020-06-26 08:53:10 +10:00
YoshiRulz
1e67fc1d4b
Use inheritance for AxisConstraints
2020-06-26 08:43:17 +10:00
YoshiRulz
15906af6e4
Merge AxisRange into AxisSpec
...
was going to move only Mid but this made more sense
2020-06-26 08:08:58 +10:00
YoshiRulz
6cb60aa9fd
Merge AxisControls, AxisRanges, and AxisConstraints into a single dict
2020-06-26 08:08:58 +10:00
adelikat
af2649d9a0
move icon references in designer files to the main files before the designer eats them
2020-06-25 16:32:29 -05:00
adelikat
09a6f54735
add icon back to LogWindow AddToDatabase button, that got eaten by the designer at some point
2020-06-25 09:40:19 -05:00
adelikat
39535eacda
RomStatus picker - remove image setting out of designer before it gets eaten by a designer based change
2020-06-25 09:18:33 -05:00
adelikat
371a7bd4f3
use MainForm.thing instead of GlobalWin.thing in some places, this is marginally better, maybe
2020-06-25 08:52:53 -05:00
alyosha-tas
49cb426a59
GBHawk: Double speed mode timing fix
2020-06-24 17:17:46 -04:00
nattthebear
6ff2d801e6
memoryblock experiments continue
2020-06-23 15:01:49 -04:00
scrimpeh
85d140c4b5
ram watch: allow duplicate identical ram watches
...
Allows duplicating identical Ram Watches. Previously, the Duplicate Watch dialog would silently discard a new watch if the address didn't change. As a side effect, multiple watches can now be duplicated simulatenously. This commit also removes the check for separate memory domains - it doesn't seem to cause any problems
2020-06-23 11:55:37 -05:00
scrimpeh
d6994ea1af
ram watch: watches are deleted by index
...
If you have two watches with an identical address, deleting one will always delete the first one. This commit fixes that
2020-06-23 11:55:37 -05:00
adelikat
c13430896f
remove empty controller mappings from defctrl, also remove duplicates that caused it to be invalid json (.net happily was deserilizing it anyway), don't save empty mappings when saving from the ui
2020-06-22 19:54:36 -05:00
adelikat
93c47b87b9
Controller config - take label width into account when generating columns
2020-06-22 18:11:31 -05:00
nattthebear
1ce0905deb
Minor zwinder tweaks
...
Change the implementation of state eviction slightly. The result is identical, but this is slightly easier to understand and will be needed to allow an evicted state to be read before eviction.
2020-06-22 18:52:18 -04:00
nattthebear
92525576cc
more krusty krab
2020-06-22 18:15:11 -04:00
zeromus
e3dd8870c6
fix hq2x shader ( fixes #2160 )
2020-06-21 21:52:49 -04:00
adelikat
b9f59337dd
fix Saturn and NGP default controls
2020-06-21 17:31:28 -05:00
adelikat
29a492fc2a
fix pc-fx controller name to match old name
2020-06-21 17:22:00 -05:00
adelikat
123f1b3c99
default controls for Nyma PCE cores
2020-06-21 16:27:06 -05:00
nattthebear
53c2318b56
nyma - activate controller deck names
2020-06-21 16:55:41 -04:00
adelikat
cf4a0176a3
bk2 mnemonic lookups - we have a lot of keyboards now, make fkeys standard mnemonics instead of core specific
2020-06-21 15:32:45 -05:00
nattthebear
ae9405fb84
saturn: autofire blah blah again
2020-06-21 16:14:50 -04:00
YoshiRulz
31e621d64e
Move init of form icons to ctor (from InitializeComponent)
...
tested the `global::` syntax on VS2019, the Designer refuses to cooperate
2020-06-22 06:06:59 +10:00
adelikat
03d7fc2498
Saturn virtualpad work
2020-06-21 14:51:22 -05:00
zeromus
2a4ac1f7e1
display manager: fix "use 1:1 pixel size" aspect ratio (re #2159 )
2020-06-21 15:27:51 -04:00
adelikat
c76515d7f7
Saturn - fix virtualpad logic broken by settings changes, fix mnemonic in 3d controller
2020-06-21 13:14:30 -05:00
nattthebear
b0007c83f4
more musings
2020-06-21 14:09:38 -04:00
adelikat
5404fb90d7
nyma - do button name overrides on analog stick suffixes
2020-06-21 12:36:01 -05:00
adelikat
0862024ba6
virtualpad support for NGP
2020-06-21 12:14:12 -05:00
adelikat
39ff851972
tastudio track engaged flag better
2020-06-21 11:00:57 -05:00
adelikat
4d0d9e04aa
TAStudio - don't draw unless Tastudio is "engaged", fixes a lot of NREs through various core reboot scenarios
2020-06-21 10:57:23 -05:00
adelikat
b0258ef3db
fix NRE when closing tastudio
2020-06-21 10:43:05 -05:00
zeromus
4319096b50
format shader compiling errors better
2020-06-20 22:25:41 -04:00
zeromus
f6f7847b95
allow copying selected text from ExceptionBox
2020-06-20 22:25:41 -04:00
zeromus
703a51be09
fix retroizer
2020-06-20 22:25:41 -04:00
YoshiRulz
e24ddc9ebe
Finish renaming floats to axes
2020-06-21 12:16:32 +10:00