Commit Graph

59 Commits

Author SHA1 Message Date
YoshiRulz e7d0fb8299
Refactor/genericise MutableIntRange, add immmutables, add more methods
call now and I'll throw in not one but two float equality extensions for free
2020-01-03 03:32:51 +10:00
YoshiRulz 19705b78fd
Improve exception docs in BizHawk.Common 2020-01-02 21:51:14 +10:00
adelikat 0082de7c0a cleanup Quantizer.cs 2019-12-31 10:24:57 -06:00
adelikat dcc853af6d remove a few more unused string methods 2019-12-06 18:16:49 -06:00
adelikat 049e3d12fc BizHawk.Common house cleaning - remove a bunch of unused code, use some higher language level features in some places 2019-12-06 18:12:57 -06:00
adelikat fef746dffa properly dispose of IDisposables in core savestate code, and a few other places 2019-12-06 17:33:17 -06:00
adelikat c854ea90b9 remove some obsolete BufferExtensions, and unused ones 2019-11-16 16:55:28 -06:00
adelikat 6c22e1c4c6 Lua console - implement saving/loading of column info 2019-10-19 10:45:42 -05:00
YoshiRulz 3fa0f71a24 Inline ToHexString extension where param numdigits is constant 2019-06-14 15:54:17 +00:00
YoshiRulz a2a5ec7566 Replace $"{a}{b}" and similar with concatenation 2019-06-14 15:54:17 +00:00
YoshiRulz 2642ef4049
Remove empty docs 2019-06-06 16:41:10 +10:00
James Groom 6b56a65d11
Add MutableIntRange and float.RoundToInt and refactor AnalogStickPanel 2019-04-01 14:41:08 +11:00
YoshiRulz 20b3112284
Use string interpolation
Excludes Sprintf.cs
2019-03-20 15:13:04 +10:00
nattthebear 2887ba5823 savestates for vb. this includes savestates for mmap_heap. unfortunately, usage of mmap_heap was scrapped as the things going into it were better suited for invisible/sealed. it may be eventually useful 2017-05-29 11:26:38 -04:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
adelikat 3965af851f Misc code cleanups in BizHawk.Common 2017-04-13 13:57:58 -05:00
adelikat 5665de1797 Intellivision - add a "Fake analog" controller as the default controller for easier binding for casual play, but also leave a boolean option as well for more precise (TAS) control. Add a controller config dialog to select them. 2016-12-03 17:44:25 -06: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
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 bef877365c make CDL generic, and prep for GB CDL 2015-10-26 19:15:21 -05:00
zeromus 56c3360ec8 minor tweax 2015-09-29 02:27:06 -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
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 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
goyuken ff8922bb08 itoolform custom config infrastructure; not complete 2014-12-20 21:49:53 +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
adelikat 8c4e0f1203 Move some extension methods to a better location 2014-11-30 14:04:00 +00:00
goyuken 4c1b31e293 some random reflection extensions i was using 2014-10-19 23:15:52 +00:00
goyuken 8d9b843099 house cleaning (AV writer) 2014-10-10 18:09:00 +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
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 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 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