Commit Graph

57 Commits

Author SHA1 Message Date
adelikat 18762c75ee misc cleanups in Client.Common 2020-03-01 15:49:48 -06:00
adelikat 46d05de51f nothing to see here 2020-02-28 12:52:48 -06:00
adelikat 656f2b814e Move IEmulator extensions to the Emulation.Common namespace, the intent is that these are used and serve as built in functionality, so it's overly tedious to when most situations require both Common and an additional extensions namespace 2020-02-15 12:33:15 -06:00
adelikat ef13754f79 consistent variable naming in config.cs 2020-01-25 10:57:39 -06:00
adelikat b80b367831 refactor IMovie to expose the movie mode, and make extension methods that do IsPlaying type logic. This way there can be direct checks, and more variety of methods without cluttering the interface 2019-12-21 16:34:29 -06:00
YoshiRulz 8c059aa43c
Replace helper methods with readonly bool IsUnixHost and cleanup 2019-11-04 14:30:05 +10:00
adelikat 942d9fc75e Simplify OS checks with some helpful methods 2019-11-03 16:04:42 -06:00
YoshiRulz 8c53a06a6b
Port GetRelativePath 2019-08-17 16:03:27 +10:00
YoshiRulz 2073583157
Fix typo, re-add Asnivor's implementations which may help on .NET Core 2019-08-17 15:45:26 +10:00
YoshiRulz 196594e1df
Port TryMakeRelative and IsSubfolder 2019-08-12 20:03:40 +10:00
YoshiRulz 9d0ee22885
Use string interpolation 2019-03-20 15:01:12 +10:00
zeromus 15131a0626 support --config=c:\path\to\config.ini (fixes #1404) 2018-12-23 00:23:57 -05: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 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
Dan B (Narry) 43f2435737 Filter out forward slashes in FileSystemSafeName to fix games such as "Super Mario Bros. / Duck Hunt". Fixes #1088 2018-05-06 16:44:28 -04:00
alyosha-tas 1f0c9f2be8 GBHawk: Fix audio and states 2017-12-15 14:29:11 -05:00
shanehoman 85575eae82 Standardize as AutoSaveRAM
- Rename files
- Add path to PathManager
- Alter config UI
Set default settings
- ASR disabled
- 5m preselected
Display OSD messages when ASR enabled
- SaveRAM is older than ASR
- SaveRAM doesn't exist but ASR does
2017-08-19 23:14:08 -07:00
zeromus 720cc0d9bb fix path manager support of fully rooted paths (e.g. c:\roms) 2017-07-17 09:47:25 -05:00
zeromus 75f3ef9b4e fix regressions in path management caused by my trying to fix other things. whatever use case involved file:// may be broken now too, but im not sure. 2017-07-10 19:26:36 -05:00
zeromus 9ad4c32b73 fix global base path handling to make some sense to me 2017-06-25 23:12:31 -05:00
adelikat 8816f38645 snes9x - stuff core name into savestate filenames 2017-06-04 18:29:27 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
adelikat cdb0802230 Misc Client.Common cleanups 2017-05-09 07:22:56 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
adelikat b6f335e4c8 misc code cleanups in BizHawk.Client.Common 2017-04-14 14:59:01 -05:00
adelikat 2c1f0013c3 Account for game names having quotes in them, fixes NES Ivan Ironman Stewart's Super Off-Road 2016-10-13 20:16:26 -05:00
adelikat 574584c079 Fix filename generation when there are colons in the game name, fixes #661 2016-09-21 10:27:28 -04:00
zeromus 53fcc09c08 various bugfixes to system/save pathing and support CAN_DUPE, to stabilize the gambatte and neopop cores 2015-11-08 19:18:08 -06:00
zeromus 5c16f8b107 fix some assorted bugs, and experiments with handling more environment calls 2015-11-07 02:29:04 -06:00
zeromus 7651f418fe usably functional libretro player 2015-11-07 00:14:59 -06:00
zeromus 7e828d5618 d3d display method 2015-08-24 13:10:50 -05:00
adelikat 7e35ca00a8 Add core name to GBA savestates 2015-06-06 21:06:59 +00:00
adelikat b1b94da6ef Lua Sessions - make scripts relative to the lua session instead of relative to the .exe, note: this wrecks existing luases files 2015-01-29 02:08:12 +00:00
adelikat 17c6a2c1f6 Snes - use the compatibility profile override option in the game db, note that it will be a temporary override for the game if detected, the user setting will not be permanently changed. This touched a bunch of things, and many other things had to be considered, there's a reasonable chance that this broke something 2014-11-19 00:32:51 +00:00
jlennox a64017366c Create ISettable<T,T2>/ISettable interfaces. This checkin has not been extensively tested. 2014-10-19 01:22:47 +00:00
goyuken f8becef719 fix 7582 2014-08-13 17:55:34 +00:00
adelikat e29e4a1227 Helper method for path manager 2014-08-13 17:50:24 +00:00
adelikat 7d89765568 Better Global ROM folder logic 2014-07-21 23:41:41 +00:00
adelikat b5f6004674 Fix Issue 218, Global ROM folder now works 2014-07-21 23:22:22 +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 711c9b52e4 Hack for FilesystemSafeName to remove . if it is the last character in the name (Such as Super Mario bros.) since this method is used for path building 2014-06-20 18:36:03 +00:00
adelikat 9a24539c10 Lua - catch NotImplementedException on emu.getregister(s) and warn the user that this particular core doesn't implement this feature yet. Also, put IEmulator extensions in their own namespace 2014-05-31 14:29:27 +00:00
adelikat 6b2ea2e7a6 Put snes profile setting into savestates since savestates are incompatible among profiles 2014-05-04 13:43:29 +00:00
adelikat e99b370654 put core name into nes savestates 2014-05-04 13:20:59 +00:00
adelikat 691cbaa0c1 some nitpicky code reformatting in PathManager 2014-05-04 01:54:58 +00:00
zeromus 483cf96853 rename PathEntries.WatchPath etc. to PathEntries.WatchPathFragment to better convey the idea that it isnt a fully-qualified path, so its less likely to get used on accident 2013-12-13 05:20:50 +00:00
adelikat bc860a4bcf Remove the option to turn off the "Bind movies to savestates" feature 2013-12-04 02:43:40 +00:00
adelikat 7a1f28b5a9 A fix to PathManager, get the executable path, not the dll path 2013-11-20 20:10:10 +00:00
adelikat 348171bdc5 start Emulation.Common project and move the Emulation/Database folder files to it 2013-11-04 01:06:36 +00:00