Commit Graph

16933 Commits

Author SHA1 Message Date
adelikat 3609037bea move some apihawk api classes from common to emuhawk 2020-05-31 15:55:04 -05:00
adelikat 843610d1c2 remove unused line of code 2020-05-31 15:49:32 -05:00
adelikat d36426f873 Bk2Movie - simplify a bit 2020-05-31 15:07:28 -05:00
adelikat c20e4964c6 move UserBag from Global to GlobalWin 2020-05-31 15:01:28 -05:00
adelikat 8888bd130a move UserDataApi from Client.Common to Client.EmuHawk 2020-05-31 14:57:41 -05:00
adelikat 926b735de1 PathEntryCollectionExtensions - remove use of Global.MovieSession 2020-05-31 14:47:09 -05:00
adelikat e7f26232b9 fix possible NRE nag 2020-05-31 14:30:19 -05:00
adelikat 5e91e548fe SaveStateFile - pass in dependencies to constructor rather than relying on globals 2020-05-31 14:19:14 -05:00
adelikat 7444f32a4e rename SavestateManager to SavestateFile, to better reflect what it does 2020-05-31 13:41:46 -05:00
adelikat 229d7f42e5 break savestate config variables into a dedicated config class, simplify the names, and pass it into SavestateManager.SaveStateFile(), note that this is a soft config breaking change, any of these settings from old configs will be "reset" to defaults 2020-05-31 13:11:14 -05:00
nattthebear 8f3caf384d GPGX: Support independently setting the two troller ports
Fixes #1750
2020-05-31 13:28:58 -04:00
adelikat 34acead9b5 simplify AutoFireController - no need to pass in an emulator and the emulator's definition separately 2020-05-31 12:14:55 -05:00
adelikat 96fa84ff8b remove globals from AutofireController 2020-05-31 12:05:58 -05:00
adelikat d3c4e60405 Lua File list - Simplify save/load method names 2020-05-31 11:50:52 -05:00
adelikat 99dc0e03df LuaFileList - remove pathing concerns to the calling code 2020-05-31 11:49:41 -05:00
adelikat 4b696e64fa simplify LuaFileList more 2020-05-31 11:48:53 -05:00
adelikat 4be160a71f Lua console - unify Save/SaveAs logic and remove a now unnecessary LuaFileList method 2020-05-31 11:48:53 -05:00
adelikat 5a44a99118 LuaFileList - simplify FileName property 2020-05-31 11:48:53 -05:00
adelikat c057c5793c LuaFileList - simplify 2020-05-31 11:48:53 -05:00
adelikat f082ef1f4f move RentLuaSession management out of LuaFileList and into LuaConsole, this is a presentation concern 2020-05-31 11:48:53 -05:00
adelikat 98827aee47 Lua console - use the LoadLuaSession() method consistently instead of copy pasta 2020-05-31 11:48:53 -05:00
adelikat 324a50a0bb move Config.DisableScriptsOnLoad to a lua console setting, and pass it into LuaFileList 2020-05-31 11:48:53 -05:00
nattthebear 6c9b42a526 faust: Support MT renderer
and who said waterbox can't thread.  well, it sort of can't.  but it sort of can.

the speedup isn't that great, but speed is now pretty close (5%?) to snes9x in the only game that matters (final fantasy 5)
2020-05-31 11:53:15 -04:00
adelikat 3b27eb5e91 move SaveStateManager to savestates folder 2020-05-31 10:28:57 -05:00
adelikat a0680e4b94 do the todo of renaming BinaryStateSaver/Loader to ZipStateSaver/Loader 2020-05-31 10:28:02 -05:00
adelikat d21c5dfdfa movie classes in BinarySaveStates.cs into separate files in a savestates folder 2020-05-31 10:22:46 -05:00
adelikat 16ab9dc0b0 BinaryStateSaver - pass in compression level instead of hitting Global.Config, now we just use Global.Config more in other places, but it's a step in the right direction 2020-05-31 10:16:27 -05:00
adelikat 33696eb5df BinaryStateSaver - detangle version lump handling 2020-05-31 10:12:50 -05:00
YoshiRulz 818748adce
Update freenode Kiwi link 2020-06-01 00:47:59 +10:00
nattthebear 161e8cc06f snes faust - hide spex settings
We don't support these because they require connecting and using mednafen's internal savestate system
2020-05-31 08:56:10 -04:00
nattthebear ef7aa9f31c nyma pce: get 2 vs 6 button switch working
Due to limitations in bizhawk, we represent mednafen "switch"es as a series of push buttons, one for each position on the switch
2020-05-31 07:28:00 -04:00
adelikat c9241c3fc5 Move Global.CheatList to GlobalWin.CheatList 2020-05-30 19:34:03 -05:00
adelikat 1ce8a368d4 lua - add client.addcheat() and client.removecheat() that match the functionality of the gameshark tool. Deprecate the nes.addgamegenie() and nes.removegamegenie() methods in favor of these 2020-05-30 19:26:11 -05:00
adelikat c52a896cff GameShark tool - move more logic to a common library class 2020-05-30 19:08:18 -05:00
nattthebear a87fc36e39 Update some docs
For the external cores, I simply listed whatever the release build we have right now built them with.  There are other makefiles and such hanging around...
2020-05-30 19:13:27 -04:00
nattthebear 6938c07708 nyma - enable inline avx, and recompile cores that used it
allegedly worth a speedup on faust and pce.  didn't notice any change, but it's not slower
2020-05-30 19:13:27 -04:00
adelikat 35de59488a fix Movie restart I broke some days ago 2020-05-30 16:35:20 -05:00
adelikat 030c2c9570 *sigh* 2020-05-30 16:15:35 -05:00
adelikat ca39eca22c Pass the instance of MovieSession into movies, instead of referencing them from a global 2020-05-30 16:10:07 -05:00
nattthebear 1711914488 snes faust: enable SA1 IRAM as a memory domain 2020-05-30 17:05:55 -04:00
nattthebear 6e6f800f0e Update Cygne with upstream fixes
We get some small display timing fixes.

To get build working again, This reverts part of commit 0f687ff84e.

Not sure what was up with that commit.  It's clearly non functional; some member names were changed in Blip_Buffer.h but there is no new checkin of Blip_Buffer.cpp at all.  It's completely broken and I need it out so I can actually compile this again.
2020-05-30 14:23:18 -04:00
adelikat 593474b739 Watch classes - required PreviousType on Update(), not pretty, but better than relying on a hidden Global setting, and cleaner than forcing the type to be set on construction and maintaining it's state on config changes 2020-05-30 12:27:13 -05:00
nattthebear 3962049847 Fix hex editor bulk multibyte reads
The existing API was such that BulkPeekUint(Start: 20, EndInclusive: 39) would actually read from the address range [20, 100) instead of [20, 40).  That's completely broken.  The hex editor, the only consumer of the API, made the same exact mistake in reverse so the problem wasn't immediately apparent, but it was a giant land mine waiting to happen.  Fix them both.
2020-05-30 13:13:42 -04:00
adelikat 377567e2ba remove CheatList logic in Watch.Poke() methods. These were only happening 1) during CheatList.Pulse() which is uber bad, or 2) Ram poke tool in 1 place, which is easily done there instead 2020-05-30 11:11:51 -05:00
nattthebear 0085fee935 faust - memory domains, input callbacks, lag flags 2020-05-30 11:09:26 -04:00
nattthebear 6eb54da6af Probably fix a hex editor off by N issue that was crashing some things sometimes
There's DataSize and dataSize and this method was using dataSize all the way through except where it wasn't
2020-05-30 09:57:19 -04:00
YoshiRulz bffd8e4df3
Add Unix build script for FlatBuffers.Core 2020-05-30 17:48:10 +10:00
YoshiRulz ffa17bcd75
Fix cleanup script 2020-05-30 15:57:57 +10:00
YoshiRulz 10e7cb0f34
Use pre-built assembly for FlatBuffers.Core
fixes 4be701e2a
2020-05-30 15:54:06 +10:00
YoshiRulz b56e229a45
Target .NET Standard where possible, restore Virtu TFM
fixes 5a0992c2b
2020-05-30 15:53:20 +10:00