Commit Graph

18711 Commits

Author SHA1 Message Date
adelikat 0a643af6df Hex Editor .tbl file loading - clear table before loading a new one, ignore empty lines in file 2021-03-20 22:45:20 -05:00
YoshiRulz 611d1bfaa1
Use UIHelper in FormsLuaLibrary (resolves #2604) 2021-03-21 08:23:31 +10:00
nattthebear 62ddd6495e
Tweak the rewinder. (#2668)
MainForm intentionally frame advances right after rewinding; this is so it can capture a new framebuffer. The old rewinder sort-of understood this, the new one does not.

Tweak the logic so the new rewinder behaves like the old one, but only when the interval is 1. When the interval is greater than 1, don't go farther back than we have to.

No particular behavior is guaranteed when nonlinear time exists (ie, rewinding through manual loadstates).

Fixes #2667.
2021-03-20 12:05:19 -04:00
YoshiRulz 359cb0d17b Fix executable bits on some wbox scripts 2021-03-20 08:11:48 +10:00
YoshiRulz c75ea8efd1 Cleanup libcxx scripts 2021-03-20 08:11:48 +10:00
YoshiRulz 4697c56a3b Pull musl submodule, complete script refactor and update readme 2021-03-20 08:11:48 +10:00
YoshiRulz f0b9e2e828
Make PathEntry sealed, add constructor and use in PathEntryCollection 2021-03-19 10:33:10 +10:00
YoshiRulz 0b5f48aede
Replace some parameter mutation w/ recursion 2021-03-19 10:33:10 +10:00
TiKevin83 585ed99cdd update gambatte-speedrun GBA modeswitch timing and testROM accuracy 2021-03-18 19:31:06 -04:00
YoshiRulz c53732c80c
Remove buttons from HelloWorld ext. tool which used GetInput/SetInput
fixes c11d410fb; I'm sure I could have rewritten these to use IJoypad but, like
the rest of this tool, it didn't seem like a great example
2021-03-19 07:51:13 +10:00
YoshiRulz c5e84ff02e Create new project Bizware.OpenTK3 from Bizware.BizwareGL and EmuHawk 2021-03-19 07:32:29 +10:00
YoshiRulz b1af3b1940 Move interface IBlendState to own file 2021-03-19 07:32:29 +10:00
YoshiRulz f36fc654ca Copy vector and matrix structs from OpenTK and cleanup
I managed to trim the > 5000 LOC of the original 4 files down to 400 LOC \o/
2021-03-19 07:32:29 +10:00
YoshiRulz 337b054042 "Inline" some vector and matrix operations 2021-03-19 07:32:29 +10:00
YoshiRulz 3dd03495e2 Copy enums from OpenTK 2021-03-19 07:32:29 +10:00
YoshiRulz 4a0e343c37 Copy DegreesToRadians method from OpenTK.MathHelper 2021-03-19 07:32:29 +10:00
YoshiRulz 7ff70de159 Split IGL.TexParameter2d into two methods 2021-03-19 07:32:29 +10:00
YoshiRulz 6fc43e9c22 Remove unused class BizwareGLExtensions 2021-03-19 07:32:29 +10:00
nattthebear 90d0e21863
Probably fix SNES core crash on load with CDL enabled, or formerly enabled. (#2662) 2021-03-12 23:33:59 +03:00
James Groom 43ba7f94dc
Fix SMSHawk's system ID (#2650) 2021-03-09 19:18:25 -06:00
YoshiRulz d524da3530
s/null/nil/ in all included Lua scripts 2021-03-07 22:19:40 +10:00
zeromus 6f04ff6252 partly fix #2656, I guess. This was a shortcoming in the architecture that allowed the joypad API developers to make a mistake. There will be other fallout from that, but this is the minimal fix. 2021-03-06 19:57:49 -05:00
YoshiRulz 3fb35b1599
Re-add enable/disable behaviour to background input config checkboxes
erroneously removed in 74ba28146 CBB linking the whole commit and revert history
2021-03-05 03:09:29 +10:00
YoshiRulz c28de357a2
Add comments for SAST to GitLab CI config
would use https://security-code-scan.github.io but currently there's no way to
limit it to one .sln so it tries to build cores and breaks
2021-03-04 21:42:37 +10:00
YoshiRulz 513dbcfe5c
Fix compilation of DBMan ext. tool 2021-03-04 20:14:59 +10:00
YoshiRulz 6afb3be98c
Rewrite some expressions to avoid type checker edge cases 2021-03-04 20:11:18 +10:00
TiKevin83 28241e3042 fix autodetection of console mode 2021-03-04 02:04:45 -05:00
TiKevin83 b2893d24c6 Update Gambatte to fix RTC issues and output location of the DLL in the assets folder 2021-03-04 02:04:45 -05:00
TiKevin83 9ca1b86316 Update gambatte to support the wisdom tree mapper and fix upstream reference and links 2021-03-04 02:04:45 -05:00
YoshiRulz 2affc5bca7
Remove .\ and ..\ from PathConfig autocomplete
-_- this has been annoying me since I started contributing and I only just
learned the cause was in our codebase
2021-02-26 20:13:24 +10:00
YoshiRulz e7512e57a0
Use global lookup for display names in path config 2021-02-26 20:07:34 +10:00
YoshiRulz 0e4e9a2840
Refactor PathConfig.DoTabs and helpers 2021-02-26 20:07:34 +10:00
YoshiRulz b14ed4966f
Cleanup PathEntryCollection ctors, remove unused method Add 2021-02-26 20:07:34 +10:00
YoshiRulz 0fb9ef77e6
Less dumb #if DEBUG for ZX submenu 2021-02-25 16:59:46 +10:00
YoshiRulz fece6cf7c4
Cleanup system IDs (see desc.)
* `Game Gear` was used instead of `GGL` for linked GG multi-disk bundles and
core constructor (I assume the latter was a hack to fix loading bundles made
with the former bug in effect)
* `Arcade` was used instead of `MAME` in rom loading ("Arcade" is also assigned
to an out param in the MAME ctor but I assume that's an intentional placeholder)
* `Saturn` was used instead of `SAT` in `GameSharkDecoder.CheatDomainName`,
making it non-functional (a comment said it was probably incorrect, so I'm
assuming that if it runs something will break and putting it in #if false)
* `G7400` was only used in firmware IDs, replaced with `O2`
* `Vectrex` was only used in firmware IDs, replaced with `VEC`
* `uzem` (core name) was used instead of `UZE` for MainForm title lookup, making
it non-functional
* `DNGP` doesn't exist
2021-02-25 16:45:55 +10:00
YoshiRulz c11d410fb7
Remove IEmuClientApi.Get/SetInput and supporting types, and cleanup
what's a deprecation cycle
also -1k LOC whoo
2021-02-25 16:13:41 +10:00
YoshiRulz ef0b380192
Autolock hack is nothing without autounlock hack 2021-02-24 11:12:27 +10:00
YoshiRulz 2859d6c45b
Inline the autolock hack and use it for both surfaces 2021-02-24 10:41:28 +10:00
YoshiRulz cc7e440fba
Cleanup usage of Config.PreferredPlatformsForExtensions 2021-02-23 05:37:50 +10:00
YoshiRulz 4103a8bab2
Cleanup usages of FirmwareID fields 2021-02-23 02:20:27 +10:00
YoshiRulz eee4915ddd
Add missing UI strings for firmware group headers 2021-02-23 01:51:47 +10:00
YoshiRulz 485817a8e4
Replace (string, string) w/ FirmwareID in nyma core ctors 2021-02-23 01:09:25 +10:00
nattthebear cec46f1e65 Grumble grumble I need to learn more C# 2021-02-22 08:17:41 -05:00
YoshiRulz d0c0b1fdb3
Bump version for dev builds 2021-02-22 21:18:24 +10:00
adelikat bd31773d9e Update version info 2021-02-21 15:22:17 -06:00
adelikat d4dc260fc4 Tastudio - refresh view when middle-clicking to pause 2021-02-21 15:14:57 -06:00
YoshiRulz a8b1e06e44
Make autolocking of ApiHawk surface less aggressive when used via Lua 2021-02-22 04:26:05 +10:00
nattthebear d929891c97 Something something mapper 90 out of bounds
Closes #2632
2021-02-21 09:24:02 -05:00
nattthebear 13b7b43db6
Fix corruption in ZWinderBuffer when using Stream.ReadByte / Stream.WriteByte overloads (#2630)
The ZWinderBuffer implementations of Stream.ReadByte and Stream.WriteByte could process data incorrectly in certain circumstances.  This had been broken since f4e98fd.

ReadByte: When the first read from a state stream was a ReadByte, the underlying buffer would be in the wrong place
WriteByte: If a state was evicted and then the eviction was immediately followed by a WriteByte, the underlying buffer would be in the wrong place.

This impacts pretty heavily the rewinder and tasstatemanager for any core whose save and/or loadstate methods happened to use those methods.
2021-02-20 12:21:56 -05:00
YoshiRulz 7923b4c8ef
Apply refactorings to HelloWorld ext. tool so it can compile
fixes ba88712b2
2021-02-19 19:03:01 +10:00