adelikat
21c164abcf
simplify Last implementation
2019-06-15 15:22:12 -05:00
adelikat
6004f30d3a
rename IStateManager.ClearStateHistory -> Clear, LastStatedFrame -> Last
2019-06-15 15:19:18 -05:00
adelikat
0ab1b1887e
IStateManager - remove IDisposable, this isn't a terrible idea, but let's put it back if/when we need it. Remove IDisposable from StateManagerState
2019-06-15 15:15:14 -05:00
adelikat
b1296dd9bb
rip out NDBDatabase
2019-06-15 15:13:08 -05:00
adelikat
ed85ce806b
more cleanup
2019-06-15 14:57:26 -05:00
adelikat
81ee00a1b6
cleanup
2019-06-15 14:56:03 -05:00
adelikat
e0a51eaab1
Rename IStateManager.StateCount -> IStateManager.Count
2019-06-15 14:49:43 -05:00
adelikat
cb4e71ebf7
rename a StateManager method, and delete some unused methods
2019-06-15 14:40:18 -05:00
adelikat
8f116a8428
Pass TasMovie into StateManagerDecay and have it get the last edited frame instead of from IStateManager
2019-06-15 14:35:31 -05:00
adelikat
3c27a332bb
create IStateManager interface and use that instead of TasStateManager
2019-06-15 14:31:06 -05:00
adelikat
1bcf6394ed
cleanup
2019-06-15 13:27:10 -05:00
adelikat
694ba93ec1
I think this is the correct wasLag logic
2019-06-15 13:10:31 -05:00
adelikat
f431492944
better code for populating wasLag, I think
2019-06-15 12:53:17 -05:00
adelikat
3b9e54c250
refactor TasLagLog to allow for gaps in the history. Note that this is a breaking .tasproj format change currently
2019-06-15 12:11:52 -05:00
YoshiRulz
1c0622d272
Move polar<=>rect conversion to new class
2019-06-14 16:26:31 +00:00
YoshiRulz
3fa0f71a24
Inline ToHexString extension where param numdigits is constant
2019-06-14 15:54:17 +00:00
James Groom
067477ce18
Merge branch 'master' into clean_docs
2019-06-14 13:28:39 +00:00
feos
2423f44540
tastudio: drop laglog from branches since they don't have greenzone anymore
2019-06-13 19:39:52 +03:00
feos
bc990061b7
tastudio: refactor out a variable
...
fix autorestore triggering while drawing on future frames
2019-06-12 22:34:16 +03:00
zeromus
6a548220bd
Merge pull request #1462 from brian-armstrong/brian/mem_callback_addr_value
...
Studies show that PR's with threads exceeding 40 posts suffer a 50% greater chance of never getting merged for each additional post
2019-06-10 02:01:06 -04:00
feos
f5bcdc4aba
fix #1513
...
OSD info on branch hover is mandatory, so I'm not removing it. drawing the branch OSD-framebuffer on the emulator screen is barely possible without butchering everything, so I'm not doing it. instead, keep both core and client framebuffers and use them where they make sense: osd FB shows up on hover, core FB goes to emulator screen on branch load.
2019-06-09 20:34:14 +03:00
Brian Armstrong
2c6ecb68bd
Merge branch 'master' into brian/mem_callback_addr_value
2019-06-06 02:11:04 -07:00
Brian Armstrong
d41bd867b8
flags
2019-06-06 02:04:47 -07:00
YoshiRulz
2642ef4049
Remove empty docs
2019-06-06 16:41:10 +10:00
YoshiRulz
df232e6184
Add additional CurrentOS checks
2019-05-19 14:46:50 +10:00
YoshiRulz
35056ae2d9
Remove #if WINDOWS, using runtime check where applicable
2019-05-18 20:17:02 +10:00
YoshiRulz
58c738957c
Rename PlatformLinkedLibSingleton and children
2019-05-18 15:40:46 +10:00
alyosha-tas
1c9182a290
Fix exception when statrting from saveram multple times
2019-04-21 09:06:16 -04:00
vadosnaprimer
7915ec8bc1
tsm decay: try to work around some more removal bugs
2019-04-18 19:11:45 +03:00
Asnivor
f0384b7e83
ChannelF: Extreme WIP! I promise nothing...
2019-04-16 16:10:56 +01:00
alyosha-tas
9296092b84
Vectrex: Start running the cpu and fixing bugs
2019-04-08 18:57:21 -05:00
James Groom
779975f689
Use nameof
2019-03-28 14:17:14 +11:00
adelikat
165880b444
Merge pull request #1504 from TASVideos/semicolonFormat
...
[Untested] Use format strings with the semicolon section separator
2019-03-27 19:38:16 -05:00
YoshiRulz
9d0ee22885
Use string interpolation
2019-03-20 15:01:12 +10:00
YoshiRulz
5412a74890
Use the *correct* formatting string, skip calls to Math.Abs
2019-03-05 19:16:20 +10:00
YoshiRulz
20087cd804
Use string interpolation with {0:P;M;Z} format string
2019-03-03 17:52:47 +10:00
alyosha-tas
5665617d9b
GGHawkLink: menues and API stuff
2019-02-09 12:41:23 -06:00
alyosha-tas
4f17934d6c
GGHawkLink: Initial Commit
...
- Make necessary access changes in SMS
- Implmement multi-disk bundler support
- Initial Video and sound support
2019-02-09 09:55:45 -06:00
Brian Armstrong
a8f293eec8
Call mem callbacks with addr, value
2019-01-24 03:23:21 -08:00
feos
ce3e3d2ed3
lua docs: couple hints
2019-01-23 15:42:02 +03:00
adelikat
5b26300e50
Merge pull request #1419 from upthorn/master
...
Extend APIHawk with a lua-like system of api libraries
2019-01-19 17:24:08 -06:00
alyosha-tas
2bddf3663e
TAStudio: Fix some bugs in new from menues
2019-01-19 13:30:42 -06:00
alyosha-tas
9696a75839
Merge pull request #1439 from TASVideos/subneshawkfixattempt
...
SubNESHawk
2019-01-19 09:48:43 -06:00
zeromus
cecdff8293
config hookup for user crop area
2019-01-18 00:59:45 -05:00
upthorn
435d717f7b
Merge branch 'master' of https://github.com/Upthorn/Bizhawk
2019-01-14 17:10:45 -08:00
alyosha-tas
74d20ca45c
SubNEShawk: Add VBL Count to BK2 movie header
2019-01-12 13:27:00 -06:00
alyosha-tas
c19c7cd5c3
SubNESHawk
...
also Input register shift fix
# Conflicts:
# BizHawk.Client.EmuHawk/MainForm.Designer.cs
# BizHawk.Client.EmuHawk/MainForm.Events.cs
# BizHawk.Emulation.Cores/Computers/AmstradCPC/AmstradCPC.IEmulator.cs
# BizHawk.Emulation.Cores/Computers/SinclairSpectrum/ZXSpectrum.IEmulator.cs
# BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.run.cs
2019-01-10 18:25:59 +03:00
feos
56e77f4907
tastudio: allow to actually unbind markers from input, and unbind by default
2019-01-05 21:48:40 +03:00
feos
cd2d63b04a
tastudio:
...
- don't use branch laglog after loading it. it's useless because we invalidate if needed anyway
- PauseOnFrame being null started to crash seeking, fixed
- make use of movie alias in branchbox
- capture tsm state after loading the branch
todo: if we load a branch in the middle of invalid greenzone, advancing won't draw new greenzone even tho states are being created. laglog doesn't seem to allow gaps either. unsure how to resolve
2019-01-05 21:30:06 +03:00
alyosha-tas
b9094545db
update 7zip file location
2019-01-04 18:03:34 -06:00
upthorn
71215adf0d
Merge branch 'master' of https://github.com/TASVideos/BizHawk
2019-01-04 04:58:58 -08:00
James Groom
42764f0019
Add preliminary Unix compatibility (using Mono; resolves #1384 ) ( #1380 )
...
* Move PlatformSpecificLinkedLibs and implementations to common and rename
* Specify file ext. at LoadPlatformSpecific call site
* Move Client.Common.Global.RunningOnUnix to PlatformLinkedLibSingleton
* Inline var Resolver
* Use PlatformLinkedLibManager internally
* Move plugin load check to LinkedLibManager, use LinkedLibManager
* Interpolate
* Return exit code from dlclose/FreeLibrary
* Skip all calls to externs in BlipBufDll when using mono
* Use PlatformLinkedLibManager in SevenZipLibraryManager
* Add expected return value to workaround (from testing on Win32)
* Remove ".dll" from DllImport attr, remove temporary workaround, see desc.
The library can be built by changing the output file name in
`.../blip_buf/Makefile` to `libblip_buf.so`, and running `make`. It will be
loaded if placed in the `.../output` folder.
* Remove unused code, add TODO (this class is req. for Waterbox.PeWrapper)
The TODO is to [rewrite with
C#](https://docs.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files )
instead of importing from `kernel32.dll`.
* Update OpenTK again but better (for #1384 )
* Add Mono run script
* Add libblip_buf.so (temporary)
Temporary because it should be a separate package which BizHawk depends on.
* Add distro detection, add "already running" and "unknown distro" messages
* Gray-out Lua Console on Unix
* Extract superclass from EmuLuaLibrary, add shell implementation for Unix
* Specify libdl version, Fedora doesn't have the versionless symlink
* Remove empty `ToolStripMenuItem`, null `Text` caused crash on Unix
* Transform OpenTK keyboard input into a `List<KeyEvent>` and read that
Also fixes crash on rebind
* Remove debug `using ...;`
2019-01-04 01:50:55 +03:00
alyosha-tas
f47c2d1558
GBHawk: Start link support
2019-01-03 12:10:53 -06:00
upthorn
01914552de
Merge branch 'master' of https://github.com/Upthorn/Bizhawk
2018-12-23 14:45:18 -08:00
zeromus
15131a0626
support --config=c:\path\to\config.ini ( fixes #1404 )
2018-12-23 00:23:57 -05:00
upthorn
79aaef0257
Removed project references to old, unrefactored files that no longer exist.
2018-12-22 11:16:54 -08:00
upthorn
efc6f73169
Merge branch 'PluginDev'
2018-12-22 10:43:12 -08:00
upthorn
aba1da071d
Completely refactored PluginAPI to extend ApiHawk. Ecco2AssistantPlugin is now an external tool.
2018-12-22 10:40:30 -08:00
upthorn
d238ecc311
Merge branch 'master' of https://github.com/TASVideos/bizhawk
2018-12-21 22:41:37 -08:00
Asnivor
eee1cb481c
Fix Lua documentation - #1389
2018-12-08 08:47:17 +00:00
upthorn
05f9939ddf
Merge branch 'master' into PluginDev
2018-12-06 12:29:58 -08:00
upthorn
59f30b4a79
Allow signed display of fixed point values.
2018-12-06 12:25:00 -08:00
upthorn
9874c496ac
Minor revisions to plugin API
2018-12-05 11:58:19 -08:00
feos
b316efb922
cute, I forgot to save the actual changes
2018-12-03 21:16:06 +03:00
feos
3a688d543b
tastudio: fix rec mode dying when appending movie frames
...
close #1376
2018-12-03 21:10:14 +03:00
layland34
edab819d6b
fix typo
2018-11-25 14:54:55 +01:00
adelikat
786a505366
stuff bizhawk version into savestates, closes #1210
2018-11-18 12:29:56 -06:00
adelikat
288baf568d
Revert "here's how I think input display should work. also fixes your bug. also breaks something that had this comment (maybe)"
...
This reverts commit d4a48a8ee1
.
2018-11-18 10:43:11 -06:00
adelikat
a4dcd4d010
Merge pull request #1321 from TASVideos/firmwareimporterfixes
...
FirmwaresConfig: Stop indiscriminate importing (and some other things…
2018-11-18 08:37:26 -06:00
zeromus
7a72bf72e6
experimental: add %rom% to path manager, so files related to a rom can be located relative to the rom
...
also refactored how %exe% worked because it blew my mind
2018-11-14 19:04:02 -05:00
zeromus
026bd3e1e5
more cdlogger ux improvements; fixes #1346
2018-11-13 02:06:39 -05:00
alyosha-tas
6dbbc9256a
Movie Importer: Display Failure Message
2018-11-10 17:23:45 -06:00
James Groom
ca021d96cc
Allow bizhawk to be built and run w/ MSBuild and Wine+Mono on GNU+Linux ( #1237 )
...
- Update to latest OpenTK, add input code from `mono-stable` branch
(kudos), and fix bugs arisen from version differences
- Move some functionality into Win-specific classes and add Wine+Mono
implementation where simple
- Add conditions to main loop so some things only run on Windows
2018-11-04 20:05:20 +03:00
Asnivor
acebf2621c
Manual reversion of PR #1277
2018-09-21 15:38:52 +01:00
Asnivor
2565f49c89
Merge branch 'AmstradCPC' into master
2018-09-19 14:56:41 +01:00
Asnivor
95e565c545
CPCHawk: Start of new CRCT and Gatearray implementations
2018-09-19 14:35:22 +01:00
Asnivor
92f187fce1
RAMWatch: Enhancements ( #1315 )
...
fix #1257
2018-09-14 08:28:38 +03:00
Asnivor
163a370be0
Firmwares: some comment culling
2018-09-13 15:23:15 +01:00
Asnivor
a04ad91b2c
FirmwaresConfig: Stop indescriminate importing (and some other things) - #314
2018-09-13 15:07:52 +01:00
zeromus
ba4b32f619
rename TempFileCleaner to TempFileManager; add global path config for temp files
...
I did this in a funny way (sets the environment for the process).
The idea is that any code which sloppily used Path.GetTempDirectory (etc.) would now have its pathing changed.
It is a little dangerous to allow this to be changed on the fly (I do allow it) since something may expect it to be stable, but I think it's OK.
So anyway. keep your eyes peeled for problems. It's possible I could do this differently and only affect a subset of safely managed things.
should fix #1252
2018-09-11 21:32:50 -04:00
zeromus
d4a48a8ee1
here's how I think input display should work. also fixes your bug. also breaks something that had this comment (maybe)
...
// adelikat: TODO: this is likely the source of frame 0 TAStudio bugs, I think the intent is to check if the movie is 0 length?
2018-09-10 16:57:10 -04:00
feos
fbdea8282d
add missing zxs mnemonics
...
tastudio: properly handle Show X menu items
2018-09-10 20:22:41 +03:00
upthorn
9e814896cb
Some plugin interface libraries, and further refactoring.
2018-09-03 19:31:01 -07:00
upthorn
0a6aa912cf
Further plugin interface design/development work
2018-09-01 03:19:05 -07:00
upthorn
cdb205e696
Initial API Work
2018-08-31 21:21:34 -07:00
Asnivor
f436e25426
Fix movie header SystemID ( #1277 )
...
From ticket #1246
Small change to MovieConversionExtensions.PopulateWithDefaultHeaderValues()
Just changes SystemID to "GG" or "SG" if Global.Emulator .IsGameGear or IsSG1000 is true.
Without this, the play movie dialog shows 'Platform' as SMS for game gear and SG1000 movies (and highlights this in RED as it is incorrect).
2018-08-22 20:51:20 +03:00
feos
a365284383
tastudio states decay: fix logic for last edited frame
2018-08-22 20:05:33 +03:00
Asnivor
4e470cf17a
ZXHawk: DeterministicEmulation to be overridden (TRUE) when recording a movie - #1290
2018-08-21 14:16:14 +01:00
Asnivor
c4167555ae
MultiDiskBundler: Address request in ticket #764 ( #1275 )
2018-08-16 17:58:48 +03:00
Asnivor
a471206d6a
ZXHawk: Added bk2 mnemonic constants
2018-08-13 09:12:38 +01:00
Asnivor
dd7b81a714
CPCHawk: Romloader tweak
2018-07-03 14:55:25 +01:00
Asnivor
531833c7b0
CPCHawk: Initial project outline (may or may not come to something eventually)
2018-07-03 14:53:09 +01:00
adelikat
22d1818641
DoSettings file for all project to explicitely set language level to C#6
2018-06-23 13:06:13 -05:00
feos
03b3ea0b2f
triple cast, but we don't have to cast to string to fetch ARGB
2018-06-22 23:15:35 +03:00
feos
8a2ee98bea
fix #1221
...
can this also close #1222 I wonder?
2018-06-22 20:27:28 +03:00
Asnivor
625f063861
ZXHawk: Added wav tape image support
2018-06-22 14:40:40 +01:00
Asnivor
b81a7539cf
ZXHawk: Added Compressed Square Wave (CSW) tape image support
2018-06-22 13:23:33 +01:00
Asnivor
50123bf8e2
ZXHawk: Experimental PZX tape image support
2018-06-20 15:03:11 +01:00
adelikat
e650f14d24
Lua functions docs to wiki - escape braces on optional params
2018-05-19 16:28:20 -05:00
nattthebear
e8145af463
i hope this breaks something
2018-05-12 12:55:42 -04:00