adelikat
f2dba97197
Tasproj versioning - use constant in unit test so it doesn't fail on next version bump, when converting bk2, slap the current tasproj verison on it, converting to bk2, remove tasproj version
2020-08-06 13:15:29 -05:00
adelikat
af5acb457d
a few pointless refactors
2020-08-06 13:15:29 -05:00
nattthebear
c32ca26790
saturnus - default ss.correct_aspect to off
2020-08-06 13:13:11 -04:00
nattthebear
9600bc2ce0
ps2 - add fenv support and recompile dobie with it
...
This isn't so great, and could lead to nondeterminism or abi violations depending on how things use fenv. For now it's just a dobie experiment
2020-08-06 07:28:24 -04:00
nattthebear
3db2818eb2
Rework a waterbox script slightly
2020-08-05 22:33:23 -04:00
adelikat
ac139eabf2
remove byte[] SavestateBinary() from IStatable, consolidate IBinaryStatable into IStatable now that they are the same
2020-08-05 21:07:30 -05:00
adelikat
a93a94aead
remove some usages of SavestateBinary() with the CloneSavestate() extension method
2020-08-05 20:50:46 -05:00
adelikat
2a4cba4f7e
remove option to not save SavestateHistory in .tasproj files, turns out the pre-zwinder implemetnation never exposed a way to turn this off either (except direct json editing). And it seems questionable, we have export to .bk2, clear history, auto-save options, etc if you need a historyless file
2020-08-05 20:48:08 -05:00
adelikat
296b321796
remove some unused code
2020-08-05 20:43:14 -05:00
adelikat
357d87239b
Rewrite TasStateManager ( #2274 )
...
* zwinder state manager wip
* stuff
* fixes
* slightly better defaults
* stuff
* re-delete TasStateManager - re-added by my bad rebase attempt
* add back in saving of a default.tasproj, we are a lot of refactors away from not having to do this
* Make zwinder loadstate a factory method
* progress on wiring up Zwinder to movie shenanigans
* zwinder now survives save/load
* hack for settings to exist
* fix test
* shenangians for frame 0, add some asserts to the unit test
* Add crappy impl of integrity check for zwinderstatemanager
* remove Any() from the IStateManager contract, since it should always have at least 1 state
* move ZwinderStateManagerSettings to its own file
* use NonState, it's there and I suppose this was the intent
* add a test
* don't attempt to capture states if we aren't "currentt"
* ugh
* small cleanup
* ZwinderStateManagerSettings - implement necessary copy constructor
* wire up Settings updating, get rid of Settings setter, add some documentation to IStateManager
* shenanigans to fix Savestate settings UI
* Play around with "high priority"
It's really a mess because there's no information feeding between high priority and normal priority on what captures should take place...
* this fixes the branch gap problem
* bump tasproj version to 1.1, warn user and gracefully handle loading an incompatible version
* if a movie starts from savestate, stuff the anchored state into TasStateManager instead of a frame zero state
* ZwinderBuffer - remove some unused usings
Co-authored-by: nattthebear <goyuken@gmail.com>
2020-08-05 20:39:15 -05:00
YoshiRulz
fcbe8333a6
Move Comm and SaveState APIs to Client.Common
2020-08-06 00:29:50 +10:00
YoshiRulz
13ab27ca4e
Simplify API impl. instantiation
2020-08-06 00:19:08 +10:00
alyosha-tas
c8b8efedac
GBHawk: Fix start up time of HDMA
2020-08-04 10:14:47 -04:00
SuuperW
b6f80b53dc
reformat code
...
also fix error message (regression from commit 99141e8
)
2020-08-04 04:20:00 -05:00
nattthebear
75aca0e7c6
Up the sbrk heap size for dobiestation
...
Guess it manages to run out with 4MB on some stuff?
2020-08-03 21:11:28 -04:00
SuuperW
99141e84bf
fix: Lua multi-byte read/write operations used single-byte read/writes to the core
2020-08-03 15:44:51 -05:00
zeromus
93c3f0f217
Merge pull request #2266 from TASVideos/ps2-disque-check
...
Reorder the optical disk id checks
2020-08-03 16:43:15 -04:00
SuuperW
12ef0fe35b
fix Lua crash (run Lua script, close Lua console, open different ROM)
2020-08-03 13:55:00 -05:00
nattthebear
8e8575ad69
Reorder the optical disk id checks
...
Seems like PS2 games have an appId of PLAYSTATION sometimes, so move the SYSTEM.CNF;1 check first
2020-08-03 12:14:59 -04:00
YoshiRulz
166c50b6cf
Finish implementing WebSockets
...
fixes dbcd6b5b6
2020-08-03 14:30:50 +10:00
David Ackroyd
dbcd6b5b68
Add WebSocket support; wraps BCL ClientWebSocket (squashed PR #2237 )
...
Co-authored-by: David Ackroyd <davidackroydmusic@gmail.com>
2020-08-03 13:11:29 +10:00
SuuperW
22d78efabd
fix separator bug in RAMWatch
2020-08-02 17:13:32 -05:00
SuuperW
ab0ca538f6
update libmelonDS.dll (see SuuperW/melonDS/DSHawk, updates since May 2nd.)
2020-08-02 16:23:40 -05:00
SuuperW
9af25f7180
rename NdsSettings to NdsSyncSettings, since that's what it is
2020-08-02 14:06:38 -05:00
SuuperW
2c0fa143c1
fix: attempting to change current movie's GreenzoneSettings would actually change the defaults
2020-08-02 10:40:12 -05:00
YoshiRulz
2761156fc3
Update GitLab CI
...
I was using artifacts wrong
I was using caches correctly but there weren't files to cache
should now be resistant to missing codegen'd files
2020-08-03 00:42:55 +10:00
adelikat
8531a292bc
rip out Savestate History settings form and reuse the default settings form instead
2020-08-01 17:30:50 -05:00
adelikat
07429a4640
Tastudio - rework DefaultGrezoneSettings to only depend on a settings object and a savecallback
2020-08-01 17:19:30 -05:00
adelikat
369b7830a5
add Cyorter's Input display lua script, that gives a graphic based (FCEUX style) input display for most non-analog peripherals
2020-08-01 16:46:49 -05:00
adelikat
6fd2252753
fix psx default controls, fixes #2251
2020-08-01 15:55:55 -05:00
adelikat
3da1df9252
Tastudio -more shenanigans to fix bk2 loading, fixes #2255
2020-08-01 13:43:29 -05:00
alyosha-tas
2499c9b872
GBHawk: update Kirby tilt n- tumble controls
2020-08-01 14:31:08 -04:00
adelikat
e525d512f8
lua - fix NRE when when movie.mode() is called with no movie active, fixes #2262
2020-08-01 13:24:10 -05:00
nattthebear
96bee60cda
nyma -- only ask the frontend for firmwares the core actually requests
...
Fixes #2240
2020-08-01 09:16:01 -04:00
nattthebear
78bf2285fc
Waterbox: Add pseudo-thread implementation and experimental DobieStation (PS2) core ( #2263 )
...
Waterbox supports threads now, but they're not real threads on the host side because that's complicated and can be nondeterministic. Instead, everything is scheduled to share one host thread. This means that scheduling is actually cooperative and certain patterns of spinlocks and other nonsense can fail to work at all, but "regular" code probably will.
With this, add DobieStation PS2 core. This core was selected because it has threads and is otherwise simple to port; easy to build and a good core/frontend separation. It's not a wonderful core however, with low speed (made abysmally lower by our lack of real threads) and low compatibility, so it remains a curiosity for now.
2020-08-01 07:03:29 -04:00
YoshiRulz
d32c19ee5d
Fix building of ext. tools
...
this HelloWorld is now a far cry from intended use...
2020-08-01 17:59:56 +10:00
YoshiRulz
f6edd02195
More cleanup of VersionInfo code gen
2020-08-01 17:48:27 +10:00
YoshiRulz
460613fba4
Add -clp:NoSummary to Unix build scripts
2020-08-01 11:58:21 +10:00
YoshiRulz
e5de63ea94
Cleanup VersionInfo and code gen
2020-08-01 11:57:14 +10:00
YoshiRulz
ebd9645c1e
Cleanup assembly attributes
...
We're not using this metadata for anything, except one [InternalsVisibleTo] for
unit tests, and a half-assed version check in EmuHawk.Program.
2020-08-01 11:56:30 +10:00
alyosha-tas
9fc8db14c3
Vectrex: fix controls (Hyperchase)
2020-07-31 21:24:58 -04:00
YoshiRulz
00b67f4156
Remove unused prop from a MainForm interface
...
fixes 62537118a
2020-07-31 16:22:02 +10:00
YoshiRulz
b77cd9a7bf
Remove IEmuClientApi.RunningSystem from the API
...
other code in EmuClientApi (the impl.) uses this prop, so it's staying for now
2020-07-31 16:17:02 +10:00
alyosha-tas
9b5997cf7f
GBHawk: fix behaviour of writing to LY reg, fixes Zen console verificaiton
2020-07-29 18:29:26 -04:00
YoshiRulz
a54b9acba2
Pass in globals to Throttle and UpdateChecker
2020-07-29 08:55:56 +10:00
YoshiRulz
fbb38d61fd
Use a DLIR for Mupen core and plugins
...
AttachPlugin still returns IntPtr (thanks to reflection hack) so the code for
audio/input/video is unaffected
2020-07-28 20:29:02 +10:00
YoshiRulz
771621e0c9
Teach DLIR that dirs are not files on Unix
...
even though everything is a file
2020-07-28 20:28:46 +10:00
YoshiRulz
b6f4344592
Pass lib path from run script as env. var and read it in DLIR
...
It's always set by the run script, but I've added a fallback in case someone
hardcodes the mono command in a .desktop or something
2020-07-28 18:15:37 +10:00
YoshiRulz
765eb443a5
Tweak run script to compute lib and wine lib paths separately
...
also added $PWD/dll to LD_LIBRARY_PATH in case we ever use that
2020-07-28 18:11:50 +10:00
YoshiRulz
ef34944a27
Rebuild libmgba just in case
2020-07-28 17:57:59 +10:00