Skip to content

Commit

Permalink
misc: Add credit to AmiiboAPI properly and fix a wrong warning code (…
Browse files Browse the repository at this point in the history
…#2150)

* misc: Add credit to AmiiboAPI properly and fix a warning disable

This PR adds a properly credit to AmiiboAPI which is used in our Amiibo emulation in the Readme and in the about window.
I've changed a wrong warning code added in a recent PR too.

* Update README.md

* Fix aligment
  • Loading branch information
AcK77 authored Mar 27, 2021
1 parent 0c1ea12 commit e60bae1
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,6 @@ The Ryujinx.Audio project is licensed under the terms of the LGPLv3 license.
This project makes use of code authored by the libvpx project, licensed under BSD and the ffmpeg project, licensed under LGPLv3.
See [LICENSE.txt](LICENSE.txt) and [THIRDPARTY.md](Ryujinx/THIRDPARTY.md) for more details.

## Credits

- [AmiiboAPI](https://www.amiiboapi.com) is used in our Amiibo emulation.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ class ICommonStateGetter : IpcService
private Lbl.LblControllerServer _lblControllerServer;

private bool _vrModeEnabled;
#pragma warning disable CS0169
#pragma warning disable CS0414
private bool _lcdBacklighOffEnabled;
private bool _requestExitToLibraryAppletAtExecuteNextProgramEnabled;
#pragma warning restore CS0169
#pragma warning restore CS0414
private int _messageEventHandle;
private int _displayResolutionChangedEventHandle;

Expand Down
25 changes: 25 additions & 0 deletions Ryujinx/Ui/Windows/AboutWindow.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Ryujinx/Ui/Windows/AboutWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ private void RyujinxButton_Pressed(object sender, ButtonPressEventArgs args)
OpenHelper.OpenUrl("https://ryujinx.org");
}

private void AmiiboApiButton_Pressed(object sender, ButtonPressEventArgs args)
{
OpenHelper.OpenUrl("https://amiiboapi.com");
}

private void PatreonButton_Pressed(object sender, ButtonPressEventArgs args)
{
OpenHelper.OpenUrl("https://www.patreon.com/ryujinx");
Expand Down

0 comments on commit e60bae1

Please sign in to comment.