Commit Graph

446 Commits

Author SHA1 Message Date
adelikat 4086eee72d Load Rom - actually pass in the deterministic emulation flag, and change the logic so that the client derives determinstic emulation (currently just if a movie is active), but can be passed in an override if calling code wanted to. 2014-05-24 22:06:08 +00:00
adelikat 6d981c73e1 Lua - fix joypad roundtrip testing 2014-05-24 03:24:05 +00:00
adelikat 667a96a277 Lua - combine common code in memory and mainmemory libraries into a base class, apply range checking to all methods, add memory.getsize() to match mainmemory method, fix a name bug in a memory 32bit method, clean up a bunch of things too 2014-05-23 23:19:20 +00:00
adelikat 6f296a5773 Lua - joypad.setfrommnemonicstr() - support the notion of pressing the analog stick for 1 frame, rather than sticky behavior 2014-05-21 03:25:41 +00:00
adelikat af9c462826 meh, null check some other bizstring library functions while I'm thinking about it 2014-05-21 02:12:27 +00:00
adelikat ac6c5e6b48 lua - nullcheck bizstring.split() 2014-05-21 02:05:26 +00:00
adelikat e88b7cc93e one more tweak to make lua library constructors unified 2014-05-21 01:15:52 +00:00
adelikat 17568997bf Lua - unify constructors and have all libraries receive a lua context and an output callback, simplify some convolved registration code 2014-05-21 00:17:35 +00:00
adelikat 6401e6d719 Refactor LuaLibraryBase to have a Lua context rather than misc libraries being in charge of that when needed. Still todo: clean up the inconsistent constructor logic, vs setting these as public properties 2014-05-20 20:34:51 +00:00
adelikat f19d15d1ed Lua - add a Log callback to the LuaLibraryBase class instead of having misc libraries have to build out this behavior when they need it 2014-05-20 20:25:18 +00:00
adelikat 4ee4088c4c read/write byte range functions - range check, and log warnings if user attempts to access outside the domain range, rather than throw a vague lua exception and crash 2014-05-19 01:42:41 +00:00
adelikat e1a5123dcf implement memory.readbyterange() and memory.writebyterange(), these were in the mainmemory library but how did they manage to never be implemented in the memory library? 2014-05-19 01:13:26 +00:00
adelikat 059952f0a4 Change memory.getmemorydomainlist() to return a lua table instead of a string 2014-05-19 01:06:44 +00:00
adelikat ddd3512552 Ram Search - fix float searches 2014-05-18 23:59:15 +00:00
adelikat b2feb39c11 Lua - implement joypad.setfrommnemonicstr() 2014-05-18 22:54:41 +00:00
adelikat d2bc1b89a3 Lua - implement movie.getinputasmnemonic() 2014-05-18 21:26:27 +00:00
adelikat 3d10d67fea Implement bizstring.split() 2014-05-18 21:06:16 +00:00
adelikat 3127e6d36c Ram tools - for floats, use sci notation, rather than spooky rounding 2014-05-18 19:40:21 +00:00
adelikat 74cafb6ace Ram Search Engine - don't throw exception on not having the type in SetType() this can be the result of the user changing settings before rebooting 2014-05-18 19:14:48 +00:00
goyuken 16a347565b movie: rework how sinksettings are saved/loaded 2014-05-18 17:15:51 +00:00
adelikat 32a1fba5c0 rip out legacy board properties stuff 2014-05-18 16:47:19 +00:00
adelikat 20ed09e86c Rip out more obsolete setting stuff 2014-05-18 16:35:23 +00:00
adelikat 5634b085cf Store sync settings into the movie file, note: this does not include logic for deserializing sync settings and passing them to the core when loading a movie 2014-05-18 15:07:50 +00:00
zeromus 1f3809b08f default "stretch pixels by integer only" to enabled 2014-05-18 02:12:30 +00:00
adelikat cc179df444 put JsonIgnore on some read-only properties in ToolDialogSettings 2014-05-18 02:03:38 +00:00
adelikat 558fb67984 Fix "starts from now" on SMB3 in quicknes, and who knows what other scenarios for savestate anchored movies 2014-05-18 01:00:35 +00:00
adelikat 4fa6b94c1d Hook up N64 to circular analog constraint, put in config, on by default. Still todo: UI for the user to modify this variable 2014-05-17 20:02:10 +00:00
adelikat 0588c3d7ea Check in patch from zeromus that provides back end support for custom Axis constraints for analog input 2014-05-17 19:35:47 +00:00
adelikat d65157fa4b AR - respect core recommendations on by default 2014-05-17 11:59:02 +00:00
zeromus 449957e0a2 add MissingTypeHandling to json.net, to increase durability against config serialization type changes 2014-05-17 04:30:18 +00:00
zeromus 19f3b1b1da here it is, fixed another way, for the record: float ranges can now support inverted senses. 2014-05-17 00:06:20 +00:00
zeromus e4bf12ddf9 faster movie preloading 2014-05-16 00:12:08 +00:00
adelikat 0fa33c7ca8 Fix N64 movie playback by removing a bogus defensive validation check that had bogus logic of ignoring input that didn't match the check. Bogus logic was bogus. 2014-05-15 18:48:41 +00:00
scepheo 0add712863 Removed one-use MaxHexValueFromMaxDigits function from StringHelpers.cs. 2014-05-15 15:12:30 +00:00
scepheo 12559588a3 Fixed indexing error on multi-byte RAM search. 2014-05-15 00:33:18 +00:00
adelikat 2b89c32e4b Toggle Sound hotkey 2014-05-14 23:56:33 +00:00
goyuken 490a3dc3cf gameboy: support setting RTC initial time for TAS, and support chaining the RTC to the real clock for non-TAS. 2014-05-12 17:24:43 +00:00
adelikat 3373628edb Make quicknes the default 2014-05-12 00:19:00 +00:00
adelikat ec5414c9d8 If Quicknes throws an unsupported mapper exception, catch it and load in NesHawk instead 2014-05-12 00:14:45 +00:00
adelikat 1e48111092 Virtual Pad - ability to toggle between single player and multiplayer and remember the setting in the config 2014-05-11 23:08:34 +00:00
adelikat cfb8b463c3 Icons for some gameboy dialogs 2014-05-11 17:48:17 +00:00
adelikat 653fb0ff38 Ram Watch - set the CurrentFileName property during LoadFile, fixes some subtle bugs that resulted from a loaded watch with an empty name 2014-05-11 12:09:41 +00:00
zeromus a72c5891e2 fix some bugs in ffmpeg handling which seemed to be depending on an older version of ffmpeg; and clarify some rom loading error handling, especially in PCE-CD 2014-05-08 03:18:00 +00:00
adelikat 4b6c9b5b80 Save Screenshot in savestates toggle - add a "big" savestates option off by default and set to 128kb as a somewhat arbitruary value (only reached on n64 at 640x480 or higher most likely) 2014-05-07 01:36:19 +00:00
adelikat f58cb3cf72 put Customize menu item in context menu 2014-05-07 01:03:44 +00:00
adelikat c7526c4207 Customize box - implement recent tab 2014-05-07 00:41:13 +00:00
adelikat 8cf1d327e3 Lua - Fix typo, memory.write_u8 instead of a duplicate memory.write_s8 2014-05-06 17:29:52 +00:00
adelikat 80497a4bb4 Move a bunch of config menu items into a Customize dialog box 2014-05-06 01:27:56 +00:00
adelikat 63430bb039 Fix movie loop offset feature 2014-05-05 01:12:15 +00:00
adelikat e5b3138d15 Ram Watch, Ram Search - don't crash on out of range addresses (such as when the user leaves ram watch open and changes cores), highlight out of range addresses and warn user. On Ram Search - give the option to remove these addresses from the list. 2014-05-04 15:30:18 +00:00