Commit Graph

16664 Commits

Author SHA1 Message Date
YoshiRulz 4baefd8746
Replace GetProcAddrOrNull with GetProcAddrOrZero
both in ILinkedLibManager and its inheritors, and in IImportResolver and its
inheritors; see aa8fe56ef
2020-05-16 12:51:57 +10:00
YoshiRulz 06aa00bc82
Revert "Fix up Nullable<IntPtr> brain damage"
This reverts commit aa8fe56ef9.
2020-05-16 12:36:00 +10:00
alyosha-tas 11806fa178 GBHawk: timing and DMA work 2020-05-15 21:47:41 -04:00
nattthebear 61f269f097 maybe fix a maybe bug in maybe code that maybe will ever be run 2020-05-15 19:44:28 -04:00
nattthebear de6208d264 fix a warning in pce
looks like something was swept under the rug with the PutSettingsDirtyLikeYourMomBits refactor
2020-05-15 19:01:40 -04:00
nattthebear aa8fe56ef9 Fix up Nullable<IntPtr> brain damage
It'd be one thing if we needed a sentinel value distinct from IntPtr.Zero but we don't.  It's a pointer, and 0 is globally understood to be The Bad Value.

Some brain damage remains:
* LoadLibrary abstraction also returns Nullable<IntPtr>
* I named it `Resolve` and not `GetProcAddr` because I didn't want to see win32 everywhere I went :(
2020-05-15 18:56:34 -04:00
adelikat 63ef4125dc lua - fix client library being null on null emulator 2020-05-15 10:43:30 -05:00
nattthebear 4abe3f7932
Revert 4a5ece2076 (#2007)
Because of intervening commits, there may be some other incidental changes.

While well intentioned, the refactoring was just a mess when it came to actually groking this low level memory block shuffling code.
2020-05-15 07:40:28 -04:00
YoshiRulz 1ee38dcac2
Fix IList<T>.ToLuaTable() extension (resolves #2004) 2020-05-15 18:07:37 +10:00
YoshiRulz 0714376afe
Let EmuHawk pick up the shipped libblip_buf; packaging it is too hard 2020-05-15 17:05:12 +10:00
YoshiRulz dd93c232b9
Remove #regions in LuaInterface and Virtu projects
in LuaInterface there was a #region in a #region in a method body...
2020-05-15 17:01:40 +10:00
YoshiRulz 7725d59636
Enable SA1124 "Do not use regions" and fix compliance 2020-05-15 17:00:53 +10:00
YoshiRulz 87ec2618a1
Revert "delete all regions"
This reverts commit e566d8e258.
2020-05-15 17:00:49 +10:00
YoshiRulz a1b501fe5a
Fix OpenAL sound on Unix
TODO copy this file from NuGet cache w/ MSBuild
2020-05-15 15:37:29 +10:00
YoshiRulz fd9da66a85
Revert "Force DummySoundOutput on Mono for now"
This reverts commit aaa75a19aa.
2020-05-15 15:37:23 +10:00
nattthebear 00aebc110c
Fix 3 band equalizer in Genesis (#2008)
If you tried setting your gains to 100 in the previous patch, it worked sort of, but I decided to incorporate ekeeke/Genesis-Plus-GX@f6f4556 as well to actually fix it completely, and rescale the setting properly so that 1.0 really is neutral gain.

Fixes #1319
2020-05-14 20:29:02 -04:00
nattthebear 68dc12dab7 Prohibit U+D/L+R at the core level in SGB
fixes #1308
2020-05-14 19:51:19 -04:00
nattthebear 5892059fc3 Add bulk peek byte for waterbox cores
This should speed up the hex editor significantly in one byte mode, but it doesn't because the hex editor is buggy
2020-05-14 18:40:56 -04:00
nattthebear a49a372410 add bulk read of intptr memory domains.
speeds up ram search in quicknes
2020-05-14 18:10:16 -04:00
nattthebear e566d8e258 delete all regions 2020-05-14 17:33:40 -04:00
nattthebear 0b14755ac3 minimal vscode workspace stuff
some of this works
2020-05-14 17:29:31 -04:00
upthorn 01089645cc Merge branch 'master' of https://github.com/TASVideos/BizHawk 2020-05-13 09:25:35 -07:00
upthorn d48651e668 Prevent crashes on Set*ExtraPadding
Prevent crashes when needing to invoke private methods from MainForm.
2020-05-13 08:57:12 -07:00
zeromus 8d1a1e4c92 Properly skip presentation and user prescale steps when taking "raw" screenshot. About a 10% chance of other regressions. fixes #1997. 2020-05-12 22:39:41 -04:00
alyosha-tas f089fe5fcd O2Hawk: Fix Catch the Ball collision detection (timer and counter can't be enabled at the same time.) 2020-05-11 16:30:09 -04:00
zeromus 453baebdcc neshawk - fix poking wram (fixes ancillary unrelated issue in #1994) 2020-05-10 20:59:40 -04:00
upthorn b37b82958a Merge branch 'master' of https://github.com/TASVideos/BizHawk 2020-05-10 15:34:06 -07:00
feos 5082283204
Update README.md
typo
2020-05-10 08:58:27 +03:00
adelikat cb55cdd0dd delete a bit more PCE menu stuff 2020-05-09 19:11:52 -05:00
adelikat 35bed42042 PCE - remove menu items and config dialogs in favor of simply having a GenericCoreConfig dialog 2020-05-09 19:10:54 -05:00
alyosha-tas e7f603c396 GBHawk: optimizations and serial port cleanup 2020-05-09 18:59:52 -04:00
adelikat e76c89ce7a add some genesis games to the gamedb that weren't there, most don't work however 2020-05-09 13:17:01 -05:00
nattthebear a040e67c95
Add option to force sram in genesis core (#1991)
gpgx upstream automatically gives 64KiB sram to every game of size 2MB or lower, unless specifically overrided.  That sucks and we don't do it.  But some games do need it; there's not enough information to autodetect otherwise.  So add a flag that we can set in gameDB for it, and set it true for two known games that have problems otherwise.
2020-05-09 13:48:46 -04:00
adelikat 976ea4967b cleanup IAsyncSoundProvider hacks and consolidate code that is only used for PCE 2020-05-09 11:01:02 -05:00
adelikat b16684b4c7 YM2413 - don't implement IMixedSoundProvider, it isn't used 2020-05-08 18:04:04 -05:00
adelikat 05cffd887a SMS - cleanups 2020-05-08 17:31:20 -05:00
adelikat 099e2f4f97 remove unused YM2612.cs 2020-05-08 16:29:32 -05:00
adelikat 0a512dac4a SoundMixer - remove an unused and uneeded method, I think it is a reasonable contract that you have to pass in all sound sources during construction 2020-05-08 09:05:32 -05:00
adelikat 3c76e6014a HuC6280PSG - make some public things private or internal 2020-05-07 20:52:27 -05:00
adelikat 3ae16c4248 Ram search - reduce some unnecessary recreating of the entire ram search list during load. Also remove some Reboot() logic that happens right before a NewSearch that immediately negates it 2020-05-07 17:51:40 -05:00
adelikat 1c51d5b012 Multidisk Bundler - add logic to properly restart when the Rom changes 2020-05-07 15:41:48 -05:00
alyosha-tas 227084c2dd GBHawk: better emulate unmapped memory 2020-05-07 15:27:07 -04:00
alyosha-tas 8bd739a4c8 GBHawk: ppu cleanup and more aaccuracy edge case work 2020-05-07 11:24:08 -04:00
feos 0929d224fd track 0.9 2020-05-07 18:13:52 +03:00
feos 697bb84808 tweak 2020-05-07 18:12:44 +03:00
feos d37de2e524 mgba got lost in the forest 2020-05-07 18:12:44 +03:00
adelikat c50c38d88b GPGX - keep a savestate buffer for SaveStateBinary, yeah maybe it shoudln't be every cores responsibility, but until it doesn't, this greatly improves rewind and tastudio performance 2020-05-06 20:22:23 -05:00
adelikat a118763409 a few worthless nitpicks 2020-05-06 20:22:23 -05:00
nattthebear 722358c1b1
Fix pokeymans pirate roms on gpgx (#1986)
mapper_32k_w expects to be able to write to rom area, so those roms now need larger savestate space
We could be extra clever and alloc_invisible the space and then restore after loadstate, but this pokeymans garbage doesn't deserve that work
2020-05-06 09:39:51 -04:00
nattthebear 974792cdfe
Make waterbox consistency check ui option only skip the memory check, not the core check (#1979) 2020-05-06 07:46:40 -04:00