Commit Graph

200 Commits

Author SHA1 Message Date
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
zeromus 8c7919a1c4 nothing 2018-11-30 10:00:26 -06:00
zeromus 1961d8b8d0 fix mupen dll not to have 100 frame hack crash; change c# side to more visibly hang (the frame counter stops, so the condition can be detected) 2018-11-07 19:59:03 -05:00
zeromus 2eade372fd try a new technique to just unstick the frontend when the n64 emulation thread dies 2018-11-07 15:37:37 -05:00
feos b83c99c857 gliden64: wire up overscan, but disable the ui option, because it somehow refuses to work 2018-09-15 20:30:19 +03:00
feos 2ab320ebf2 gliden64: wire up resolution display
the proper method is obviously hooking into m64p and getting this info via lua or something, but for now it's better than nothing (and easy)
2018-09-15 12:43:39 +03:00
feos 6af9b6aaa5 update gliden64 and wire up fxaa 2018-09-15 12:09:52 +03:00
feos fc03be879f gliden64: disable texture cache option, since internally it's hardcoded to 8000 now 2018-06-23 00:00:08 +03:00
nattthebear e8145af463 i hope this breaks something 2018-05-12 12:55:42 -04:00
frequem d0d73766bd Fixed some filenames causing problems on case-sensitive systems 2018-02-21 20:19:33 -05:00
adelikat ebcd237858 Merge branch 'master' into domainedmemoryhooks 2017-10-29 12:38:29 -05:00
nattthebear 5e3cdba869 Finally dump some old movie 1.0 cruft 2017-08-11 19:45:45 -04:00
Isotarge ffe051ab26 N64: Fix minAnalogX and minAnalogY values
D and L boolean inputs for the analog stick were one unit short of full
range
2017-08-09 01:23:44 +09:30
adelikat cd289c474e memorycallbacks with domains - Phase 2 - change api to Call methods and refactor accordingly, everything should behave as it was before the refactor at this point. No cores have yet to be implemented with domains other than the default bus they already had 2017-08-03 18:08:07 -05:00
adelikat 04ce66c397 phase 1 of changing memory callback api to specify domain - require cores to specify which domains are available and have the domain passed in when creating callbacks. Still todo - cores need to pass in domain name on CallReads/Writes/Executes methods 2017-08-01 22:05:17 -05:00
adelikat c6e0e9fa57 Rename CoreAttributes to CoreAttribute as to not be a bad person 2017-07-12 14:10:55 -05:00
adelikat 46568bf1ec N64 - disable cxd64 lle RSP pluging since we don't have one that works for 64bit, and no one was probably using it anyway 2017-06-19 18:00:19 -05:00
adelikat e6d1850361 N64 - include a 64bit version of mupen64plus-rsp-cxd4.dll, rip out Rsp_Z64_hlevideo since it is giving us no value added, as it was intended to go with the z64 video plugin (that we don't support nor need to) 2017-06-12 19:37:45 -05:00
adelikat f5b15b2e6a N64 - Make GLideN64 the default plugin 2017-06-12 13:07:59 -05:00
adelikat b1918759be N64 - Remove commented out jabo code 2017-06-12 13:07:06 -05:00
zeromus 9c8ea446eb fix a bug caused by commenting out too much of jabo 2017-06-11 17:24:32 -05:00
zeromus eec9c54236 comment out all dynarec related things 2017-06-11 17:24:32 -05:00
zeromus 503261af35 comment out all jabo related stuff 2017-06-11 17:24:32 -05:00
zeromus 852b1f8a5e change default settings to interpreter and not jabo, so n64-64 can boot 2017-06-11 17:24:32 -05:00
adelikat 1dae91e6a8 clean up core constructors - consistent parameter casing, and put them at the top of the class 2017-05-05 19:05:36 -05:00
adelikat 59139ab266 Spell out Numerator and Denominator 2017-05-05 11:25:38 -05:00
adelikat 62a13d961d Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider 2017-05-05 11:21:37 -05:00
nattthebear e3fab1a4d5 cleaner 2017-05-02 18:15:33 -04:00
adelikat 698c6741ae Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method 2017-05-01 20:09:11 -05:00
adelikat ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
Wyst3r 4c0bfd4764 m64p: Use built-in debugger to avoid major slowdowns when breakpoints are set.
Conflicts:
	BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.IDebuggable.cs
2017-02-24 10:41:22 +03:00
feos 39c5aae61b Revert "Merge pull request #731 from Wyst3r/master"
This reverts commit 318abf691a, reversing
changes made to 5d4c8020c2.
2017-02-23 16:56:38 +03:00
Wyst3r d665bad4c5 Merge branch 'master' into master 2017-02-22 19:51:13 +01:00
adelikat ab1a22bf31 add TotalExecutedCycles as an IDebuggable property, and implement it in cores with the information readily available (and throw NotImplementedExecptions in the remaining). wire the property up to lua with emu.totalexecutedcycles(). Stil todo - wire it up to the Debugger gui 2017-01-09 19:23:05 -06:00
adelikat 72a59087b5 Use the IController indexing property less in preparation for removing it from the interface. Replaced with its more explicity counter-part .IsPressed() 2016-12-14 12:42:15 -06:00
adelikat b73a500d6b Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async. 2016-12-11 11:15:00 -06:00
adelikat b697110098 Rename ISoundProvider to IAsyncSoundProvider to more accurately describe what the service does 2016-12-09 10:24:43 -06:00
Wyst3r 86b16a80d6 m64p: Use built-in debugger to avoid major slowdowns when breakpoints are set. 2016-11-19 12:02:39 +01:00
feos 9d4ba478ce n64: use traditional GPR names for debugger too 2016-11-03 20:01:22 +03:00
pjgat09 78942a8422 N64: Added cxd4 to the RSP options 2016-09-27 15:10:38 -04:00
pjgat09 32be471382 GLideN64: Changed UseNativeResolutionFactor to an int setting 2016-09-26 11:13:07 -04:00
pjgat09 7f24960ed8 M64p: String parameters can now be passed to the core. 2016-09-22 14:21:51 -04:00
pjgat09 59e43a25f9 GLideN64: Added settings to the plugin dialog. Removed some settings from the sync settings that we will not need. 2016-09-22 12:57:09 -04:00
pjgat09 a85da435f9 GLideN64: Added a sync settings, hooked up the dll, and added it to the video plugin list in the plugin dialog. Updated the submodule reference. 2016-09-22 08:46:49 -04:00
feos f08a0b3849 n64 tracer: disable for dynarec 2016-08-24 19:21:16 +03:00
feos 2d8a247bec m64p: fix spacing, add fgrs to tracer 2016-08-21 12:46:29 +03:00
feos 76eaea3619 tracer unification for cores: spacing, headers, etc 2016-08-16 01:39:26 +03:00
feos 799afc6b0a n64: switch to regular tracer method
todo: same for gpgx
2016-08-14 20:35:05 +03:00
feos 45a83322a7 n64 tracer: mention regs in the header 2016-08-14 19:20:18 +03:00