-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐧] Mono work from fork #1441
[🐧] Mono work from fork #1441
Conversation
Program.cs is now nicer than it was before TASEmulators#1380
Re: gdi32.dll As a test, if I go through GDIRenderer.cs and replace all the DllImports from gdi32.dll to an absolute path to
Not sure what to do next really. Unless we create a UnixGDIRenderer.cs that purely uses libgdiplus. Sounds like a big job :/ |
…d tar false positives)
EmuHawk: SharpCompress implementation for Mono - TASEmulators#1430
…options menu so that it opens without exception
… config dialog). On linux this requires the 'nvidia-cg-toolkit' dependency (either through your package manager, or direct from https://developer.nvidia.com/cg-toolkit-download)
196d51d now gives the working option of OpenGL (using the existing OpenTK implementation) in linux/mono: Users will need the 'nvidia-cg-toolkit' dependency (as the windows version calls cgc.exe). Pinging #1430 |
…licks 'open firmware folder'. This mitigates the 'Folder open dialog crash' referenced in TASEmulators#1430
4f2ff14
to
1b03ecb
Compare
80c759a
to
1b03ecb
Compare
* update reference version numbers and fix a null exception this causes (apparently something changes functionality-wise when the *.csproj references version 3.0.1.0 rather than the original 1.x.x.x (on windows at least) - which is interesting) * Modified GTK_Gamepad to use OpenTK.Input.Gamepad * use gamepad class if automap exists, otherwise use joystick class * forgot GetFloats() * fixed axis and hats - fixed GetFloats() so analog controls can be bound for cores that support it * changed controller identifier from 'T' to 'J' (in the case of OpenTK.Input.Joystick) and 'X' (in the case of OpenTK.Input.GamePad). This means config defaults in most cases will work (where they worked before with directinput and xinput). * fixed hat event detection when using OpenTK.Input.Joystick * disabled forcing OpenTK controllers on windows * unused variable cleanup * testing changes * another test * other test * revert previous tests
@YoshiRulz can you pull and test the last couple of commits? To me it seems a fair enough solution (and works to kill off mono after BizHawk has disposed itself), but would like a second opinion as I am not really a linux guy :) |
oh yeah it does the same thing my one-liner did but on itself |
81cbfde
to
901fdbd
Compare
Initial work by @nattthebear
…ssues (#8) (the Lua VirtualListView is still not functional on mono yet though)
…alog now functions as it should #8
* TAStudio: refactored ready for GDI+ implementaton * TAStudio GDI+: Implement DrawColumnBg * TAStudio GDI+: implement DrawColumnText * TAStudio GDI+: implement DrawBg * TAStudio GDI+: Implemented remaining rendering methods * TAStudio GDI+: Mitigate mono divide-by-zero errors (CellHeight is 0 for a while during instantiation) * TASstudio GDI+: forgot uncomment for performance enhancing fun * TAStudio GDI+: Implement option to switch inputroll renderer (on windows). Stored in global config and requires TAStudio restart to take effect * TAStudio GDI+: fix renderer selection submenu for linux * TAStudio GDI+: Fix alpha channel == 0 problems in GDIP_DrawCellBG() * TAStudio GDI+: Modify renderer menu name... ... ala #7 (comment) * InputRoll: GDI+ experiments with TextRenderer vs DrawString * InputRoll GDI+: finish up appearance matching
* EmuHawk: Start of a new VirtualListView impl. This could go either way :/ * EmuHawk: PAVirtualListView - finish consuming InputRoll code, tidy and remove un-needed things (lagframes, horizontal rotation etc) * PlatformAgnosticVirtualListView: started hooking up TraceLogger and debugging * PlatformAgnosticListView: Some more work * PlatformAgnosticVirtualListView: more public customization properties, working column re-ordering, and much other stuff I forget.. * PlatformAgnosticVirtualListView: Some more public appearance properties and control border * EmuHawk: TraceLogger added AutoScroll menu option * PAVLV: Added column resize functionality
@YoshiRulz merge this when you are ready in the fork, I am done there. Looking forward to it not being pull requests all the way down :) |
The high addition count is from 73caa21. We've got fewer crashes, OpenGL graphics, OpenAL sound, and Controller support (as long as you don't sneeze and bump it).
edit: see #1438, a PR for the branch this was merged into