nattthebear
3bc6fe1b04
Add the elf stuff back to solution (doesn't do anything, don't use, ugly and embarassing, etc). Switch gpgx to use bizinvoker and slash a few hacks there. Bizinvoker - add support for forwarded attributes in Compatibility mode ([Out], [In]), and support enum, ref enum, and enum[]. Misc cleanup.
2016-03-10 22:00:52 -05:00
nattthebear
2a0e859a85
Add 64 bit build (doesn't work yet), move SlimDX.dll
2016-02-28 15:06:03 -05:00
zeromus
51bec2a4a8
add 250ms upper limit to time spent in TryMoveBackupFile loops
2016-02-27 20:23:31 -06:00
zeromus
3c96e9d434
ok so i messed up with the FileInfo, because it was already there and I just lazily used it. But lets try handling this with the sophistication it calls for
2016-02-27 16:19:41 -06:00
nattthebear
7de39ef656
SettingsUtil: Convert between various integer types automagically because [DefaultValueAttribute] is cls complaint and it's awkward to specify unsigned types for it
2016-02-27 16:50:42 -05:00
Isaac Miell
1252944251
Better null checks in string validation functions
...
This fixes an exception when pressing "Ok" on the "Go to Address" input prompt in the Hex Editor with an empty string
2016-02-17 02:41:09 +10:30
zeromus
bff0d5b95d
add and hook up AWEMemoryStream option for movie storage. GUI is intentionally shoddy to convey sense that it's experimental. Has been cursorily verified but not thoroughly tested.
2016-02-10 01:09:43 -06:00
Hathor86
f145f3cc68
Polar Coord
...
- Add polar coordinates to VirtualPadAnalogStick
- Update N64 pad Schema as VirtualPadAnalogStick is a bit larger
- Add Clamp method to NumberExtensions (allows a IComparable<T> value to be restriced between 2 specified other values)
2016-01-23 22:56:41 +01:00
zeromus
753431c94a
SHUT. UP. THE. EXCEPTIONS. IN. TEMP. FILE. MANAGER.
2015-12-10 07:13:40 -06:00
Hathor86
8ad0dc3a6d
Fix missing }
2015-11-20 14:09:27 +01:00
Hathor86
bae4d53cbf
merge remote master
2015-11-20 13:14:38 +01:00
zeromus
4de1d244ce
fix endianness of sprintf floats. i thought i checked this, but i guess not
2015-11-18 18:12:16 -06:00
zeromus
4b46bc60bb
TempFileManager throws less exceptions
2015-11-17 17:41:01 -06:00
zeromus
5086ea62c2
fix libretro sprintf of %f and %e throwing exceptions
2015-11-17 17:40:51 -06:00
zeromus
28eae0dcb1
Revert "Revert "common logic for tempfiles""
...
This reverts commit 5196fc6b70
.
2015-11-17 17:26:03 -06:00
zeromus
5196fc6b70
Revert "common logic for tempfiles"
...
This reverts commit 5afa44bbec
.
and also "fix regression in libretro core loading and streamline open advanced libretro ui"
59048264cd
but tortoisegit didn't put that in the commit message.
2015-11-17 17:10:27 -06:00
zeromus
59048264cd
fix regression in libretro core loading and streamline open advanced libretro ui
2015-11-17 16:56:30 -06:00
Hathor86
c7dcb42b94
Merge from maser@TASVideos
2015-11-15 11:27:00 +01:00
zeromus
5afa44bbec
common logic for tempfiles
2015-11-15 03:01:58 -06:00
zeromus
466ce0f696
fix bug in sprintf with null %s
2015-11-08 20:22:39 -06:00
Hathor86
5c36c16160
Fixing merge
2015-11-08 22:57:54 +01:00
Hathor86
cc2c888870
Merge remote-tracking branch 'refs/remotes/TASVideos/master'
...
Conflicts:
BizHawk.Client.EmuHawk/MainForm.Designer.cs
BizHawk.Client.EmuHawk/MainForm.cs
BizHawk.Client.EmuHawk/tools/CDL.Designer.cs
BizHawk.Client.EmuHawk/tools/CDL.cs
BizHawk.Client.EmuHawk/tools/CDL.resx
BizHawk.Common/InstanceDll.cs
BizHawk.Emulation.Common/CodeDataLog.cs
2015-11-08 22:41:51 +01:00
zeromus
ecee3365cc
add retro log interface
2015-11-08 04:57:28 -06:00
zeromus
70b7098cb8
fix rebooting of libretro cores, add CPU detection win32 hacks, add retro perf interface
2015-11-07 13:05:40 -06:00
zeromus
cbdf6a2acc
after i fix a regression from a couple of commits ago which broke multi-instance dlls (affecting only bsnes otherwise right now)
2015-11-07 12:05:26 -06:00
zeromus
7651f418fe
usably functional libretro player
2015-11-07 00:14:59 -06:00
Hathor86
f70a2c8c6c
Merge from TASVideo
2015-11-01 22:01:19 +01:00
zeromus
bef877365c
make CDL generic, and prep for GB CDL
2015-10-26 19:15:21 -05:00
zeromus
18aeefb66a
add InstanceDll
2015-10-24 03:03:29 -05:00
zeromus
56c3360ec8
minor tweax
2015-09-29 02:27:06 -05:00
zeromus
a51e7ddb0b
create TAStudio States directory if it doesnt exist
2015-08-24 13:42:46 -05:00
zeromus
b41c223464
fix unif loading of mapper names with junk in field beyond end of null termination. also made it utf-8 while i'm in there.
2015-08-17 16:30:35 -05:00
zeromus
9c21601861
fix Clear() operation on that new data structure
2015-08-13 21:56:48 -05:00
zeromus
432adc7874
..huh. fix building, and also change an int to a long where it was conceivably inadequate
2015-08-13 21:54:38 -05:00
zeromus
5bf21e391c
TasStateManager uses a new data structure to write all states to one auto-deleting file per TasStateManager instance. TasStateManager is now IDisposable; this needs to be followed rigorously (I didn't do that).
2015-08-13 21:51:51 -05:00
Suuper
bc8717c9f9
Fixed right-click input painting in TAStudio. Also removed mouseWheelTimer as it is no longer needed.
2015-07-16 13:57:51 -05:00
zeromus
80164c1fba
import WIP discsys work from svn
2015-06-23 13:57:11 -05:00
goyuken
f5c8bece3a
satesvates for mgba
2015-06-06 17:34:19 +00:00
adelikat
a0d56df06b
Lua - client library - change GetOpenTools() to GetAvailableTools() which returns a list of tools available to the currently loaded core, change GetTool() to receive any avaialble tool, if the tool isn't open, GetTool() opens it
2015-04-12 17:37:06 +00:00
jdpurcell
2f5a7543ca
Add Yield/SwitchToThread in SNES IPCRingBuffer. Improves performance on Core 2 Duo, about the same on i5, and will prevent it from going < 1 fps on a single core machine :).
2015-02-04 04:31:41 +00:00
adelikat
515a41592c
Convert a whole bunch of ram stuff from int to long
2015-01-18 18:59:23 +00:00
adelikat
91ffc17aae
Refacotor MemoryDomain.Size to be long instead of int, still some small todos, but it compiles and seems to work
2015-01-18 15:25:47 +00:00
jdpurcell
4a40408f1d
Use variable length integers for the rewind state deltas to reduce size.
2015-01-17 19:16:22 +00:00
jdpurcell
112d794f11
More optimization.
2015-01-17 06:19:13 +00:00
jdpurcell
0a345b0084
Issue 368: Set all platform targets to x86, rename build platforms to match, and remove unused build platforms.
2015-01-13 15:28:58 +00:00
jdpurcell
e9873f8b91
Fix out of range exception when importing firmware from an archive.
2015-01-06 05:23:30 +00:00
adelikat
2a12b59250
Ram Search - limit to 5 undo levels
2015-01-02 22:16:07 +00:00
goyuken
ff8922bb08
itoolform custom config infrastructure; not complete
2014-12-20 21:49:53 +00:00
goyuken
8745ef190b
fix stuff not compiling
2014-12-20 04:16:02 +00:00
adelikat
0965475999
Debugger - Register box - properly detect flags and use button style and better positioning, convert register textboxes to hex, and set max length of the boxes appropriately given the size of the register
2014-12-20 03:47:58 +00:00
zeromus
e0c09a553b
redo how subwcrev stuff is done, so that the subwcrev process doesnt have to run for every project. improves build times.
2014-12-09 19:20:22 +00:00
zeromus
26c35ca7b8
rough draft of file ID system. not ready to be used just yet, but I think it can go the distance. I'll have to hook it up later.
2014-12-03 06:14:59 +00:00
adelikat
8c4e0f1203
Move some extension methods to a better location
2014-11-30 14:04:00 +00:00
zeromus
5cf5894329
firmware importer now supports archives
2014-10-26 14:22:26 +00:00
goyuken
4c1b31e293
some random reflection extensions i was using
2014-10-19 23:15:52 +00:00
zeromus
9430b9f206
2014-10-12 04:19:01 +00:00
goyuken
8d9b843099
house cleaning (AV writer)
2014-10-10 18:09:00 +00:00
goyuken
277b277c2e
benchmark savestate time to console
2014-10-09 01:49:44 +00:00
goyuken
b0b5245d45
C64: add bool[] overload to the serializer. sloppy, but neater.
2014-10-06 16:00:24 +00:00
zeromus
5ebb1b1e2e
clean up recent roms contextmenu processing, and add support for launching the whole shell contextmenu.. its kind of cruddy though.
2014-09-30 08:51:48 +00:00
zeromus
d46ca2357e
forgot to commit
2014-09-29 04:53:24 +00:00
zeromus
cfa433a9a6
for issue #223 : create 2 workarounds for taskbar minimizing ding-and-fail bug and activate one of them. The bug is virtually impossible to fix and isnt really our fault. The bug is theoretically existing under other conditions than the "run n64 core" repro steps. The workaround might could be deployed in other situations as needed.
2014-09-14 09:11:34 +00:00
zeromus
87e9d235f6
make some effort to support memdomain of full 32bits size, and use it for n64 system bus. make sure to check that its disabled in ramsearch engine and in hex editor. we could probably fix it to work in hex editor later.
2014-09-09 21:34:41 +00:00
goyuken
768c2762a5
cleanup
2014-08-03 22:05:32 +00:00
goyuken
84ad460d20
add missing file
2014-08-03 21:44:00 +00:00
goyuken
4fa8df8e30
internal settings infrastructure
2014-08-03 21:36:38 +00:00
goyuken
fb133da0c5
fix some internal settings infrastructure
2014-07-14 16:10:45 +00:00
adelikat
96b36cc230
TasMovie - save and load lag log to file
2014-07-07 19:32:37 +00:00
goyuken
e1d3d33307
fix text savestates in some cores, which had been completely broken due to a typo for a bit...
2014-07-03 22:20:51 +00:00
adelikat
fd80c62cdb
More Util methods -> extension methods
2014-07-03 19:20:34 +00:00
adelikat
bf88be8c72
Convert some more util methods to extension methods
2014-07-03 19:05:56 +00:00
adelikat
1c0eca190e
Remove some unused extensions, Remove Extensions.cs and move methods into better named files with their own namespaces
2014-07-03 18:54:53 +00:00
adelikat
6269e957e6
Remove some unused extension methods and move some others to CollectionExtensions
2014-07-03 18:43:49 +00:00
adelikat
a726fde352
Move some more extension methods
2014-07-03 18:38:02 +00:00
adelikat
01506da244
More Util cleanup - move an extension method to a more appropriate file and remove an unused method
2014-07-03 18:32:41 +00:00
adelikat
a9aa65397c
Convert a Util method to an extension method
2014-07-03 18:29:51 +00:00
adelikat
e058e08c35
Remove EnumHelper file and some code cleanup
2014-07-03 18:02:22 +00:00
adelikat
55c9132037
remove NamedDictionary that was only being used by a deleted mnemonics system
2014-07-03 17:47:12 +00:00
adelikat
216796c29e
Remove enum helper and move the remaining method to ReflectionExtensions since that is more accurate to what it is doing
2014-07-03 17:41:55 +00:00
adelikat
ebee9b9ded
More extension reorg
2014-07-03 17:35:49 +00:00
adelikat
90ab7d17b1
ugh!
2014-07-03 17:33:15 +00:00
adelikat
660ef2e024
more extension reorg
2014-07-03 17:30:37 +00:00
adelikat
00ac231a2a
More extension reorg
2014-07-03 17:29:01 +00:00
adelikat
6cba3568ef
More extension reorg
2014-07-03 17:23:03 +00:00
adelikat
47514784eb
Separate stream and writer extensions to an IOExtensions object and namespace
2014-07-03 17:13:09 +00:00
adelikat
204e331ea2
Oops, forgot to add this file
2014-07-03 17:04:54 +00:00
adelikat
393057d33a
Convert a helper method into an extension method
2014-07-03 17:01:10 +00:00
adelikat
6bbd3ca80d
Hex and Watch Boxes - prevent user from pasting invalid input, also if they do manage to get the textbox into an invalid state, interpret the value as 0 rather than throwing an exception
2014-07-03 16:43:39 +00:00
adelikat
1964f3754a
Merge InputValidate into StringExtensions
2014-07-03 16:00:57 +00:00
adelikat
07876e0f12
slight reorg in extension file
2014-07-03 15:39:40 +00:00
adelikat
f546a8080c
Move some extension methods from the generic extensions file to NumberExtensions and fix up namespaces
2014-07-03 15:35:50 +00:00
adelikat
0eb37ad36d
Convert IntHelpers to NumberExtensions and change namespace appropriately, remove StringHelpers.cs
2014-07-03 15:16:47 +00:00
adelikat
467f8da2fb
Convert StringHelpers into extension methods, and merge into StringExtensions, change namespace of string extensions
2014-07-03 15:05:02 +00:00
adelikat
d5e2808944
Fix namespaces
2014-07-03 14:56:13 +00:00
adelikat
bfb541a5a9
Move InputValidate and StringHelpers to BizHawk.Common
2014-07-03 14:51:03 +00:00
goyuken
d501a1cf71
speed up overall load speed of N64 text savestates (uncommonly used) by 25%
2014-06-13 19:32:36 +00:00
adelikat
0649d1c77e
Lua - add some more documentation, add a method that generates tasvideos wiki markup of the documentation and outputs to a file (method not wired to anything, there to save me tons of time when releasing)
2014-06-03 02:19:13 +00:00
goyuken
58efa286df
move stuff
2014-05-31 16:12:59 +00:00
goyuken
613e886796
fix build problem
2014-05-31 16:04:19 +00:00
goyuken
8f87c2e854
gameboy: tweak text savestates a bit in preparation to reuse some code for the wonderswan savestates
2014-05-31 04:01:07 +00:00
goyuken
d24658888b
saturn: expose skip bios and RTC options as syncsettings
2014-05-28 17:31:22 +00:00
adelikat
d1743a2ce3
Atari 2600 - AR - cleanup, implement hard reset, savestates, and dispose
2014-05-26 00:55:12 +00:00
adelikat
c9c2329651
Record Movie - refactor to check if Global.Emulator has a DisplayType property defined, and if so, use that to populate the PAL header, rather than a bunch of ifs on core type. Refactored ReflectionUtils to be Extension methods in their own namespace, added methods for checking and getting values from a public property
2014-05-20 15:39:43 +00:00
adelikat
3488df36c4
N64 - ability to set core type in the front end
2014-05-10 17:30:03 +00:00
adelikat
64e3ff520d
N64 - Controller Settings dialog with ability to set Pak type and connected status of controllers
2014-05-10 02:03:23 +00:00
adelikat
285a7241b9
On the Rom Details dialog, if the Rom is unknown and the Core supports a GenerateGameDbEntry() method, show the button. When clicked it will add the Game Db entry to gamedb_user.txt, from which point it will be a known rom to the user. Implement this method on Atari 2600. Still TODO: allow them to pick the status instead of assuming "Good"
2014-04-15 22:10:39 +00:00
zeromus
7adc15d97e
work on opengl display manager: optimized codepaths, user retroshader selection, support for importing a textureID from another core; add erase button to lua console;
2014-04-15 21:46:18 +00:00
beirich
c3e0d8824c
zero warnings!
2014-04-08 02:25:46 +00:00
beirich
cc8308495d
dont call int.parse on a long
2014-04-08 01:08:47 +00:00
beirich
d02eab8c2d
add Serializer support for long, float, and ushort[]
2014-04-07 04:50:19 +00:00
adelikat
af0cd39742
Atari 2600 - add in unimplemented mappers and throw not implemented exceptions. Throw these on a 4IN1 and F8SC instead of wrongly using F8. Implement heuristics for Rom detection when rom isn't found in gamedb. Heuristics logic based on Stella findings.
2014-04-04 19:46:41 +00:00
goyuken
4e70f1d6a5
util: eliminate some out of memory problems with hashing large files
...
gpgx: warn and abort when a too-big file tries to be loaded as a ROM (probably was actually a .bin cd image without the correct .cue)
2014-03-05 18:16:34 +00:00
adelikat
e71d729626
some minor code cleanups in BizHawk.Common
2014-02-04 21:15:33 +00:00
adelikat
4701b319be
Lua - add a new way to do reflection to get method names, now the function list simply needs to match the method name, and the method name does not need to redundantly specificy the library name. Only the Bit library hooked up currenlty.
2014-01-25 15:05:53 +00:00
adelikat
8998e35768
Remove a few unneeded and unused extensions
2014-01-22 00:57:05 +00:00
adelikat
8d9d8ac01e
Clean up the Bit struct and rename the file from Types.cs to Bit.cs
2014-01-22 00:47:22 +00:00
goyuken
a399dbe91e
NES: Move boardproperties into movie 2.0 syncsettings objects, and add a rudimentary UI for changing them
2014-01-01 03:03:10 +00:00
goyuken
a005767463
random cleanup
2013-12-27 04:41:50 +00:00
adelikat
15e547115c
nitpicky thing I forgot to do in last commit, nothing important here
2013-12-14 05:59:08 +00:00
adelikat
6840c2a122
Make a NamedDictionary object in BizHawk.Common, and move some collection objects to their own file. new Mnemonic system - use NamedDictionary
2013-12-14 05:55:25 +00:00
adelikat
de084bf6fa
Some mostly useless formatting and code cleanup in BizHawk.Common, broke some classes up into separate files
2013-12-14 00:03:03 +00:00
goyuken
2a0217e06c
refactor a bit of firmware loading code to get some slop out of MainForm.LoadRom()
2013-12-09 20:36:24 +00:00
adelikat
d6954e4209
Ram WAtch and Hex Editor code cleanup
2013-11-28 22:06:38 +00:00
zeromus
4c247672fe
snes hooking system and GetCpuFlagsAndRegisters now work normally
2013-11-22 09:33:56 +00:00
adelikat
030f30628d
some random code cleanup on BizHawk.Common
2013-11-15 00:22:08 +00:00
adelikat
6b67f47335
fix sln building - apparently you need these files
2013-11-11 17:49:10 +00:00
adelikat
03e9381adc
Clean up assembly info stuff in all projects
2013-11-08 15:56:58 +00:00
adelikat
0adffa65c1
Use ToHexString() extension is more places
2013-11-07 18:15:17 +00:00
adelikat
3f88ece3db
Remove some files I meant to delete, and some useless code cleanups
2013-11-04 03:12:50 +00:00
adelikat
bc5807a07c
move a search extension out of RamSearchEngine into the extensions class in BizHawk.Common
2013-11-04 02:18:40 +00:00
adelikat
4f5d8b89c9
move Log.cs from BizHawk.Emulation to BizHawk.Common
2013-11-04 00:45:23 +00:00
adelikat
7f3f116cd9
Move QuickCollections from BizHawk.Emulation to BizHawk.Common
2013-11-04 00:40:46 +00:00
adelikat
7b03fc0bc0
Move Buffer.cs and Util.cs from BizHawk.Emulation to BizHawk.Common, and add 1234832983 usings
2013-11-04 00:36:15 +00:00
adelikat
cd856a0011
move output folder up one level
2013-11-03 14:06:46 +00:00
zeromus
0acbb11e97
move HawkFile to BizHawk.Common along with a small web of dependencies and then add "using BizHawk.Common" to 100 files
2013-10-27 22:07:40 +00:00
adelikat
79a9e7cdc4
more warning cleanups including some bad configurations in client.common and pcedebugger projects
2013-10-27 18:01:36 +00:00
zeromus
fa40ae718f
reapply edits and cleanup
2013-10-27 07:54:00 +00:00
zeromus
11dbb0e1c8
reapply moves with merge tracking
2013-10-27 07:52:20 +00:00
zeromus
179dbd4124
revert back to r5156
2013-10-27 07:45:59 +00:00
adelikat
ba2ff213c6
Start the BizHawk.Common project and move MRUStack and UndoHistory there
2013-10-25 15:30:20 +00:00