Commit Graph

18888 Commits

Author SHA1 Message Date
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
alyosha-tas 9d8a80026e NESHawk: more DMC work 2021-07-31 09:56:28 -04:00
alyosha-tas 01c0560c89 Merge branch 'master' of github.com:TASVideos/BizHawk 2021-07-29 18:52:01 -04:00
alyosha-tas fd765b4278 BMp view: make it a function 2021-07-29 18:50:36 -04:00
Hyago Oliveira dc66b4357f
Add event.onconsoleclose (squashed PR #2884) 2021-07-30 08:44:24 +10:00
alyosha-tas 0f294a220e Replace Win32 call in GBA viewer 2021-07-29 17:35:41 -04:00
alyosha-tas 3c257d48ba Replace Win32 call from Bmp and Gb view 2021-07-29 17:12:25 -04:00
alyosha-tas 6ba3bfa1a2 GB GPUViwer: fix a couple bugs, still leaves a TODO 2021-07-28 10:14:22 -04:00
YoshiRulz f8df53abda
Improve documentation for VersionInfo.gen.cs 2021-07-28 10:25:07 +10:00
YoshiRulz b05d64c10c Redesign PathConfig (resolves #2435) 2021-07-28 10:04:35 +10:00
YoshiRulz dfaf07371e
Use better LINQ in PathConfig 2021-07-28 09:31:59 +10:00
YoshiRulz 28abcac463
Use AssemblyBuilder from System.Reflection.Emit package in BizInvoke 2021-07-27 21:10:50 +10:00
YoshiRulz 4f7a641453
Add missing $ before string in generated ReflectionCache source 2021-07-27 21:10:11 +10:00
YoshiRulz cf92bfd9b4
Clean up EmuHawk.Resources 2021-07-27 17:15:14 +10:00
YoshiRulz 3ed650c0ba
And silence the print flood from Database again 2021-07-27 15:17:14 +10:00
YoshiRulz 517be084ab
Replace Debug.WriteLine w/ Util.DebugWriteLine
(or `Console.WriteLine` if it's in `#if DEBUG`)
bonus wtf: 2 calls in Database were to `WriteLine(string, string)` overload, not
the intended `WriteLine(string, params object[])` overload
2021-07-27 15:14:13 +10:00