Commit Graph

3543 Commits

Author SHA1 Message Date
nattthebear f99a080e60 Merge remote-tracking branch 'origin/master' into waterbox2
# Conflicts:
#	BizHawk.Client.EmuHawk/MainForm.Designer.cs
#	BizHawk.Client.EmuHawk/MainForm.cs
2017-05-29 14:35:30 -04:00
nattthebear 57b74cb22c for some reason, genericcoreconfig wasn't flagging reboot for non-sync settings 2017-05-29 14:17:30 -04:00
nattthebear 391160ebf9 vboyEE: settings and syncsettings 2017-05-29 13:50:40 -04:00
feos 6bc542cc56 tastudio: fix _columnDown being drawn without moving
used to happen when you click the column header with rows selected
2017-05-29 20:37:27 +03:00
feos 3ba4adb6bc tastudio: finish moving column click edits to taseditor logic 2017-05-29 20:20:44 +03:00
adelikat 3c7707a6a0 lua - add gui.clearImageCache, also add a param to drawImage that can force it to not be cached if desired 2017-05-29 11:09:19 -05:00
nattthebear 7f2e06b0b5 clean things up and make gpgx fully (?) multi-instance correct 2017-05-28 13:46:08 -04:00
adelikat 4db328f7ad Hex Editor - Find box - remember Hex vs Text radio selection 2017-05-28 10:13:34 -05:00
nattthebear 61aa4f5df3 Connect Snes9x controllers, syncsettings, and regular settings 2017-05-28 10:18:20 -04:00
nattthebear 76022f66f9 update to framework 4.6.2. Since Windows XP 64 was very rarely used, there's no loss in switching to this if we're going to 64 bit. Add `FrameworkZipWriter` based on the 4.5 framework's built in zip writer. It shaves a decent amount of time off savestate save time, but rolling our own off of DeflateStream would be even faster. 2017-05-27 18:15:15 -04:00
adelikat 8de4e7bff9 add ui to switch to Atari7800Hawk, still not useable by humans, needs gamedb stuff 2017-05-27 08:56:25 -05:00
adelikat 47758a519d delete more meteor stuff 2017-05-27 07:51:11 -05:00
adelikat f81f745fcc Some luaconsole refactoring and moving more logic into LuaImp 2017-05-24 15:59:05 -05:00
adelikat 19dde8018a InputRoll cleanups 2017-05-24 11:45:57 -05:00
adelikat 74b2cca967 more tastudio cleanups 2017-05-24 10:50:25 -05:00
adelikat b03e224c5e TAStudio cleanup 2017-05-24 10:49:35 -05:00
adelikat 50b5f4a1a9 Virtualpad misc cleanups 2017-05-24 09:07:03 -05:00
adelikat 47f2371953 Misc cleanups 2017-05-24 09:06:31 -05:00
adelikat 4d1dd215e6 Lua Console - temp fix to fix recent regression of lua scripts disappearing on reboot core 2017-05-24 08:30:30 -05:00
adelikat 770f27dfd4 Console lua library functions - check if LuaConsole is loaded on these calls. Currently the console should always be open if a script is being called but this is a preparation commit to eventually support running lua scripts without the lua console loaded 2017-05-23 13:05:36 -05:00
adelikat 4919fc5182 don't reference GlobalWin.LuaConsole in LuaConsole! 2017-05-23 13:04:28 -05:00
adelikat facd845453 Lua Console - Move StartLuaDrawing() and EndLuaDrawing() to LuaImp since they exclusively LuaImp logic 2017-05-23 12:40:40 -05:00
adelikat 6196d81b5d Move _luaList from LuaConsole to LuaImp 2017-05-22 16:47:27 -05:00
adelikat 8d91557f4e cleanups in ToolManager 2017-05-22 14:23:14 -05:00
adelikat c1bff4b19c Disable SNES, Intellivision, Colecovision controller settings menu items when a movie is active 2017-05-22 14:23:14 -05:00
adelikat fd1338a46f Mainform - restore Autohawk click event, remove some unused methods 2017-05-22 14:23:13 -05:00
adelikat a6414ff05c Mainform cleanup round 2 2017-05-22 14:23:13 -05:00
adelikat 28f9d0ee0d Remove GlobalWin.CR_GL because it wasn't being used 2017-05-22 14:23:13 -05:00
adelikat 0796c14046 Misc mainform cleanups 2017-05-22 14:23:13 -05:00
zeromus 3a98460fbd add path to "loaded config" and "saved config" messages. Fix problems where keybindings arent automatically applied when loading a configfile. Fixes #851 2017-05-22 12:49:50 -05:00
adelikat 8062faf40b organize mainform menu item event methods 2017-05-22 09:04:47 -05:00
adelikat c8d6ef0628 since Global.AutofireNullControlls was only being used by Mainform, move it there instead of having in Globals 2017-05-22 07:30:34 -05:00
adelikat f89bcf4bfa cleanup of Lua some related files 2017-05-19 11:05:21 -05:00
adelikat 31e68a38f9 Cleanup EmuHawk lua library code 2017-05-19 09:47:18 -05:00
adelikat 7f269d25df Make lua library dependent services private 2017-05-19 08:58:23 -05:00
adelikat 0d4313af91 general Cheat code cleanup 2017-05-18 15:16:02 -05:00
adelikat 75affd8940 Lua console code cleanup 2017-05-18 14:53:03 -05:00
adelikat 4c48542b98 fix null reference exception when LuaSandbox attempts to use the Logger 2017-05-18 14:27:22 -05:00
nattthebear c2fa9070a3 I guess this might help us someday, if we support other environments... 2017-05-16 20:55:37 -04:00
adelikat f093ad8606 C64 - multi-disk support 2017-05-15 19:52:05 -05:00
adelikat 120f70b83b When key priority is Hotkey over input, account for hotkeys that are not handled through the CheckHotkey() method 2017-05-15 13:11:18 -05:00
adelikat 58500fef0c Add Toggle Key Priority hotkey 2017-05-14 13:53:44 -05:00
adelikat 618951403d drag & drop - default unknown file extensions to rom 2017-05-14 10:13:22 -05:00
adelikat a9ba93fcf3 C64 virtual pad - fixing mapping of joypad B buttons 2017-05-13 16:45:18 -05:00
adelikat 9a936ec2d6 developer builds - allow drag and drop of roms only support in developer builds, this code perpetuates a bad approach 2017-05-10 15:19:09 -05:00
adelikat 2c537ba6d2 oops, nothing to see here 2017-05-10 15:08:05 -05:00
adelikat eef79d25e0 Drag and Drop - check if CDL is available when dropping a cdl file, instead of hardcoding what platforms has it, also some cleanup in relevant file 2017-05-10 15:06:00 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
zeromus 8bc067cbbe lua: fix memory leak causing crash after a few dozen script loads/resets 2017-05-10 01:58:19 -05:00
J.D. Purcell e72aa11d5d Fix rewind crash when cancelling out of archive file picker dialog. 2017-05-08 22:50:45 -04:00
adelikat e839a1c163 Add lua canvas methods to documentation 2017-05-07 16:33:48 -05:00
adelikat c33fbfddf4 Colecovision - virtualpad support for new controller options 2017-05-07 10:04:15 -05:00
adelikat dee501ebd2 tidy up the coleco submenu 2017-05-06 19:49:25 -05:00
zeromus ac767a2acc clarification to the saveram flushing system 2017-05-06 17:50:36 -05:00
alyosha-tas 03f5403b71 Check if save ram exists before writing it 2017-05-06 18:42:09 -04:00
adelikat 59139ab266 Spell out Numerator and Denominator 2017-05-05 11:25:38 -05:00
adelikat 62a13d961d Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider 2017-05-05 11:21:37 -05:00
adelikat f31f3af0c8 InstanceDLL - throw if _hModeule == IntPtr.Zero, advanced loader - show the error if one occured 2017-05-04 19:43:51 -05:00
adelikat 2b625e9c53 Advanced loader - if magic folder necessary for the feature to work doesn't exist, create it. Allow drag and drop of dll files on the Current Core box 2017-05-04 17:54:21 -05:00
J.D. Purcell 8b2b12585a Mostly whitespace cleanup to reduce difference with mono-portable branch. 2017-05-02 23:09:50 -04:00
adelikat 698c6741ae Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method 2017-05-01 20:09:11 -05:00
adelikat ffd743cac7 Remove Genesis.cs core 2017-05-01 16:27:40 -05:00
adelikat ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
J.D. Purcell 083d9bec0e Throttle cleanup. 2017-04-30 20:38:10 -04:00
adelikat 20d2a7d198 Lua - tastudio onquery callbacks - attempt to better clarify the expected lua function that is taken as a parameter 2017-04-30 12:05:27 -05:00
J.D. Purcell 303e8d41e9 Cleanup code to create GUI Renderer. 2017-04-29 17:49:34 -04:00
adelikat 436a853c96 Fix typo - Scema -> Schema 2017-04-29 15:41:27 -05:00
adelikat 19f45dcc85 VirtualPads - PSX Multitap support 2017-04-29 14:57:27 -05:00
adelikat ba4af238b7 VirtualPads - PSX NeGcon support, also slider controls now support vertical orientation 2017-04-29 14:47:51 -05:00
J.D. Purcell 0d853fd74a MainForm cleanups. 2017-04-29 15:18:08 -04:00
adelikat 1c157119a4 oops, remove the multitap not supported label 2017-04-29 13:06:59 -05:00
J.D. Purcell 3ebcaa8af0 Rewind cleanup / tweaks. 2017-04-29 14:04:19 -04:00
adelikat 70991a10a8 PSX - enable multitap in the UI 2017-04-29 13:03:18 -05:00
J.D. Purcell a72bdfe30f Allow rewind during movies. 2017-04-29 11:06:00 -04:00
adelikat f6f967a723 VirtualPad - start PSX NeGcon support 2017-04-27 16:52:50 -05:00
adelikat a8c15a652b Emulation.Common cleanups 2017-04-27 11:37:26 -05:00
adelikat ebe001b526 Cleanup FirmwareManager, and some other Emulation.Common nitpicks 2017-04-27 10:55:22 -05:00
adelikat 81eff3de81 PSX Controller Config dialog - set Accept button property and set start position to CenterParent 2017-04-26 19:55:00 -05:00
zeromus 507ca1db27 psx: support negcon (c# side) 2017-04-25 22:59:46 -05:00
zeromus faa614749b stop hotkeys from getting sucked up by absent tool windows when hotkey-over-game priority is enabled 2017-04-25 22:59:45 -05:00
J.D. Purcell 58d1788446 Controller config: Fix U+D/L+R anchoring. 2017-04-25 23:37:23 -04:00
J.D. Purcell 4a61204fd3 Hotkeys dialog: Fix anchoring of "Misc" button. 2017-04-25 23:32:41 -04:00
nattthebear 9ec9975f48 possibly fix a bug with gbc settings on funky ui scales 2017-04-24 19:08:26 -04:00
adelikat a20e01ab69 Remove the obsolete MemoryDomain.FromByteArray() method 2017-04-24 13:55:20 -05:00
adelikat a86ad73ade Comment out some temporarily short-circuited code to remove some warnings 2017-04-24 12:59:24 -05:00
J.D. Purcell 4848bb5cc3 MainForm: Remove unused line. 2017-04-24 10:34:13 -04:00
adelikat cc5ff74689 Fix debugger throwing exceptions on opened on a core that does not implement IDisassemblable 2017-04-23 11:42:26 -05:00
adelikat 30aa86cd7e Intellivision - more cleanup 2017-04-23 11:10:26 -05:00
feos 8dcf9fb61a tastudio: tweak editing selection by clicking column header
instead of reverting every button state, apply the reverted state of the first selected frame to all the selection
2017-04-23 14:47:10 +03:00
adelikat 1184e8ed05 lua - implement tastudio.getselection(), tastudio.insertframes(), tastudio.deleteframes() 2017-04-22 20:50:03 -05:00
adelikat 76f77390ca SNES - virtual pad support for all the controller types and combinations 2017-04-22 11:55:21 -05:00
adelikat 15e9a9174c revert this logic in snes controller config 2017-04-20 20:45:29 -05:00
adelikat 99d70a1c7f SNES - super scope support 2017-04-20 19:50:58 -05:00
adelikat 27e7edcaf1 SNES - add a "Limit mouse speed" options on by default, to make controls a sueable for casual playing and a config option to turn it off 2017-04-19 20:30:54 -05:00
J.D. Purcell 3d6b1da94d Whitespace only (indentation fixes/cleanup). 2017-04-19 20:34:30 -04:00
adelikat e3ae4b1410 LibsnesCore reformating round 2 - sort out private fields vs pulbic properties 2017-04-19 12:19:16 -05:00
adelikat d1d6c20749 break SNES settings code into its own file 2017-04-19 08:31:48 -05:00
adelikat 8f3d1613a0 misc code cleanups in ram watch tool files 2017-04-19 07:50:25 -05:00
adelikat 912a2d7346 misc code cleanups in AV code 2017-04-18 12:27:44 -05:00
alyosha-tas 88348f03fa Genesis game genie code fix here as well
other half of fix to #777
2017-04-18 07:14:18 -04:00
zeromus e9229747d7 new libretro WIP with libco support. Still missing sound, saves, many small details. Will undergo heavy organizational revisions. 2017-04-17 22:49:08 -05:00
adelikat 28da1e215f misc code formatting improvements in random files in EmuHawk 2017-04-17 15:23:31 -05:00
adelikat 13ca76f3f8 UI for changing SNES controller configurations 2017-04-15 20:34:32 -05:00
alyosha-tas 31ba7bc3dd Update GenGameGenie.cs
Fix #777
2017-04-15 19:49:15 -04:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
J.D. Purcell ed3bf0e62b Fix mixed line endings. 2017-04-15 15:53:02 -04:00
adelikat 1e05e8a29d Virtual Pad - add tilt controls to GBA when mGBA is the core. Fixes #830 2017-04-13 13:06:12 -05:00
adelikat e23dc983f0 Merge pull request #826 from lenalia/master
Added horizalign and vertalign to DrawText
2017-04-11 16:43:20 -05:00
adelikat fc59710dab some code cleanup, mostly introducing C#6isms, also add a customized resharper+stylecop settings file in case anyone is using resharper 2017-04-10 10:30:05 -05:00
J.D. Purcell 16bf63ade8 Random cleanups. 2017-04-10 09:36:04 -04:00
J.D. Purcell b2a28339d1 Use 'nameof' operator. 2017-04-10 08:36:42 -04:00
J.D. Purcell ab155217e7 Random (small) cleanups. 2017-04-09 23:08:26 -04:00
J.D. Purcell 676da1002d Update MultiHawk's DisplayManager. Because I was testing out multiple D3D controls. 2017-04-09 22:44:58 -04:00
J.D. Purcell 93aeffe69e Remove some duplicate/unused code in MultiHawk. 2017-04-09 21:47:59 -04:00
J.D. Purcell 85c1a42e48 Remove some duplicated code. Also trying some C# 6 stuff, let's see what breaks. 2017-04-09 20:59:23 -04:00
J.D. Purcell a786f73154 Fix some places using 'int' instead of IntPtr. (#828) 2017-04-08 18:36:29 -04:00
J.D. Purcell f1dee6c20e Fix flickering when toggling vsync on/off (e.g. while fast forwarding). 2017-04-08 16:56:15 -04:00
J.D. Purcell 0b81463408 Make sure Direct3D objects get disposed. Fixes all SlimDX warnings when exiting. 2017-04-08 15:18:55 -04:00
J.D. Purcell 1096e1bc5a Small improvement to previous commit. 2017-04-08 12:40:31 -04:00
J.D. Purcell a2aba7e3c2 Make sure DirectInput objects are disposed properly. Also includes a better fix for thread safety issues (#722). 2017-04-08 11:49:04 -04:00
J.D. Purcell 5446a636ba Fix crash on exit when using XAudio2 with the debugger attached. 2017-04-07 22:57:23 -04:00
lenalia 117ce07aaf Added horizalign and vertalign to DrawText 2017-04-04 21:20:33 -04:00
shanehoman 58e1b52369 expose MainForm.SaveRam() method to lua 2017-04-02 23:12:38 -07:00
shanehoman 0db0c4eccf bind a hotkey to flush sram 2017-04-02 23:08:47 -07:00
J.D. Purcell 07a8c2c027 Remove unnecessary rewind capture on ROM load. I reviewed the original commit where it was added, and it was only to initialize the delta rewind buffer. 2017-04-02 23:01:41 -04:00
J.D. Purcell 3f776dbf6f Rewind: Fix subtle off-by-one-frame bugs (only really noticeable when frame advancing). 2017-04-02 18:50:34 -04:00
J.D. Purcell c58d2929f8 SoundOutputProvider: Standalone mode to eliminate the need for an external buffer when used with SyncToAsyncProvider. 2017-03-25 16:26:46 -04:00
J.D. Purcell 231795c2cb Correction to previous AVI recording commit: buffer doesn't need to be so large. 2017-03-23 09:30:22 -04:00
J.D. Purcell 33d42152a8 Fix N64 audio weirdness in AVI recording. 2017-03-22 23:00:37 -04:00
zeromus e484a69950 put RemoveMOTW back in the EXE assemblies. They can't load MOTW'd dlls which contain RemoveMOTW. We still need the RemoveMOTW code in a shared place for externalcores. 2017-03-21 11:09:43 -05:00
J.D. Purcell 6cc5a914b7 Rewind cleanup. 2017-03-18 21:22:02 -04:00
feos 54320865c0 tastudio: don't update branches if no movie was loaded 2017-03-18 18:15:21 +03:00
feos 216c7ea487 tastudio screenshot popup: act more like taseditor in terms of time
only update opacity by 1/8th every 40ms. allows to skip fading in if mouse moves around at regular speed, and only pops up if deliberately hovering over the cell

also reduce magic numbers a bit
2017-03-18 18:14:23 +03:00
feos 1827f44fb8 tastudio: detach screenshot popup timer since it crashes 2017-03-18 17:18:36 +03:00
feos e99b52342c tastudio: bind autosave and screenshot popup timers to controls
also annihilate _saveBackgroundWorker
2017-03-17 21:55:43 +03:00
zeromus edc3cea302 use gizmo to load roms from drag&drop and commandline (file>open already magically worked, due to explorer I guess) 2017-03-15 22:50:35 -05:00
feos a9cda4a21f tastudio: dynamically resize usertext column 2017-03-15 21:46:46 +03:00
feos 2fa40bac04 tool positions: tolerate slight accidental offscreen by resetting to 0 instead of ignoring
todo: check bottomright offscreen too someday?
2017-03-15 19:49:32 +03:00
feos 4eaa04d412 tastudio: branch text edit popup follows mouse pointer 2017-03-15 19:24:27 +03:00
feos 6e99227c72 tastudio: Clone() for branches. fixes UserText cancellation
also cancel backup and osd message if text edit was canceled
2017-03-15 19:17:47 +03:00
feos d254ad01d8 tastudio: add branch undo feature
the fact that it's separated from changelog is because there's no way to extend the latter, but *also* it's intended, as we want branches to be independent from changelog manipulations

todo: figure out branch text edits
2017-03-14 22:49:55 +03:00
feos c6d1aad25f tastudio: actually change branch screenshot bitmap 2017-03-14 22:15:20 +03:00
feos 868c02175c some more topmosts and sound mutes 2017-03-14 22:13:51 +03:00
feos a30b89039f more topmost modal dialogs 2017-03-12 14:50:24 +03:00
feos fed9380e33 tastudio: rewinding was turning rec mode off 2017-03-08 20:42:24 +03:00
feos 853432da26 tastudio lua: add recording mode functions
finally fixes #793
2017-03-08 19:56:44 +03:00
feos a124fd72a1 tastudio: add jump to branch frame (aka read-only loading) 2017-03-08 19:32:09 +03:00
feos 31ccc9f413 tastudio: hide when going from branch 0 to header cell 2017-03-08 16:49:55 +03:00
feos 0ec0910207 tastudio: move screenshot popup to yet another control to allow fading
avoid false branch 0 hover when entering branch view from the top

todo: hide screenshot when moving upwards to header cell
2017-03-08 16:31:49 +03:00
zeromus fbd7601b77 for evaluation:
overhaul snes core -- radically simplify IPC.

There were two goals
1. speedup (failed)
2. not break in the old way of becoming unstable when GC happens (uncertain)
3. lay framework for simplified libretro interface (success, provisional on #2)

the speedup failed, I think, because a slower libco is needed to coexist with .net. I think I will fix this be incorporating both libcos, one for bsnes internal use, and one for .net<->c++ switching
2017-03-06 05:21:35 -06:00
zeromus 3bb1d0849d remove noise from csproj 2017-03-06 05:21:35 -06:00
zeromus 498b2b4dd9 hex editor: add import binary tool (quick and dirty way to effect .sav importing in many cases) 2017-03-01 15:06:58 -06:00
alyosha-tas b415eb48e7 Update BizHawk.Client.EmuHawk.csproj 2017-03-01 11:18:18 +08:00
alyosha-tas 8f747e2f74 Add files via upload 2017-03-01 11:15:16 +08:00
alyosha-tas 250a3da0e9 Add files via upload 2017-03-01 11:07:39 +08:00
alyosha-tas 4fbd7ff033 Add files via upload 2017-03-01 10:57:59 +08:00
alyosha-tas da38007338 Delete blank 2017-03-01 10:53:31 +08:00
alyosha-tas 41cc01e8a2 Delete ColecoControllerSettings.resx 2017-03-01 10:53:21 +08:00
alyosha-tas 76a9328b7b Delete ColecoControllerSettings.cs 2017-03-01 10:53:05 +08:00
alyosha-tas c3b7543cfe Delete ColecoControllerSettings.Designer.cs 2017-03-01 10:52:50 +08:00
alyosha-tas ec99c8f44e Add files via upload 2017-03-01 10:52:18 +08:00
alyosha-tas a1dd3253c9 Create blank 2017-03-01 10:51:59 +08:00
alyosha-tas c96a3c9588 Coleco Controller 2017-03-01 10:48:19 +08:00
adelikat dec3a31d2b add a toggle all cheats hotkey 2017-02-25 15:32:18 -06:00
feos 5c91c2f98c tastudio: allow exporting a named state 2017-02-24 21:58:41 +03:00
zeromus 6b298f07f2 do WhackMOTW after redirecting the dll directories fully, so that the shared RemoveMOTW that I moved to a common assembly can be found (wild guess) 2017-02-23 05:27:27 -06:00
zeromus daceefdd6a fix build. buzz off. 2017-02-23 04:54:29 -06:00
zeromus 2bff78f7c6 break the build. buzz off. 2017-02-23 04:42:46 -06:00
adelikat 5d4c8020c2 Delete more stuff 2017-02-22 10:12:14 -06:00
adelikat f35717aae2 Remove yet more unused code 2017-02-22 10:11:08 -06:00
adelikat 7653b86f44 Remove some unused code 2017-02-22 10:09:44 -06:00
zeromus 569113f2f8 fix #741, maybe, by removing MOTW from external cores before interrogating them. Will it still trigger when running them, if that's done somehow before interrogating them? (untested) 2017-02-21 18:23:02 -06:00
adelikat c61d432fd6 Don't position tools to last saved position if that position is not visible on screen 2017-02-21 16:57:47 -06:00
feos b5730bda3a clarify lua doc 2017-02-19 11:56:17 +03:00
feos 03ea4f9126 tastudio: fix #806 part 2 2017-02-19 11:43:35 +03:00
feos d19fcb62ab tastudio: fix the first half of #806 2017-02-19 10:31:30 +03:00
feos 60d69db588 tastudio: stop crashing upon movie platform mismatch
make the error window topmost
2017-02-19 00:26:42 +03:00
zeromus f458648fad improve rewind in tastudio by leaving editmode intact but taking care not to clobber frames. take special pains to ensure that (reverse) frame progress vs smooth rewind semantics stay as expected. 2017-02-16 00:29:28 -06:00
feos 885a57d91e tastudio: it's never enough, fix #800 (row count cap) 2017-02-15 19:54:45 +03:00
adelikat eccfd94cce expose intellvision in the path config in release builds 2017-02-11 13:05:16 -06:00
adelikat 2f3c0af4ea Open Rom dialog - mark intellivision as not experiemental and have it show up in release builds 2017-02-11 12:45:20 -06:00
feos 5bc643f1fd tastudio: shrink the branch image like you should 2017-02-09 23:10:41 +03:00
feos 821baeb649 tastudio: captured state 0 was useless if movie conversion happened at frame>0
capture it after core reboot
2017-02-09 22:51:52 +03:00
adelikat 5277be6833 Ram Search - update the size and display type dropdowns on restart. Fixes #762 2017-02-07 18:54:58 -06:00
feos 230dcc2356 tastudio: make ToggleReadOnly() toggle read-only
this allows movie.getreadonly() return valid value
2017-02-07 19:03:46 +03:00
zeromus ea2188dc46 make tastudio.setplayback correctly restore the recording flag after it finishes seeking from the greenzone to the target frame 2017-02-07 00:01:14 -06:00
zeromus 136c071ee8 12hz is too fast for default fps updates, i cant even read it. 2017-02-06 23:17:46 -06:00
feos c739755e9b tastudio: hide whatever starts with "Key " by default
ideally, there should be separate Keys menu items in SetUpToolStripColumns() as well, moving them to a separate dropdown and hiding/showing all at once
2017-02-05 15:20:05 +03:00
zeromus d87a2b27a2 make lua's new tastudio.setplayback re-enable the record flag if it was set (the existing logic leaves it disabled I think as security against the GUI use case where users might stomp their video seeking while playing in record mode). future work: add lua control for the record mode flag 2017-02-05 04:20:07 -06:00
zeromus 539cdc29f3 add SetPlayback to tastudio lua library. Can't be 100% sure it works, but it seems to be working OK. it may hang everything up if you seek through a really long redzone..... 2017-02-04 21:40:29 -06:00
zeromus a70e6e2fc4 fix #790 (Scroll wheel missing from input.getMouse()) 2017-02-04 20:52:32 -06:00
adelikat 0480ea3f44 when toggling a script on, update on screen lua drawing stuff. On gui.clearGraphics() immediate update the screen 2017-02-04 15:54:04 -06:00
adelikat 3b197b8fdf lua console - roll back commit that disposes scripts when closing the window, apparnetly luainterface doesn't want you to dispose of disposable things 2017-02-04 15:30:13 -06:00
adelikat 0c7cedd2ac lua - tastudio.setmarker() - make marker message optional 2017-02-04 15:11:43 -06:00
feos 5d3435e6e6 tastudio: update caption as well 2017-02-04 23:36:17 +03:00
feos ae15073180 tastudio: fix regular movie opening from tastudio 2017-02-04 22:33:52 +03:00
adelikat 3d805a3541 null check for previous commit 2017-02-04 10:45:32 -06:00
adelikat 923565c350 Lua console - dispose of scripts when closing the console window 2017-02-04 10:32:36 -06:00
feos 51f21691fd tastudio: fix #788 2017-02-04 16:09:13 +03:00
adelikat c050eaa8c7 lua console - fix the edit button to account for relative vs absolute pathing 2017-02-02 17:48:32 -06:00
feos f860c5d8b1 tastudio: try to fix opening a bk2 directly 2017-02-01 20:41:15 +03:00
feos 7d469c08a8 tastudio: show bsnes performance mode warning
addresses #788
2017-01-31 00:00:09 +03:00
adelikat 4a7321b096 Ram watch - yet another tweak to restart logic, ugh 2017-01-29 20:21:47 -06:00
adelikat dca03607be Ram watch - another tweak to previous commit 2017-01-29 19:56:09 -06:00
adelikat c5ff514760 Ram watch - fix logic when deciding whether to keep the current watch list when rebooting the core, the check was always failing 2017-01-29 19:32:52 -06:00
adelikat af1a2547ae Add a hotkey to toggle the Skip Lag Frames option 2017-01-29 18:33:19 -06:00
feos 37a44c2b17 tastudio: fix and tweak clipboard and selection display 2017-01-26 20:21:48 +03:00
zeromus f7638e8352 "fix" client.bufferwidth and client.bufferheight .... I dont understand why they were doing what they were doing. It seems like such a simple thing, just return the dimensions of the core's videoprovider. Someone should rethink all these (and the surface names, and the padding names) and craft a complete, new design. 2017-01-26 00:54:44 -06:00
feos d8d0c62adf tastodio: completely redo branch screenshot popup just to avoid cropping
moved it to ToolTip, which feels like the proper way to do it
2017-01-22 17:46:54 +03:00
feos 74adace569 tastudio: file opener improvements
- fix opening and conversion of a regular movie
- fancy ofn filter, suggesting all available files first
2017-01-20 02:00:27 +03:00
feos ae16703ffc tastudio makers text popup:
- appears when double-clicking existing marker in tasview
- appears at cursor position when called from tasview (fancy)

this required adding optional position to ShowHawkDialog()
2017-01-19 23:24:41 +03:00
feos 17faf42b6e tastudio: try to be a bit smarter with SelectedIndexChanged
forces SetSplicer() calls, but only at InputRoll's OnMouseDown, the rest is handled by tastudio
2017-01-19 21:55:18 +03:00
adelikat 44a1e691f3 Ram Search - show restored/removed messages when undoing/redoing, fixes #749 2017-01-14 20:00:55 -06:00
adelikat 9408c3fc1a Hex Editor - Fix #761 2017-01-14 16:51:28 -06:00
feos 3548ec00dc tastudio: use Emulator the same way branch control uses it
this fixes a bug that generated a whole stack of temp fixes over temp fixes, as well as the crash those were trying to prevent
2017-01-13 18:26:52 +03:00
feos 8f8cf53052 tastudio columns: restore call missing since commit 3ea3012aa7
seems to only be needed for importing bk2s, other scenarios setup columns on their own, differently
2017-01-07 19:48:04 +03:00
hegyak 5ccde9cc71 GameGenie codes are Word Sized, not Byte Sized. 2017-01-05 05:09:56 -08:00
hegyak 33d79d233d Change the Main Form GameShark Converter to Cheat Code Converter. 2017-01-04 19:41:44 -08:00
hegyak f80662ddb1 Change the name of the GameShark Converter to Cheat Code Converter 2017-01-04 18:05:14 -08:00
feos 8bae2a4648 tastudio: fix double-click on the empty area throwing an exception 2017-01-04 20:16:34 +03:00
alyosha-tas c496674301 TASStudio revert design commit 2017-01-02 12:27:40 -05:00
feos 480bc5540f tastudio: reload the tasmovie if it was loaded outside tastudio and then tastudio was opened
also go to current emulator frame in that case

todo: one isn't expected to change anything in the tasmovie while in regular mode, otherwise something might break. fceux opens taseditor if a read+write state is about to load in such conditions
2017-01-02 13:59:00 +03:00
Isotarge ab1b1877e8 Lua: Implement forms.setdropdownitems() 2016-12-26 12:13:19 +10:30
hegyak ebe011f43a Reverse Byte and Word in tools/GameShark.cs 2016-12-22 05:15:40 -08:00
J.D. Purcell 52d604cb24 Fix turbo mode not disabling sound rendering (broken by 68a362c).
Apply FF&RW volume when unthrottled.
2016-12-20 22:41:59 -05:00
J.D. Purcell 36daa01ad6 Sound cleanup. In case you're curious, the "SilenceLeaveRoomForFrameCount" part ended up not mattering (and may have been slightly counterproductive) once SoundOutputProvider had the ability to be notified of underruns. It doesn't matter for BufferedAsync either. 2016-12-18 20:45:38 -05:00
J.D. Purcell f2e9ca2ac9 Fix fast-forward when using audio throttle and XAudio2 or OpenAL. 2016-12-18 15:23:23 -05:00
J.D. Purcell 970a9017d4 Fix typo in previous commit. 2016-12-18 13:03:58 -05:00
adelikat 40be0dd0b3 Refactor the way a Null ControllerDefinition is created 2016-12-16 23:34:18 -06:00
J.D. Purcell 7843664f68 Improve FPS smoothing to initialize with a real value instead of ramping up from zero. Re-initialize the FPS data after pausing or changing fast forward/rewind state to eliminate ramp-up and ramp-down in those cases. Only the initial behavior has changed; the FPS calculation/smoothing is otherwise mathematically identical. 2016-12-16 16:01:21 -05:00
J.D. Purcell c971fba7df Prevent divide by zero. Would sometimes result in fSkipFrames being PositiveInfinity, which gets propagated to fSkipFramesError, resulting in the "while (fSkipFramesError <= -1.0f..." loop freezing. 2016-12-15 22:10:38 -05:00
J.D. Purcell cabf27f5d9 Move a few files related to sound output from BizHawk.Emulation.Common to BizHawk.Client.EmuHawk. 2016-12-15 19:25:09 -05:00
J.D. Purcell b0141c516e Multi-disk Bundler: Fix DPI scaling issues and improve control positioning. 2016-12-15 15:06:35 -05:00
adelikat 54eb678387 create an ICreateGameDBEntires specialized service and have Atari2600 implement it. Use this in the log window instead of sneaky reflection to access the method 2016-12-15 10:45:20 -06:00
J.D. Purcell d95edc273e Sound cleanup. 2016-12-14 23:26:01 -05:00
J.D. Purcell a33a8252ff A bit more sound cleanup. 2016-12-14 22:03:25 -05:00
J.D. Purcell 84480e4235 Fix sound bugs + cleanup. 2016-12-14 21:19:46 -05:00
J.D. Purcell 036358fbf9 Fix bug with async sound. 2016-12-14 18:27:04 -05:00
J.D. Purcell afd55fdc6b Revert "Default to Sync sound instead of Async"
This reverts commit 6702f7795c.
2016-12-14 18:26:19 -05:00
alyosha-tas 6702f7795c Default to Sync sound instead of Async
It seems like 'CanProvideAsync' was always returning true so the else if at 1621 was defaulting to setting Async, which caused an exception later.

This seems similar to some TAStudio issues where different people are getting different results depending on Windows version, but I don't see any issue with not setting Async mode.
2016-12-14 15:07:04 -05:00
alyosha-tas 0c3da629c8 Fix for exception in marker window 2016-12-13 22:37:06 -05:00
adelikat 8c57dd98f3 NESHawk - add IsFDS flag and use it in NesSchema instead of a check for BoardName == "FDS" 2016-12-13 15:24:53 -06:00
adelikat dd48864058 AsVideoProviderOrDefault() extension method 2016-12-12 13:47:11 -06:00
adelikat 5ff33e7569 Rename IController.Type to IController.Definition to more clearly describe the property 2016-12-12 12:30:32 -06:00
nattthebear dbdac5e3f2 Fix stuff or not 2016-12-11 22:37:28 -05:00
nattthebear a98316ba97 Soudn refactoring: Unbreak clock & vsync thrtottle 2016-12-11 18:35:42 -05:00
nattthebear ca60a33293 mess some stuff up 2016-12-11 15:01:42 -05:00
nattthebear 47fa5bcb7c Minor cleanup 2016-12-11 14:16:25 -05:00
nattthebear eb72ff9053 Swag up NullSound 2016-12-11 14:07:12 -05:00
adelikat 3be1502b6b Clean lup 2016-12-11 11:40:45 -06:00