Commit Graph

18903 Commits

Author SHA1 Message Date
Steven Schalek 478d886bec
Add HandleWatchSizeSelected() to allow user-initiated watch size changes to be ignored if they reset the setting to the same value (#2862) 2021-09-18 11:56:16 +03:00
Daniel Peter Rutschmann 94f9016c6f
Add config option for rewinds every fixed number of frames. (#2893)
* wip consistent rewind intervals.

    In Bizhawk 2.3, rewinds were always made in fixed intervals.
    With the new rewinder, the rewind intervals vary depending on the
    save state size. (This is especially pronounced with delta compression.)
    While this is good for TAStudio, it is awful for regular playing / TASing.

* clean up rewind config gui a bit.

Use radio buttons to make it clear that only the numeric input field of the selected option is being used.

* use more precise variable names.

* minor whitespace cleanup

* don't use fixed rewind intervals by default.

This avoid suddenly changing the rewind behaviour when updating from previous recent versions of Bizhawk.
2021-09-18 11:08:43 +03:00
Moritz Bender 158451a68e
Add linux version of LibretroBridge (#2895)
* Add linux version of LibretroBridge

* correct make variables or whatever

* Revert Hawk-side changes (to avoid merge conflict with master)

Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
2021-09-18 11:08:26 +03:00
BrunoValads 14dd3c1695 Removed LuaInterface memory leak warning, it was solved 2021-09-17 23:41:46 +10:00
CasualPokePlayer fbab7f6291
Implement HLE SGB Emulation in Gambatte (squashed PR #2917)
* sgb meme

* various sgb fixes, add hard reset support for spc, make frontend provide spc file

* sgb border support, mostly copied from sameboy

* add support for disabling sgb border, also fix dumb when disabling border

* state work, states seem to be broken tho

* fix dumb state issue

* multiplayer

* fix dumb in spc stating

* misc

* pass SGB tests

* oh right I have to fix this too

* and this dumb too

* attempt to fix weird crashes

* or maybe this will fix it?

* wtf is spc doing?

* rebase

* misc state + debugging stuff

* finally fix weird assertion failure

* factor out loading in spc file, also factor out the ipl

* oops

* init special sgb colors for certain games

* slight sgb audio refactor

* this should work better?

* oops

* switch back to master

* super penguin
2021-09-17 23:35:00 +10:00
YoshiRulz fc0ebf372f
Remove use of the dynamic type from BizwareGL 2021-09-15 06:00:05 +10:00
YoshiRulz 2d81c820b4
Add LibretroBridge binary for Linux and wire it up
build scripts to come, see PR #2895
2021-09-09 04:12:54 +10:00
Chris W 38f3cdb687
Make sorting optional for `forms.setdropdownitems` (squashed PR #2923)
* Add optional sort parameter to SetDropdownItems method

* Improve docs, use pattern matching

Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
2021-09-08 14:18:51 +10:00
YoshiRulz 56a9e333e9
Allow ToolManager.IsAvailable to check ext. tools 2021-09-06 15:51:11 +10:00
mooware 55a8936a30
add options for virtualboy to only show left or right screen (#2842) 2021-09-01 20:41:02 -05:00
YoshiRulz 24f69eb5a6
Also check PreferredPlatformsForExtensions for single-file archives
resolves #2915
2021-08-24 10:30:33 +10:00
YoshiRulz 559c8efcf1
Fix inconsistent treatment of systems' rom file extensions 2021-08-24 10:30:33 +10:00
YoshiRulz 40cf608eef
Deduplicate file extension list in RomLoader 2021-08-24 10:30:30 +10:00
YoshiRulz a26753234b
Add toggle to TAStudio for including frame no. when copying rows
resolves #2643
2021-08-24 08:17:34 +10:00
YoshiRulz c4ff971113 Set firmwares declared with FirmwareAndOption to Ideal status 2021-08-24 07:18:41 +10:00
alyosha-tas c6744feed8 NESHawk: make sure Krnov (J) goes to correct mapper 2021-08-23 11:37:04 -04:00
alyosha-tas 883d74d2cd TAStudio: autofirre pattern repeating zero times should not be allowed, fixes #2910 2021-08-23 10:40:18 -04:00
YoshiRulz 2f344f8ffd
Clean up OTK_GamePad.GetAxes 2021-08-20 08:20:25 +10:00
YoshiRulz 23a7754a2b
Inline some helpers into OTK_GamePad ctor 2021-08-20 08:20:25 +10:00
YoshiRulz 591d92fe51
Use 1-based indexing for button/axis names of OpenTK gamepads
(to match DirectInput)
2021-08-20 08:20:25 +10:00
YoshiRulz be19b1bb14
Simplify OpenTK gamepad discovery/enumeration 2021-08-20 08:20:22 +10:00
YoshiRulz ee0848d7d0
Improve logging for OpenTK gamepads 2021-08-19 13:30:05 +10:00
CasualPokePlayer b29516e864
Update Gambatte (#2909)
* update gambatte

* penguin
2021-08-15 22:28:42 -04:00
YoshiRulz b50afede66
Fix Virtual Pad schemata for ColecoVision 2021-08-16 03:47:14 +10:00
CasualPokePlayer 47a8305699
fix #2902 for real this time (#2906)
* fix Gambatte memory/trace callbacks in double speed mode

* win build

* linux build
2021-08-12 00:52:58 -04:00
CasualPokePlayer 4681805439
fix #2902 (#2904)
* fix #2902; factor out altrunfor and just use upstream's runFor, keeping a frame buffer on the c# side

* linux build
2021-08-11 02:20:53 -04:00
YoshiRulz ebd18df440
In Lua docs for wiki, alphabeticalise functions within module 2021-08-09 00:07:31 +10:00
CasualPokePlayer d37a818f96
Update Gambatte (GB Camera Support, Misc Cleanup) (#2897)
* update gambatte (camera support, misc cleanup)

* linux build

* misc

* [Gambatte] fix resets (oops)

* this didn't complain on my side but w/e ig
2021-08-07 17:50:16 -04:00
YoshiRulz a6e36b30be
Minor fixup to debug menu 2021-08-05 19:21:29 +10:00
YoshiRulz ec2baf17af
Fix missing #if fence
fixes e2d5c5621
2021-08-03 02:34:29 +10:00
YoshiRulz e2d5c5621b
Add debug menu and GLideN64 settings fuzz tool 2021-08-03 02:02:06 +10:00
YoshiRulz fe05442ab0
Clean up nullability in comm API 2021-08-03 01:51:13 +10:00
YoshiRulz 97222f2c5b
Make the default index 1 for NLuaTableHelper.ListToTable 2021-08-03 01:48:39 +10:00
YoshiRulz 7068fd2c39
Fix #2844 properly, and do writebyterange as well
effectively reverts d784e9c00 and 38442bd5f
2021-08-03 01:48:39 +10:00
alyosha-tas b6e91aef32 SMS: make undrawn area black, overscan itelf still needs reworking, fixes #2892 2021-08-02 11:44:11 -04:00
alyosha-tas 38442bd5fe LUA: documentation fix from previous commit 2021-08-02 10:15:01 -04:00
alyosha-tas d784e9c00c LUA: update documentation of readbyterange to reflect what it actually does. Add readbyterangetable which allows the user to select the starting index to any desired value. Resolves #2844 2021-08-02 10:12:29 -04:00
YoshiRulz 21b2d40832
Move Assets copy to EmuHawk so it only happens for top-level
fixes 443c9830b
2021-08-02 21:43:21 +10:00
YoshiRulz 8adb911623
Pull Gambatte submodule, rename Linux binary to .so 2021-08-02 20:54:06 +10:00
YoshiRulz 02de3588a6
Catch and recover from exceptions thrown by OpenTK gamepad poll calls 2021-08-02 19:20:45 +10:00
YoshiRulz 04bf9d0ec2
Fix code style and increase SA1121 level to error 2021-08-02 19:17:31 +10:00
CasualPokePlayer ee1dc3dba7 [Gambatte] add linux build 2021-08-02 16:23:38 +10:00
CasualPokePlayer 87f0fd78fc [Gambatte] sync to upstream 2021-08-02 16:23:38 +10:00
CasualPokePlayer 036e349337
[BSNESv115+] Fix Lag Frames For SGB (#2886)
* better lag detection for sgb. todo: might want to toggle this?

* correct logic and don't fail build this time
2021-08-01 09:54:59 -04:00
CasualPokePlayer 7518ce962b
[Gambatte] Many Updates (#2823)
* [Gambatte] Port setregs from upstream, implement SetCpuRegister, misc cleanup/fixes elsewhere

* [Gambatte] Add more proper uninitalized AGB WRAM, based of a GBP dump

* cleanup Gambatte's CpuSetRegister (credits to stringflow)

* additional Gambatte code cleanup

* [Gambatte] cleanup tracelogger code readability

* fix

* Initalize VideoBuffer with a white screen instead of a black screen, misc video fixes

* misc cleanup

* [Gambatte] hdma work

* [Gambatte] add warning for recording a movie without a bios enabled. doing this as I am annoyed enough from disabled bios being the default and you cannot say anything about the profile system since recent submissions have shown that ineffective

* misc cleanup

* [Gambatte] init state tweaks

* [Gambatte] add setting for patching similar bioses

* fix this

Co-authored-by: TiKevin83 <travismcgeehan@gmail.com>
Co-authored-by: alyosha-tas <alexei.f.k@gmail.com>
2021-08-01 09:54:19 -04:00
YoshiRulz 4973e3eba1
Refactor ITraceable and related types 2021-08-01 23:11:45 +10:00
YoshiRulz 9ec72fd543
Enable nullability in some more services and CodeDataLog 2021-08-01 23:11:44 +10:00
YoshiRulz c26b99b547
Convert RegisterValue to a readonly struct 2021-08-01 23:11:40 +10:00
alyosha-tas 92dfdaec0f NESHawk: fix MMC3 clear timing, fixes Klax 2021-07-31 22:32:10 -04:00
YoshiRulz f92387e134
Fix typo in SMS ctor that caused NREs
fixes bcd47a1ad
2021-08-01 11:09:40 +10:00