James Groom
a67b0cf727
Fix relative link to file in repo
...
fixes b47b4d63b
2023-11-19 23:46:17 +10:00
James Groom
b47b4d63b1
Nix expr: Complete rewrite, a LOT of new features
2023-11-19 13:33:48 +00:00
James Groom
35708f5c03
Label releases < 2.6 as deprecated for security purposes
...
arbitrary and inconsequential
2023-11-19 22:28:17 +10: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
James Groom
eca0ca41a9
Add OpenSUSE to Mono launch script
2023-11-19 11:15:38 +10: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
33a512235a
Fix NRE for lua cothreads
...
fixes ba24907d9c
2023-11-17 19:46:59 -08: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
cef72bef4b
try to fix crashes under Mono when calling a cached function with the wrong arguments
2023-11-16 09:08:20 -08:00
CasualPokePlayer
fba66c3d28
re-enable analyzer for NLua
2023-11-16 03:15:44 -08:00
CasualPokePlayer
582446651f
fix all the analyser warnings in NLua
2023-11-16 03:14:47 -08:00
James Groom
bb0d8f231d
Fix `find` invocation in GitLab CI config
2023-11-16 15:48:00 +10:00
James Groom
b961aa2ec5
Allow NLua to be built again
2023-11-16 15:46:03 +10: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
1f58596d3c
misc fixes/cleanups in ds firmware handling
2023-11-05 17:00:20 -08:00
CasualPokePlayer
eeb824d035
add in Chinese / Korean language options, remove unneeded firmware checks
2023-11-04 05:33:14 -07:00
CasualPokePlayer
e672e9afec
oops forgot to rebuild
2023-11-04 05:30:42 -07:00
CasualPokePlayer
6184182f34
better handle DSi country code and fix extended languages
2023-11-04 05:25:33 -07:00
CasualPokePlayer
a73cb3839b
oops forgot to rebuild
2023-11-03 07:35:58 -07:00
CasualPokePlayer
e98e31e5c7
deduplicate nds/dsi bios loading code
2023-11-03 07:34:07 -07:00
CasualPokePlayer
169137c204
throw an error if the loaded nand region isn't supported by the loaded dsiware title
...
this normally wouldn't be needed but people seem to think it's a good idea to shove the same nand file in every region slot in the firmware config
2023-11-03 05:43:10 -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
7e5efea4bc
fix symlinks in BizHawk.SrcGen.SettingsUtil
2023-11-03 02:33:45 -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