CasualPokePlayer
1b7fe8e7fd
misc cheevo stuff
2024-01-16 20:16:25 -08:00
CasualPokePlayer
d03d076fa7
several rcheevo updates, mostly for 3DS stuff
2024-01-16 20:00:45 -08:00
CasualPokePlayer
67b535d0f8
remove dsi skip fw restriction c# side
2024-01-16 11:08:40 -08:00
CasualPokePlayer
8be0111e72
fix build
2023-12-31 18:02:49 -08:00
CasualPokePlayer
d6fdf503b9
/s/RIM_KEY/RI_KEY
...
seems to be a dumb typo (docs have RI_KEY_* not RIM_KEY_*)
2023-12-31 06:00:48 -08:00
CasualPokePlayer
6330a703a1
fix Pause key not working with RAWINPUT
2023-12-31 05:44:50 -08:00
CasualPokePlayer
79d6bee75f
this can be null
2023-12-30 16:40:25 -08:00
CasualPokePlayer
f94bcb64b1
add back hawk sound when opening About box
2023-12-30 16:37:37 -08:00
CasualPokePlayer
51925e7cc9
make SDL2WavStream consume a generic Stream rather than passing in a file path
...
this now should make it functionally the same as a System.Media.SoundPlayer, letting us only doing disk access one time per wav file (and allows some embbed wav to be played)
2023-12-30 16:03:21 -08:00
CasualPokePlayer
a38e854a6d
add method to play wav files via ISoundOutput, use this instead of System.Media.SoundPlayer
2023-12-30 04:49:26 -08:00
CasualPokePlayer
94f6616e74
fix #1862 , also rename front facing setting ("non-vi" makes no sense here)
2023-12-25 00:46:13 -08:00
CasualPokePlayer
bc432de43a
fix 7ceb6345e4
...
somehow mixed up files and put the wrong tmd in lol
2023-12-24 23:46:20 -08:00
CasualPokePlayer
7ceb6345e4
add missing TMD for USA California Super Sports, also remove unneeded data in TMDs
2023-12-24 19:05:20 -08:00
CasualPokePlayer
ded668fe5a
add PolySharp as explicit dep, do some BizHawk.Common .NET6 cleanups
...
PolySharp was already an implicit dep due to some transitive dep from Vortice. This causes some problems in the test project, although it seems it's specific to the test project setup / one of the test project deps exposing internal classes rather than actually the fault of PolySharp (enabling PolySharpExcludeTypeForwardedToDeclarations works around it)
PolySharp provides source generated internal IsExternalInit/Range/Index, allowing us to use init props and range/index operators, and since it's source generated and internal to each project, it should play nice with potential multi-targetting (keeping in mind the test project is an edge case that doesn't apply in general)
2023-12-22 14:26:24 -08:00
James Groom
3fb30a2ca7
Clean up some `AskSaveChanges` implementations
2023-12-22 04:48:49 +00:00
James Groom
bd3f919129
Don't hardcode colours in InputRoll
2023-12-22 04:16:01 +00:00
James Groom
cae739a826
Clean up peeking for Hex Editor's N64 Matrix view
2023-12-22 01:17:02 +10:00
James Groom
0d5b0ac964
Fix typos from copy-pasting via human
...
fixes 6f39bed3f
2023-12-22 01:11:39 +10:00
James Groom
6f39bed3f8
UI+UX improvements for Hex Editor's N64 Matrix view
...
no idea what this is actually for but now it's usable
2023-12-22 01:04:57 +10:00
James Groom
e1571189c5
Mute NU1702 harder
2023-12-21 13:36:13 +10:00
James Groom
ea00f3be54
Use helper method
...
fixes 73bb9b4bd
this is the only code style warning atm
2023-12-21 13:35:23 +10:00
CasualPokePlayer
d00a512026
add comment noting StopSound can't be used for directsound's ResetToDefaultDevice
2023-12-18 02:37:30 -08:00
CasualPokePlayer
f4ac17c904
Replace OpenAL dlls with openal-soft provided ones (downloaded from their official site: https://www.openal-soft.org/ )
...
Fix hanging issue with OpenAL on device disconnection
Cleanup other hanging/crash fixes in other audio backends
2023-12-18 02:32:37 -08:00
CasualPokePlayer
ad3aa2f5dc
fix weird double utf8 bom in Bk2LogEntryGenerator
2023-12-17 04:27:17 -08:00
CasualPokePlayer
f4ef12a38b
simplify xaudio2 critical error handling
...
don't need to be this fancy, also this can still potentially deadlock anyways since audio throttle isn't going to be message pumping in throttling code
2023-12-17 04:24:19 -08:00
CasualPokePlayer
d5fc092c0a
Fix disconnecting an audio device potentially crashing/hanging for DirectSound and XAudio2
...
OpenAL seems to only do this on Windows, Linux does not care. This issue is also only relevant for audio throttle wrt XAudio2/OpenAL.
2023-12-17 04:11:27 -08:00
James Groom
7f21cbd029
Fix syntax errors in interp. string
...
fixes 0e084eaef
2023-12-17 20:00:30 +10:00
James Groom
0e084eaefd
Elaborate on admin warning, now with manual override ( resolves #3835 )
2023-12-17 09:46:44 +00:00
feos
4f522bac11
mame: put soft reset first so its dups could be resolved automatically
...
should complete #3704
2023-12-13 20:57:43 +03:00
James Groom
8a806c897d
Improve error message in `Bk2LogEntryGenerator` ctor (see #3704 )
2023-12-13 07:50:16 +10:00
CasualPokePlayer
3bcc6ee977
do some more cleanup with rcheevos stuff, also rework rcheevos read map. having a dict full of delegates ends up allocating >26GiB of memory for New 3DS (i.e. 256MiB of memory), so instead have a map of _memFunction indexes corresponding to address, thereby making memory usage equal to the memory mapping size (so for New 3DS this will only take 256MiB of memory). it comes with some limitations, none of which matter for now
2023-12-11 03:59:10 -08:00
CasualPokePlayer
6b0b6f2106
do cleanup with rcheevos, using record structs where possible
...
also add in `in` support for the BizInvoker for compat interop
(non-compat interop doesn't really matter here, the point of `in` is to avoid a copy back for non-blittable objects, which doesn't apply for non-compat which only works for blittable objects / always just pins them down)
2023-12-10 16:02:07 -08:00
Morilli
83e784ecec
Actually provide proper OAM memory domain in bsnes
2023-12-10 00:48:50 +01:00
CasualPokePlayer
cc0b6c0d99
update rcheevos to latest release, change a ton of ints to uints (what's actually used often)
...
todo: trim out unneeded defs and do c# 10 cleanups
2023-12-09 02:25:40 -08:00
CasualPokePlayer
4d6bc5a33a
fix build
2023-12-06 23:23:16 -08:00
CasualPokePlayer
2019f4baf2
c# side for 7b4bd8cdc3
2023-12-06 23:22:17 -08:00
feos
688fb249f9
fix #3715
2023-12-03 15:50:49 +03:00
feos
79baa45ca6
bounds have proper dimensions now
2023-12-03 11:48:49 +03:00
feos
0efdd02085
address #3715 (need to fix hawk side aspect ratio)
2023-12-03 03:12:58 +03:00
feos
73bb9b4bd9
mame: add driver src file to dump info
2023-12-02 22:35:05 +03:00
feos
2a40b172e1
fix #3704
2023-12-02 20:53:37 +03:00
feos
a3746fe7b7
fix #3721
2023-12-02 18:06:43 +03:00
CasualPokePlayer
5f6243bd76
Remove SDL_INIT_HAPTIC use
...
We don't actually use the haptic API, which is a separate thing from SDL_GameControllerRumble/SDL_JoystickRumble
2023-11-23 23:09:46 -08:00
James Groom
2105871122
Clean up handling of modal dialogs and parenting in RA
2023-11-23 07:56:45 +00:00
James Groom
36df9c387b
Add `IDialogParent.AddOnScreenMessage` extension
2023-11-23 07:45:40 +00:00
James Groom
5ef398c309
Lazily init `BasicApiProvider`/`ApiContainer`
2023-11-23 06:47:36 +00:00
James Groom
525c9c2f9c
Use `MainForm.QuicksaveLoad` directly for RA
2023-11-23 06:34:29 +00:00
James Groom
40b17b59c4
Move events from `EmuClientApi` to `MainForm`
...
the `event` members remain, but the triggering is now delegated back to `MainForm`, and the additional processing has been moved there too
2023-11-22 12:25:44 +00:00
James Groom
ca5dc1a6e8
Extract disc hashing from Octoshock, clean it up, and add to Nymashock
2023-11-21 06:54:11 +00:00
CasualPokePlayer
859ea8e249
improve Program startup, remove the OSTailoredCode duplication hack, use RuntimeInformation.IsOSPlatform for figuring out OS, use AppContext.BaseDirectory to get exe location (apparently even works with bundled assemblies in .net5+)
2023-11-18 20:00:16 -08:00
feos
c7d65eb0ca
mame: add defender mnemonics
2023-11-18 12:52:46 +03:00
James Groom
000f741994
Respect `BIZHAWK_HOME` for e.g. loading Waterbox cores
...
pretty much only affects NixHawk, where the wbox cores are in one dir and EmuHawk.exe and the other assemblies are in another, and all are symlinked into one tree
2023-11-18 17:26:49 +10:00
CasualPokePlayer
ba24907d9c
Improve NLua lua library loading, using C# function pointers. It now no longer depends on BizHawk.BizInvoke/BizHawk.Common. It might be faster too
...
Add in liblua-* variant for Linux lua library names (resolves #3678 )
Remove some more unused NLua code
Make LuaState internal, we don't need to see it (NLua.Lua API slightly changed to accommodate this, tests could be broken due to this?)
Make various other NLua classes internal, we don't need to see them
Check against lua library loading failing, provide a non-fatal message box if it has failed instead of crashing on some exception.
Remove UnixSearchPaths (unneeded with LD_LIBRARY_PATH being set) and unused IImportResolvers
2023-11-17 19:03:03 -08:00
James Groom
1956302a15
Use IRODictionary in `BkmMnemonicConstants`
2023-11-18 04:52:09 +10:00
James Groom
a9bfd96027
Backport `IEnumerable<KeyValuePair<,>>.ToDictionary`
2023-11-18 04:26:28 +10:00
James Groom
c2ddc40468
Clean up impl. of `LinkedDebuggable`
...
see ed5a708f9
2023-11-18 04:11:02 +10:00
James Groom
a227e7d113
Fix typos
...
fixes b36f4aa4e
and ed5a708f9
2023-11-18 03:44:36 +10:00
James Groom
ed5a708f93
Clean up `IDebuggable` impl. for GBHawkLink{,3x,4x}
2023-11-18 03:37:17 +10:00
James Groom
b36f4aa4ef
Remove unused imports
2023-11-18 03:30:27 +10:00
James Groom
024739d22e
Fix typo in `GBHawkLink4x.SetCpuRegister`
...
broken since introduction in a751aab74
2023-11-18 03:20:50 +10:00
James Groom
63127695d4
Expose `IInputApi.GetPressedAxes` to Lua, improve `input` lib docs
2023-11-17 13:27:53 +10:00
James Groom
8eef419c62
Rename "Max" window size menu item to "10x" to reflect behaviour
2023-11-17 12:36:51 +10:00
James Groom
e53f30f105
Fix "Max" window size menu item never being unchecked
2023-11-17 12:35:50 +10:00
CasualPokePlayer
7edba4962c
fix 70bd081a93
(again)
...
see a2185d9ef0
and 8a5921182e
2023-11-16 09:14:25 -08:00
CasualPokePlayer
582446651f
fix all the analyser warnings in NLua
2023-11-16 03:14:47 -08:00
CasualPokePlayer
49807254f6
remove ComImport usage for Win32ShellContextMenu, also /s/ShlobjImports/Shell32Imports
2023-11-15 18:58:06 -08:00
CasualPokePlayer
4660e4d25b
Slightly improve ShellLink com interop, resolve todo (seems to work perfectly fine)
2023-11-15 13:29:09 -08:00
CasualPokePlayer
3bc44d6756
Remove SHGetMalloc usage, use Marshal.FreeCoTaskMem instead
...
Marshal.FreeCoTaskMem can be used instead (assuming we're >= Win2000), see https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetmalloc
Also fix pszDisplayName allocation (needs * sizeof(char) due to unicode funny)
2023-11-15 12:55:40 -08:00
CasualPokePlayer
956af3577e
Change a lot of CharSet.Auto's to CharSet.Unicode, explicitly put W postfix on relevant winapi functions/structs, put ExactSpelling = true for winapi functions.
...
We don't care for ANSI functions (no way somebody is going to run BizHawk on Windows 98/ME), and ExactSpelling = false (default) has a minor runtime cost, so this should be slightly more performant.
Also, replace ShellLink COM usage with custom COM interaction code. See https://github.com/TASEmulators/BizHawk/issues/3767 . The same is yet to be done for the two other COM usages.
2023-11-15 11:33:50 -08:00
James Groom
391190b6d4
Inline `ICoreFileProvider.DllPath`
2023-11-14 18:05:32 +10:00
CasualPokePlayer
edf5f15134
slightly improve xlib bindings, should now in theory work for 32 bit systems
2023-11-11 11:16:52 -08:00
CasualPokePlayer
f9c85172e4
try to fix issues where reloading Citra when recording a movie results a crash due to the temp user folder having active file handles
...
unloading the dll would forcefully evict these file handles. unknown whether Linux does the same with the .so, perhaps it does, perhaps it doesn't. not really any extra harm if it doesn't
2023-11-11 09:11:17 -08:00
James Groom
e9468cb0c8
Check FWIDs in database at runtime
...
see e119bdda3
2023-11-09 08:51:29 +10:00
CasualPokePlayer
282417c9af
pass DateTimeFormatInfo.CurrentInfo here instead of suppressing the warning
...
fixes 5ae15c8
2023-11-08 11:58:38 -08:00
CasualPokePlayer
5ae15c89c3
remove invariant culture here
...
fixes 6e20a3091c
2023-11-08 10:32:37 -08:00
CasualPokePlayer
e119bdda39
fix up firmware entries which had spaces in the id
2023-11-08 10:26:01 -08:00
CasualPokePlayer
5095f0c999
force real bios use when gba cart is present for melonds
...
melonds' freebios doesn't work with gba cart usage
2023-11-08 08:27:42 -08:00
CasualPokePlayer
6a80336787
add some more ds fw hashes
2023-11-06 09:46:34 -08:00
CasualPokePlayer
eeb824d035
add in Chinese / Korean language options, remove unneeded firmware checks
2023-11-04 05:33:14 -07:00
Morilli
7d4b21f9c7
Fix some analyzer warnings
...
also improve globalconfig readability
2023-11-03 11:56:23 +01:00
CasualPokePlayer
cdf89f4b09
add in missing asms in SubMain asm ver check
2023-11-03 03:52:32 -07:00
CasualPokePlayer
b1f16cf437
fix ordinal loading (im pretty sure what was being done before only actually worked for dllimport and not getprocaddress)
...
cleanup some more win32 imports (new LoaderApiImports, although it isn't used for OSTailoredCode to avoid hard dep on BizHawk.Common, probably want to use same hack on LoaderApiImports)
2023-11-02 22:48:12 -07:00
CasualPokePlayer
195846f2f3
cleanup c# side melon code
2023-11-02 13:55:12 -07:00
CasualPokePlayer
7e91e1b260
fix dsi firmware checking
2023-11-02 10:16:30 -07:00
CasualPokePlayer
1ca7b0295d
c# changes for melonDS update
2023-11-02 10:12:56 -07:00
Moritz Bender
e1fb97dee6
Update snes9x to 1.62.3 ( #3729 )
...
* Update snes9x to 1.62.3
* Update snes9x submodule
* Implement msu1 for snes9x
* do less bullshit initialization
* Update snes9x submodule
2023-11-02 18:48:54 +03:00
Morilli
abc5ddcc6e
Fix lua console null output logging
...
- closes #3810
- fixes bb7f933429
2023-11-02 13:56:20 +01:00
CasualPokePlayer
ebaafe2658
error check against gl context being failed to be set to current
...
in practice this should only throw when someone has a broken driver
2023-11-01 08:03:17 -07:00
CasualPokePlayer
151908104e
Revert 683aa263a0
2023-10-28 22:50:05 -07:00
James Groom
aaf46cc9a7
Fix `--lua=*.luases` being interpreted as a script ( fixes #3814 )
2023-10-29 06:38:06 +10:00
CasualPokePlayer
c8f109eb34
fix ctrl/shift (probably more) with alt kb layout handling with RawKeyInput
...
also fix dinput not filtering out unknown key events (TODO: shouldn't this be handled higher up the input chain? surely we wouldn't want to respond at all to unknown key events)
2023-10-28 08:21:44 -07:00
CasualPokePlayer
b98942dcfd
minor fix in CWDHacks.Get()
...
fixes 686119c7dd
2023-10-28 05:10:31 -07:00
CasualPokePlayer
686119c7dd
organize and cleanup a ton of win32 imports, do cleanup elsewhere with that
2023-10-28 05:05:36 -07:00
feos
b4a6b06fba
tastudio: disable rec mode when drawing inputs
...
see #2144
2023-10-28 13:35:01 +03:00
feos
bb0bd415a6
address #3500
2023-10-28 12:20:22 +03:00
James Groom
ef864536de
Fix typo'd `return;` in non-void method
...
fixes 672536305
2023-10-28 12:12:15 +10:00
James Groom
6725363052
Allow drawing on LuaPictureBoxes on multiple windows ( fixes #3778 )
...
fixes bb4ba2184
, though it wasn't working correctly before that either
this whole thing needs deduping
2023-10-28 02:35:27 +10:00
James Groom
14c00d0ca2
In Debug config, don't use `Assembly.Load(byte[])` for ext. tools
...
apparently messes with the debugger IDK
2023-10-27 08:21:11 +10:00
James Groom
940c392fa3
Prevent selecting 'None' placeholder ext. tool
2023-10-27 06:46:20 +10:00
CasualPokePlayer
5c475ce898
Remove BizExvoker (unused for a long time, probably never going to use it)
...
Move MemoryBlock stuff and FPCtrl over from BizInvoke to Common
Move imports over to Common, remove unused imports
Do tons of cleanup here
2023-10-26 03:22:28 -07:00
CasualPokePlayer
f2a4794105
Use source generation for SettingsUtil.SetDefaultValues
2023-10-25 22:52:06 -07:00
feos
5ce0aa24a5
fix #3481
2023-10-25 21:02:08 +03:00
feos
7ac9bc26cd
mame: add reset
2023-10-25 20:30:32 +03:00
CasualPokePlayer
edcd2cd548
fix Ctrl+C not SIGINT'ing, I think
2023-10-24 07:36:17 -07:00
James Groom
736abf32ac
Ensure FFmpeg DL target is writable before downloading
2023-10-24 23:11:54 +10:00
James Groom
542a0e08be
Fix `Process.Start` crash in Play Movie dialog on Linux
2023-10-24 22:50:44 +10:00
James Groom
c7f438c240
Use loaded movie's filename for A/V filename
2023-10-24 22:46:22 +10:00
James Groom
65060c00f1
Fix/mute code style warnings
2023-10-24 22:32:17 +10:00
CasualPokePlayer
b88c7e6baa
fix warning from last commit
2023-10-23 22:48:42 -07:00
CasualPokePlayer
cd4e58eaca
make CRC32/SHA1 hashers not die when on a non-x86_64 platform
2023-10-23 15:41:27 -07:00
CasualPokePlayer
12a63e27e6
give more memory to melonDS
...
fixing OOM with 512MB games
2023-10-23 05:52:36 -07:00
CasualPokePlayer
ee7fc95fac
fix some usings
2023-10-22 19:28:23 -07:00
CasualPokePlayer
8941bac1ce
remove BinaryQuickSerializer
...
see #3768
2023-10-22 19:23:32 -07:00
CasualPokePlayer
cfdf607373
fix #3807
2023-10-22 01:05:32 -07:00
CasualPokePlayer
19552d6408
update Silk.* packages to 2.18.0, remove Silk .config hack (unneeded with this update)
2023-10-21 20:51:42 -07:00
CasualPokePlayer
220268809c
Remove EvDevKeyInput. Pretty much useless in practice as apparently you need higher permissions (e.g. root) to access keyboard evdev files, direct evdev is more reserved for gamepads (already handled by SDL2)
...
Turn these OS specific key input impls into instantiable classes instead of a ton of static classes, a lot nicer to work with as don't need to constantly check CurrentOS to know which class to use, only the factory needs to check that!
2023-10-20 21:43:23 -07:00
CasualPokePlayer
62501ad859
do minor cleanup with EvDevKeyInput, add in define for switching from X11KeyInput to EvDevKeyInput
2023-10-16 16:08:19 -07:00
CasualPokePlayer
d4602cf831
add Quartz key input handler
...
unused of course since no macOS support, but there when we need it
2023-10-15 19:06:53 -07:00
CasualPokePlayer
b6d4b0dc81
remove some unused stuff
2023-10-15 04:17:06 -07:00
CasualPokePlayer
a35ee381d0
Add evdev keyboard handler. Untested and unused for now
2023-10-15 04:11:32 -07:00
kalimag
f3796756bc
Add setting to control what happens when double-clicking RAM watch (squashed PR #3802 )
...
* Make RamWatch double click action configurable
* Make RamWatch Enter press share double-click behavior
* Make RamWatch double-click action default to poke
* Fix code style
* Reduce total diff size from extracting method
* Make sub-menu text more specific
2023-10-15 14:43:10 +10:00
CasualPokePlayer
b5ebee7cd5
move RAWINPUT imports to a new file
2023-10-12 20:49:17 -07:00
CasualPokePlayer
5fc37d6aac
add RAWInput keyboard handler, use it for OSTailoredKeyInputAdapter / SDL2
...
re-removes hard DirectInput dependency
2023-10-12 00:36:13 -07:00
CasualPokePlayer
a320928a6f
fix IOE in X11KeyInput.Update()
2023-10-11 17:48:23 -07:00
CasualPokePlayer
ac3913ded3
add user agent for cheevo stuff
2023-10-05 02:05:31 -07:00
feos
c438faeec9
added more mame mnemonics
2023-10-04 19:07:20 +03:00
James Groom
27c5b0e9b7
Also clear `GuiApi`'s image cache when restarting
2023-10-04 05:21:22 +10:00
CasualPokePlayer
0d4a1a6b26
fix #3781
2023-10-02 22:32:30 -07:00
CasualPokePlayer
af4e9200ed
fix memory leak when screenshotting/framedumping with osd with d3d9 display method
2023-10-02 21:08:48 -07:00
Morilli
a71b228c70
reset "change" variables on tasproj load
...
Doing this fixes tasproj prompting for save on bk2->tasproj conversion (which makes no sense) and generally seems senseful to do; there is no point ever having a changelog or changes bool set just after loading a tasproj
2023-09-27 21:54:35 +02:00
James Groom
cf809ed5aa
Override duration for onboarding OSD message
...
fixes a351dcc55
this is why you test changes even when you're sure they will compile
2023-09-26 23:52:52 +10:00
CasualPokePlayer
2b00e33560
add TransformPoint impl for NDS
2023-09-25 22:18:44 -07:00
CasualPokePlayer
f6a77a8410
Fix touch coord calc when OpenGL is not available, probably fix off by one here too (I think this is right?)
2023-09-25 05:35:15 -07:00
CasualPokePlayer
07126b1e48
c# changes for 3d5c2120f2
2023-09-25 05:26:17 -07:00
CasualPokePlayer
f63e50c91b
C# changes for melonDS OpenGL support
...
also add in a way to debug OpenGL stuff (only built when uncommenting a define)
also do various cleanup here
2023-09-24 04:28:42 -07:00
CasualPokePlayer
acff619034
add more mmap heap to melonds, check against 0 sized arrays in roms
2023-09-17 12:37:37 -07:00
CasualPokePlayer
0496d45e09
melonDS's logs already have a newline
2023-09-17 02:52:44 -07:00
CasualPokePlayer
0ad1f7feb2
waterbox has fun limitations
2023-09-17 02:16:25 -07:00
CasualPokePlayer
178939f76c
woops
2023-09-17 01:03:42 -07:00
CasualPokePlayer
d3dff6fe37
update c# side for melonDS changes
2023-09-17 00:58:49 -07:00
Morilli
2fc9f719e5
Fix #3685 again
2023-09-12 16:44:31 +02:00
CasualPokePlayer
4f98bf101c
fix minor oops in previous commit
2023-09-11 22:57:04 -07:00
CasualPokePlayer
d788e603fd
force usage of bios on gambatte when recording a movie
...
(except when the rom cant be booted with bios, then enable bios sync setting is respected)
also cleanup this code a lot
2023-09-11 22:52:48 -07:00
CasualPokePlayer
ed0dbb77ae
expose SRAM for GBA rcheevos
...
see https://github.com/RetroAchievements/rcheevos/pull/265
2023-09-11 21:29:34 -07:00
James Groom
e68a49aa51
Use absolute path to `ffmpeg` in `FFmpegWriter`
2023-09-11 16:31:23 +10:00
James Groom
a7ee68f47d
Fix typo in Satellaview header model
...
see #3749
2023-09-10 22:38:19 +10:00
James Groom
2647bb8300
Log FFmpeg download fails to stdout in Debug config
2023-09-09 16:56:06 +10:00
James Groom
a351dcc557
Make the onboarding flow impossible to miss
...
This should motivate widening the scope of profiles, and may also inspire additional features for onboarding such as paths/firmware, screen layout, or keybinds.
2023-09-05 05:47:03 +10:00
James Groom
ebe3cad66c
Change UI label for `Config.AcceptBackgroundInput`
...
see #671
2023-09-02 01:47:52 +10:00
Moritz Bender
362269c982
Establish basic style analyzer rules ( #3759 )
...
* Fix analyzer nullable error
can't disable them in CA1305 xdd
* .editorconfig -> .globalconfig
* Add basic set of style analyzer rules
* dotnet format output
* Some additional fixes
* Apply manual simplification
* Transform some enum comparisons
* fix typo
* add TODO
2023-08-30 23:08:21 +02:00
James Groom
7193313e12
Comment-out unreachable code
...
fixes a315b122c
2023-08-25 11:59:35 +10:00
James Groom
e86a0d6dda
When editing watches, select notes field
2023-08-25 11:41:51 +10:00
CasualPokePlayer
1575949762
upgrade these for c#10
2023-08-22 19:34:51 -07:00
CasualPokePlayer
19443040c4
slightly refactor OSD layer, no longer uses a render callback, rather it will do its logic itself and has its own enable drawing flag
2023-08-22 17:57:46 -07:00
CasualPokePlayer
53563657fe
Implement blending enable/disable for IGL_GDIPlus (more just moving it away from GDIPlusGuiRenderer)
...
Fix GDI+ used for display method (got broken in some cleanup commits ago)
Remove some things meant to be removed in the last commit (fixes debug build)
2023-08-22 17:16:48 -07:00
CasualPokePlayer
8c1d996b80
simplify IGL 3: Remove ability to make custom blend states (was never used), only have 2 functions for blending, one enabling "normal" blending, one disabling blending (with alpha copy semantics) (only 2 which actually were used)
2023-08-22 16:46:21 -07:00
Morilli
757ae3293f
Resolve part 4 of #3735
2023-08-22 19:22:34 +02:00
kalimag
54b1b2e421
Stop moving executables' pdbs to dll folder
2023-08-20 14:24:30 +10:00
kalimag
d459aaaf6f
Dispose disks in Nyma cores ( #3751 )
2023-08-19 23:27:05 +02:00
Moritz Bender
c57657bbd4
Set inputdisplay correctly on LoadState ( #3747 )
...
* Set inputdisplay correctly on LoadState
* Add explanatory comment for future generations
2023-08-19 23:22:55 +02:00
Morilli
ebf1950873
fix #3686
2023-08-18 04:58:38 +02:00
Morilli
4fea6752f3
Fix #3685
2023-08-18 04:06:28 +02:00
Morilli
ea7683a996
Bump LangVersion to 10
2023-08-16 16:30:06 +02:00
CasualPokePlayer
c17f65fb10
Slightly increase sleep time while paused, should resolve #3737
2023-08-14 20:11:22 -07:00
Morilli
c10d2927ca
bump AnalysisModeUsage to Recommended
...
fixes CA2211, CA2215, CA2241, CA2251
silence CA1816 because it's unnecessary
reduce severity of CA2201 because I like the concept but don't wanna fix them all
2023-08-14 14:18:45 -07:00
Morilli
71e08e27b9
bump AnalysisModePerformance to Recommended
...
fixes CA1841
silence CA1805 and CA1822 because of sheer amount of violations
reduce severity of CA1838 because I don't wanna fix it lol
2023-08-14 14:18:45 -07:00
Morilli
6e20a3091c
Fix CA1305 and bump to error
2023-08-14 14:18:45 -07:00
Morilli
8e557b0b9d
bump AnalysisModeGlobalization to Recommended
...
fixes CA1304, CA1309, CA1310, CA1311
temporarily silences CA1305
reduce severity of CA2101
2023-08-14 14:18:45 -07:00
CasualPokePlayer
44dce7dc08
remove unused experimental code
2023-08-13 14:24:03 -07:00
CasualPokePlayer
ae42858560
fix D3D9 crashing on minimize
2023-08-13 14:21:58 -07:00
Moritz Bender
56ac05f9a3
Allow migrating non-SHA1 hashes on movie import ( #3733 )
...
* Allow migrating non-SHA1 hashes on movie import
* Show more descriptive message on missing hash
* actually return null here
* Simplify LsmvImport
* add more hash HeaderKeys
* remove unnecessary IEmulator argument
this could potentially fix bugs even
* explicitly cast to ReadOnlySpan
2023-08-13 23:11:48 +02:00
Morilli
b6f1bae7e1
Revert erroneous change to bk2 loading for now
...
fixes 0af4d125b2
2023-08-13 21:14:35 +02:00
Morilli
9131c8ab2e
Change SmvImport to import to Snes9x core; various fixes
...
the importer is still far from perfect, but it should handle some things better than before
- closes #3177
2023-08-13 20:01:56 +02:00
Morilli
0af4d125b2
revert bd9ec3c57d
, fix bk2 framebuffer load
2023-08-12 18:16:54 +02:00
CasualPokePlayer
4ad7736ca7
add some kind of 3DS support to retroachievements, probably
2023-08-12 04:22:46 -07:00
CasualPokePlayer
72cc192661
Create a new project to house the IGL WinForms controls (Bizware.Graphics.Controls), thus allowing for Bizware.Graphics to be netstandard2.0
...
also move GDIPlus IGL stuff over from BizwareGL to Bizware.Graphics
2023-08-12 03:56:02 -07:00
CasualPokePlayer
9139870e7e
fix bug from 3622fe76f9
, remove variable unused since 3622fe76f9
2023-08-11 16:59:14 -07:00
CasualPokePlayer
dfd7caaacb
use glBufferSubData when possible instead of glBufferData, gives a nice performance boost
2023-08-11 16:57:20 -07:00
CasualPokePlayer
3622fe76f9
simplify IGL 2: Combine BindArrayData and DrawArrays calls into one Draw call: only supports triangle strips (already limitation with D3D9), assumes start is 0, binding and drawing are implicitly merged into a single call (in practice BindArrayData would just save the vertex pointer to some class level variable for DrawArrays, so this is just better all around)
2023-08-11 15:33:08 -07:00
CasualPokePlayer
64abeddc2b
simplify IGL 1: Combine Clear and SetClearColor, remove support for non-color buffers (not supported by GDI+, never actually used)
2023-08-11 13:30:46 -07:00
CasualPokePlayer
f2942feb93
minor cleanup for 47c2d315ce
2023-08-11 00:34:07 -07:00
CasualPokePlayer
47c2d315ce
drop OpenGL 2.0 support (annoying to support given we already require FBO support, which is an extension pre-3.0, and VAOs also fall under that same group, polyfilling this is just bleh)
...
in practice this means nothing for any Windows user (since D3D9 would support whatever garbage GPUs that had OGL 2.0 support but not OGL 3.0 support), so it only affects Linux users with GPUs from 2004-2010 (~2011 GPUs supported at least OGL 3.0), and those users probably have options to still use BizHawk if they really wanted to anyways
With this, switch the GuiRenderer (main) pipeline to use VAOs/VBOs instead of the old legacy fixed pipeline crap (other shaders still need that crap for now, so there is still a fallback path there). Also add in way to "free" the vertex layout (since it now can hold a VAO/VBO which needs to be freed once the vertex layout is finished)
2023-08-11 00:30:47 -07:00
CasualPokePlayer
8260a59bcf
fix #3726
2023-08-10 00:07:10 -07:00
Randomno
1cf5af83dd
Change Odyssey 2 framerate (squashed PR #3728 )
...
* change o2 framerate
* result
2023-08-10 04:11:02 +10:00
Morilli
a496f09f07
Fix SmvImport CRC32 import
...
closes #3727
2023-08-09 11:14:31 +02:00
Morilli
fe845ce8ef
Don't double-load movies from the PlayMovie dialog
2023-08-07 14:14:22 +02:00
CasualPokePlayer
20ca53dfd1
Apply e186514c39
for copy mechanism
...
Also fix the formatting of the string, we want : here not .
2023-08-07 02:45:54 -07:00
Morilli
e186514c39
Display day length for 1+ day long movies
2023-08-07 11:40:24 +02:00
CasualPokePlayer
f8b3914126
fix broken movie length calculation
...
this happened to work by chance most of the time, but for movies which cant store the number of milliseconds in an int, it breaks down
2023-08-07 02:32:32 -07:00
CasualPokePlayer
97d9ce35e2
Disable Hybrid Screen setting in Citra for now
2023-08-06 03:21:22 -07:00
CasualPokePlayer
59fcdb04cd
Remove Bizware Vector2/3/4 and Matrix4 in favor of System.Numerics's implementation
...
Many many cleanups in BizwareGL and DisplayManager and GDI+ code
2023-08-06 03:21:22 -07:00
CasualPokePlayer
bb96825c60
System.Data.SQLite -> Microsoft.Data.Sqlite ( #3719 )
...
* Swap System.Data.SQLite with Microsoft.Data.Sqlite
Apparently this is supposed to be a kind of successor? https://learn.microsoft.com/en-us/dotnet/standard/data/sqlite/compare
* Add e_sqlite3 libs to Assets, prevent runtimes folder creation with OS tailored libs plopped in, delete System.Data.SQLite references
2023-08-05 17:45:40 -07:00
James Groom
2150061c91
Update LuaConsole.cs
2023-08-06 03:01:44 +10:00
CasualPokePlayer
ca756a2df3
dont use ContextMenu
...
winforms net6 doesn't support it, and "replacement" ContextMenuStrip doesn't work for this use case, so just create a slim wrapper using CreatePopupMenu/DestroyMenu directly
2023-08-04 00:54:42 -07:00
CasualPokePlayer
ba8656e345
slight tastudio tweaks wrt 12830bab4e
2023-08-03 21:03:20 -07:00
James Groom
1ebc006873
Update unit test to match new config schema
...
fixes 12830bab4
2023-08-02 18:03:06 +10:00
CasualPokePlayer
dc34b0b1a9
add in Wine/Proton detection, used to prevent D3D9 from being used if a user ends up using wine/proton (as often it seems D3D9 wine/proton just doesn't work and crashes in weird ways, sometimes *after* checking the renderer so it wouldn't fallback to OpenGL anyways)
...
Probably can add in some first time message box warning the user that wine/proton isnt supported, although we probably shouldn't block wine/proton (considering it's the only option for some distros with read-only filesystems, like the Steam Deck)
2023-07-31 23:02:30 -07:00
CasualPokePlayer
67e5505899
Rework OpenGL version support checking to be more robust, slightly rework OpenGL context creation request (they can now explicitly request the core profile)
2023-07-31 22:32:30 -07:00
CasualPokePlayer
a2ea86fae0
add NET6_0 guard for GetValueOrDefault backports
2023-07-31 22:01:05 -07:00
CasualPokePlayer
811275cca8
Rewire memory domain pointers after reset in Citra
...
Add 3DS framerate in PlatformFrameRates
2023-07-31 21:22:57 -07:00
CasualPokePlayer
1ee2ef928c
Prevent SDL from doing windows message pumping
...
Normally SDL doesn't do this as we don't ever call SDL_PumpEvents (or anything that calls that). However, OpenGL context creation code ends up calling WIN_PumpEvents regardless. This usually doesn't matter, however, in some cases, this can cause crashes, mainly with loading a state with Citra, as that ends up re-constructing its frame dumping OpenGL context (yeah that's dumb and useless but it's mostly harmless, outside of this message pumping). The WIN_PumpEvents calls appear to be unneeded anyways, so we can safely disable message pumping here.
2023-07-31 15:55:36 -07:00
CasualPokePlayer
a315b122c5
force OpenGL renderer in Citra for now
...
the software renderer doesn't seem to be functional and the code for blitting it is incomplete
2023-07-29 17:03:53 -07:00
CasualPokePlayer
33f1c5472a
add missing Dispose() for Citra ctor failure case
2023-07-29 16:26:29 -07:00
CasualPokePlayer
0a72dc046f
add in missing mnemonics for 3DS controls
2023-07-29 15:22:56 -07:00
CasualPokePlayer
e62c972ca3
Check in citra dll/so, add in build scripts/linux glslangValidator for citra, some minor cleanup handling with citra input handling
2023-07-29 15:09:17 -07:00
CasualPokePlayer
f1e9f10454
Minor reworking of IGL OpenGL context creation
...
Try to regain compat with < OpenGL 3.0 users, better checks against OpenGL availability
2023-07-28 23:26:51 -07:00
CasualPokePlayer
e7f4ad8220
fix exception popping up when Dispose()'ing DisplayManagerBase with OpenGL
2023-07-28 22:19:15 -07:00
CasualPokePlayer
12830bab4e
Add in flag to IStatable to hint to the frontend that it should avoid rewind (not entire sure with the name, maybe SlowStates would have been better? trivial to mass-rename anyways)
...
Add in logic to not create the main rewinder if this flag is true, and add in logic to tastudio to avoid the main greenzone captures (instead only capture on branch save/load)
2023-07-28 22:07:31 -07:00
CasualPokePlayer
1ad3ed2216
minor cleanups in IGL_OpenGL
2023-07-28 15:38:43 -07:00
CasualPokePlayer
7a2f1532bf
fix DS being shown upside down when ScreenControlNDS is used
...
fixes 78f5e75534
2023-07-28 14:54:02 -07:00
CasualPokePlayer
f7448495b0
correct 3DS rom check in XmlGame
...
fixes 8c41b09108
2023-07-28 05:37:47 -07:00
CasualPokePlayer
8c41b09108
Add in 3DS rom extensions to rom filter
...
make it so CIAs past index 0 will be "installed" (mostly only relevant for movies, as the temp user folder is wiped each session in deterministic mode)
ensure XMLs won't load 3DS roms into memory (same reasoning as other hack, might be >=2GiB)
do some cleanup with this code
2023-07-28 05:33:56 -07:00
CasualPokePlayer
4ff157f652
add in Citra for global core config menu
2023-07-27 22:41:03 -07:00
CasualPokePlayer
bd2c2ffc86
/s/_3DS/N3DS
2023-07-27 22:37:06 -07:00
CasualPokePlayer
5607845b24
Add in screen control filter for Citra port
2023-07-27 22:20:50 -07:00
CasualPokePlayer
ff57303821
Add in 3DS entry for SystemIDDisplayNames
2023-07-24 00:39:50 -07:00
CasualPokePlayer
89b387e50d
add memory domains for Citra
2023-07-24 00:14:11 -07:00
CasualPokePlayer
67510f3b56
cleanup 3DS firmware handling
...
seems these methods aren't really supported in citra, so I guess have fun dealing with manually setting firmware files
2023-07-23 21:22:26 -07:00
CasualPokePlayer
18b81a2011
Fixup OpenGL version reporting; add debug print for 3DS firm installing message
...
fixes 8ae947fed7
2023-07-23 20:09:17 -07:00
CasualPokePlayer
41ee99999a
Add 3DS firmware handling
2023-07-23 19:55:58 -07:00
CasualPokePlayer
739c35c174
fix #3692
2023-07-23 03:58:46 -07:00
CasualPokePlayer
dd5cbc92af
set WRAM as the main memory domain in SameBoy
...
see #3711
2023-07-23 03:44:09 -07:00
CasualPokePlayer
2d17290918
add in RetroAchievements support for Uzebox and TI83
2023-07-23 03:38:29 -07:00
CasualPokePlayer
01cc5ca476
fix a RetroAchievements PSX hashing edge case
2023-07-23 03:28:54 -07:00
CasualPokePlayer
e87536ea8f
commit C# parts for Citra port
...
not committing the dll yet until some more things are ready
2023-07-23 03:14:26 -07:00
CasualPokePlayer
cdfb8d67e8
commit citra submodule
2023-07-23 02:46:37 -07:00
CasualPokePlayer
bed66e2cd4
fix minor oopsies / dumbs with previous commit
2023-07-23 02:16:24 -07:00
CasualPokePlayer
8ae947fed7
prep work for easier OpenGL interop for cores
2023-07-23 01:54:36 -07:00
CasualPokePlayer
78f5e75534
Kill Bizware .NET Framework deps ( #3702 )
...
The main objective in this PR is to get rid of the main .NET Framework dependencies in Bizware packages. This PR doesn't do that completely per se, still having .NET Framework used for WinForms Controls, but that can easily be swapped over for whatever UI framework we use next as long as it exposes native window handles in some way.
For this PR, it does some reorganizing of Bizware, splitting Bizware.OpenTK3 and Bizware.DirectX into 3 packages based on usage; Bizware.Audio, Bizware.Graphics, and Bizware.Input. These packages in the future probably could have more functionality moved into them, but for now they are largely just a reshuffling of the Bizware.OpenTK3 and Bizware.DirectX packages.
As both SlimDX and OpenTK3 are .NET Framework, they have been removed in this PR. Their replacements are as follows:
SharpDX: DirectSound, Direct3D9
Vortice: XAudio2, DirectInput/XInput
Silk.NET: OpenAL, OpenGL
SDL2-CS / native SDL2: OpenGL context management, new gamepad backend (replacing OpenTK's role for gamepads)
native X11: New key input backend (replacing one of OpenTK's roles for keyboards)
GLControl has been replaced by custom made control which just uses SDL2 for context management.
The OpenTK input backend has been replaced with a combination of SDL2 and an OS tailored key input backend (DirectInput on Windows, X11 on Linux, and planned to be Quartz on macOS). This is just represented on the user side as "SDL2" without mentioning the key input backend. This does mean for a while DirectX will be mandatory on Windows again, until a RAWINPUT backend is written for handling key input on Windows for the SDL2 input backend.
2023-07-23 00:35:43 -07:00
zeromus
fe47285394
trim cheat lines, since it's virtually impossible to copy text from a web browser without getting junk around it
2023-06-30 19:42:28 -04:00
YoshiRulz
6b87e3ac91
Fix being unable to open SubGBHawk via system menu ( fixes #3693 )
2023-06-25 01:23:14 +10:00
SG
d8ea4547d4
Add StringFormat to pixeltext DrawString parameters (squashed PR #3690 )
...
* Add StringFormat to DrawString parameters
* Revert whitespace changes
* Code style nitpicks, cache `StringFormat`
---------
Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
2023-06-21 09:20:54 +10:00
YoshiRulz
4ee7e4cad7
Add deduper utility to RAM Watch
2023-06-13 23:43:53 +10:00
YoshiRulz
25ad59d895
Replace type check with enum (int) comparison in `Watch`
2023-06-13 23:43:53 +10:00
YoshiRulz
ca8a183f38
Add `WatchList.InsertRange` and use when duplicating rows in RAM Watch
2023-06-13 23:43:53 +10:00
YoshiRulz
4d4887ee31
Fix `WatchList.Insert` not setting dirty flag
...
not sure if this was problematic in practice
2023-06-13 23:43:53 +10:00
Morilli
13dd04a026
Fix #3679
2023-06-07 23:01:54 +02:00
CasualPokePlayer
9e5fb35f7a
Add in missing TMD for Cave Story Japan
2023-05-29 02:25:36 -07:00
Morilli
c3ec8393d0
Optimize Remove[Prefix|Suffix] by using ordinal string comparison
2023-05-27 03:50:46 +02:00
adelikat
f6135abe65
disabled log generator caching in bk2, it has playback problems not found it basic testing, need to revisist this later
2023-05-26 19:19:08 -05:00
YoshiRulz
fde16fa5a3
Hide D=>A TAStudio columns w/ Ares64, rename C* buttons in header
...
initial implementation by @thekovic
2023-05-27 03:01:49 +10:00
nattthebear
3d5b068c2f
QuickNES: Slightly tweak palette rounding computation
...
Fixes #3668
2023-05-26 07:01:56 -04:00
nattthebear
8a94204a2f
QuickNES: Fix loading 64 color palettes
...
Since ee0992158d
, we were using the default palette for deemphasis modes, instead of computing it based off of the input palette.
2023-05-26 06:46:56 -04:00
adelikat
cb721a39da
de-engineer some movie stuff, ILogEntryGenerator is not an important abstrations now that Bkm is gone
2023-05-25 15:01:30 -05:00
adelikat
33ed05b20c
BK2LogEntryGenerator - further optimize by doing the control ordering once
2023-05-25 13:32:58 -05:00
Morilli
f697a828c8
Optimize CreateLogEntry
...
Surely this is safe, right?
2023-05-25 13:19:16 -05:00
adelikat
05f8747321
optimize movie recording loop a bit, do not create a new instance of log entry generator every frame, avoids a lot of memory allocations with mnemonic lookups that do not change for the lifetime of the movie, also a slight optikmization in Bk2 controller, co-authored iwth morilli
2023-05-24 11:18:42 -05:00
YoshiRulz
9daac2c26f
Add and use extension method `string.StartsWith(char)`
...
reverts 333ce98a7
, partially reverts bc16a2cda
2023-05-23 09:18:25 +10:00
adelikat
333ce98a71
low hanging fruit speed up in inputlog loading using str[0] == c instead of str.StartsWith(c)
2023-05-22 12:50:30 -05:00
YoshiRulz
681ef72cd5
Change wording of checkbox for `Config.SuppressAskSave`
2023-05-21 16:22:54 +10:00
CasualPokePlayer
ccf2c61a23
fix #3664
2023-05-20 03:11:40 -07:00
CasualPokePlayer
08ead80385
make these callback delegate caches static (why didn't this warn that static was possible here?)
2023-05-19 22:30:17 -07:00
CasualPokePlayer
3c53f52c6d
remove some debugging crap from c9e30060d4
2023-05-19 22:28:32 -07:00
CasualPokePlayer
542cf2433a
Reduce allocation spam in Jaguar disassembly functions
2023-05-19 22:26:45 -07:00
CasualPokePlayer
c9e30060d4
Rework the Reader/Writer callbacks for the WaterboxHost, a bit nicer here working with the userdata
...
Also make it so initial loading uses the zstdstream or filestream directly instead of a memorystream with it all loaded
something of note, not really happy with how these read/write callbacks get used in practice, it seems they get spammed in small chunks
for initial loading, it's 8192 byte chunks each, which can be a LOT of callbacks, depending on core size (gpgx is ~500, MAME is ~22K)
similarly, savestates suffer a similar issue, although instead it's a ton of 4096 byte chunks (page size eh?)
The unmanaged <-> managed transitions obviously are not exactly performant, and I imagine are taking a significant portion of the time here
Perhaps some buffering strategy should come in on the native waterboxhost side to alleviate callback spam?
2023-05-19 22:26:45 -07:00
adelikat
99a6b1d339
add hotkey for toggling the 'Display Nothing" feature
2023-05-19 20:05:16 -05:00
CasualPokePlayer
8a13793d00
Turn WaterboxHostNative ReturnData to a struct, misc cleanups elsewhere
2023-05-18 22:21:17 -07:00
CasualPokePlayer
332143ea8d
invalidate cram caches when poking, maybe
2023-05-18 21:14:57 -07:00
CasualPokePlayer
473d3cc294
fix #3662
2023-05-18 19:09:08 -07:00
CasualPokePlayer
ea854ff39d
make discohawk form a bit bigger
...
all the formats supported means the box wasn't big enough to display all of them lol
2023-05-18 07:28:10 -07:00
CasualPokePlayer
fe79b69123
(Partial) .nrg support
...
TAO support isn't complete, a lot of sanity checking isn't done yet
2023-05-18 07:14:14 -07:00
Morilli
3d30f52e7c
Fix LogWindow treating everything as ascii
...
hopefully this doesn't break anything
2023-05-17 14:54:18 +02:00
CasualPokePlayer
f11b5bc9c4
fixup CDI generated subcode (not sure why I did that)
...
have it generate "leadin" and "leadout" tracks for multisession discs... this is almost certainly wrong for leadin (doesn't matter so far), leadout is probably right...
2023-05-12 20:47:29 -07:00
CasualPokePlayer
0e6d5fb708
minor addendum to 2012b083f6
2023-05-12 03:28:14 -07:00
CasualPokePlayer
2012b083f6
Fixup multisession handling with MDS and improve its track/sector size handling, also maybe fix it entirely? (not sure if this ever worked)
...
Move the various synths using the CUE SS_Base to a file, mostly just a nicer organizational change as MDS and CDI use one of these but not CUE
Misc improvements elsewhere
2023-05-12 02:44:05 -07:00
CasualPokePlayer
1f3068fe77
fix synthesizing disc tracks with multisession discs when the first session has a large amount of tracks
...
FirstRecordedTrackNumber only works here for the first session, for future sessions it doesn't work and may just result in out of range exception
2023-05-11 02:57:14 -07:00
CasualPokePlayer
858ea372a9
Fix Jaguar CD detection for Caves of Fear
2023-05-11 02:28:33 -07:00
CasualPokePlayer
e3c27813b6
fix the fix in 45a0c8cffb
2023-05-10 05:37:03 -07:00
CasualPokePlayer
45a0c8cffb
another fix for 9551394
2023-05-10 05:23:24 -07:00
CasualPokePlayer
c52a950c41
Fix dumping CCDs with multisession discs, fix oopsies with CDI parsing giving the wrong last recorded track number
2023-05-10 04:58:37 -07:00
CasualPokePlayer
2379650e1b
Implement error and verbose message callbacks for rcheevos (currently they just output to the console)
...
Implement debug option for hashing with more pure rcheevos logic, mostly just useful for figuring out disc hashing issues
2023-05-10 03:11:50 -07:00
CasualPokePlayer
d3a689c589
Resolve #3650 . Also fix a bug which caused overwriting lua scripts with a new lua script to fail (fixes 380e459bec
)
2023-05-08 03:01:41 -07:00
CasualPokePlayer
f677e92504
fix TOC field mixup with Jaguar CD
2023-05-07 22:09:52 -07:00
CasualPokePlayer
40e21b716e
fix 955139454a
2023-05-07 02:59:38 -07:00
CasualPokePlayer
7d5a1d5c98
Lower CPU usage from RCheevos http stuff
2023-05-07 02:41:07 -07:00
CasualPokePlayer
68cd28c28a
fix directionals and other common buttons being dropped from controller inputs when hotkeys overrode controller inputs
2023-05-07 01:00:13 -07:00
YoshiRulz
4a752f66b7
Add Analyzer to require checking or discarding `TryGetValue`
...
I'm pretty sure all the existing instances were intended to use `default(T)` if
the key isn't present, except maybe the cheatcode converters but I don't care to
rewrite those at the moment
2023-05-05 06:27:15 +10:00
YoshiRulz
384a4e1e18
Bump version info post-release
2023-05-04 08:10:07 +10:00
CasualPokePlayer
36fae775d4
Prevent annoying waits when using firmware manager with DSi NANDs present
2023-05-03 02:19:56 -07:00
CasualPokePlayer
5f6d70ac46
Fix random crashes with rcheevos. The issue was that rc_runtime_t can store pointers to itself, which is bad when rcheevos expected the user to allocate that struct and did not provide functions for that. I've added that functionality and PR'd it (I'll fixup submodule to point to upstream when it's merged)
...
PR can be found here: https://github.com/RetroAchievements/rcheevos/pull/239
Also minor fixes wrt the ContinueWith usage in InternalDoRequest
2023-05-03 01:54:57 -07:00
CasualPokePlayer
248b8ab984
Fixup bad threading (no, you cannot access rcheevo's _runtime in a separate thread! main thread use only!). Should fix up some random crashes
...
Slightly change up the request model, now InternalDoRequest does not block
Fixup logic of ToSoftcoreMode (and comments so it isn't screwed up again)
2023-05-02 21:47:09 -07:00
CasualPokePlayer
8ef1d93891
Prevent UI thread deadlocking on Dispose()'ing rcheevos stuff
2023-05-02 17:18:31 -07:00
CasualPokePlayer
b9a983f1fe
Fix typo causing crash with SMSHawk with RetroAchievements & Hardcore Mode
2023-05-02 17:08:39 -07:00
CasualPokePlayer
41d94e4262
Change up multithreaded rendering in melonDS
...
Instead of creating a new Task and destroying it every frame, just create a new thread and call the delegate when needed.
Also allow for rendering a frame twice, this is actually possible anyways (albeit rarely done).
This should also help against a potential deadlock due to the Task.Wait call on the UI thread (which has special semantics in WinForms)
Also minor nitpicks in RCheevos code
2023-05-02 16:52:48 -07:00
CasualPokePlayer
b517228475
Refactor rcheevo http requests (again). This should better protect against the UI thread deadlocking due to Task semantics with WinForms
2023-05-01 03:50:49 -07:00
vadosnaprimer
e065263ff2
MAME does mark bad dumps, but it only keeps their info if good dump is not known yet. once a good dump appears, its info replaces the bad one.
...
so simply sticking to newest rom sets is the safest, otherwise there's little user control, because there's no global list of all known dumps with indications which of them are bad and what to use instead.
2023-04-30 14:07:08 +03:00
CasualPokePlayer
2010f5e15c
disable leaderboard list form, for now, and revert efa6505
...
see that commit for details on issues with this form (this form is kind of useless anyways, meh)
2023-04-28 18:37:06 -07:00
YoshiRulz
8a5921182e
Add Analyzer to disallow discarding locals e.g. `_ = result;`
...
fixes 70bd081a9
, a2185d9ef
2023-04-29 01:52:43 +10:00
CasualPokePlayer
a2185d9ef0
fix 70bd081a93
...
The entire call is skipped in release mode if you place it inside a Debug.Assert.
2023-04-28 03:14:56 -07:00
YoshiRulz
66f26bb1c1
Create and use `IDictionary.GetValueOrPut{,New,New1}` extensions
2023-04-27 17:25:03 +10:00
YoshiRulz
fa48278354
Enable MEN014 and fix noncompliance
...
"Prefer TryGetValue"
2023-04-27 17:24:55 +10:00
CasualPokePlayer
c8589de5c6
fix #3648
2023-04-26 23:05:11 -07:00
sverx
102dee9622
Fix some SMS audio inaccuracies (squashed PR #3602 )
...
* fix noise audio channel on SMS VDP
* Update SN76489sms.cs
also, white noise is generated by XORing bits 0 and 3, not 0 and 1, on an SMS/GG VDP
* Update SN76489sms.cs
reverting commit #7b857e7
2023-04-27 15:46:52 +10:00
Daniel Parks
dd30a389a0
TAStudio/PatternsForm: Block deletion of loop entry which would cause a crash
2023-04-27 15:14:44 +10:00
Daniel Parks
07ba36956a
TAStudio/PatternsForm: Allow looping to entry zero
2023-04-27 15:14:44 +10:00
YoshiRulz
9cbd238997
Convert `GenericDebugger.DisasmOp` to a struct
2023-04-23 19:08:19 +10:00
YoshiRulz
70bd081a93
Refactor `ServiceInjector`
2023-04-23 17:41:55 +10:00
YoshiRulz
c5d6a66e01
Resolve TODO re: memoisation in `GenericDebugger`
2023-04-23 17:41:55 +10:00
YoshiRulz
4b001a48a9
Dedup `GenericDebugger.EngageDebugger`
2023-04-23 17:41:55 +10:00
YoshiRulz
ac3e76309f
Use helper prop here
2023-04-23 17:41:54 +10:00