Commit Graph

17120 Commits

Author SHA1 Message Date
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
nattthebear 4be701e2ae dotnet sln add .\ExternalProjects\FlatBuffers\ 2020-05-29 21:29:23 -04:00
nattthebear 9b1cbaf4ab faust - some settings cleanup 2020-05-29 21:19:54 -04:00
nattthebear 3a83f6c9d0 faust: show settings dialog 2020-05-29 20:10:32 -04:00
nattthebear 5e3971a87b Add mednafen snes "faust" core
Speed somewhere between shizzlenineizzle and byuugan.  Some things not hooked up yet.
2020-05-29 20:04:39 -04:00
nattthebear de25b53fe2 Use google flatbuffers for some waterbox core communication
Nyma cores have to move some big complex structs on init and it's annoying and error prone.  This solution is not fast, but these are one time transfers anyway, and it does keep code size and saved size down.  Architecture yay.
2020-05-29 18:03:01 -04:00
zeromus 5a0992c2b7 make projects build only once (for net48). this will probably displease anyone working on targeting one of the other 50 frameworks, but they need to do that in another branch until they can figure out how to make it peacefully coexist; maybe by an alternate solution+project configuration (done in common props, ideally) 2020-05-29 17:45:07 -05:00
alyosha-tas 527334f7e6 GBHawk: performance optimizations 2020-05-29 10:25:03 -04:00
nattthebear 4494caac50 nyma - controller settings tweaks
move power and reset to last tab
add name overrides because evidently most humans have no idea that "RIGHT →" in fact means the same thing as "Right"
2020-05-28 11:41:23 -04:00
alyosha-tas bee1712a2f GBHawk: fix mickey's chase damage audio 2020-05-28 09:20:04 -04:00
adelikat 22a2bb7dc8 see true for more info, but is anything really true? 2020-05-28 08:15:49 -05:00
adelikat 3edae578db cheat - delete more stuff 2020-05-28 08:15:49 -05:00
nattthebear d13a1b54a2 code cleanup
Remove three Stream.CopyTo(Stream) variants that all did the exact same thing as the framework method Stream.CopyTo(Stream).  None of them were used anywhere.
2020-05-28 07:40:20 -04:00
nattthebear 04f86c2843 code cleanup
address a comment on a method called "ascii" that actually used utf8
2020-05-28 07:38:09 -04:00