MIT License

Copyright (c) 2022 Ryan Dwyer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---

Additional notice for the Android port (everything under android/ and the
Android-specific changes in port/):

Copyright (c) 2026 Jamal Rjoob

These additions are released under the same MIT license as the rest of this
repository.

Perfect Dark is a trademark of Nintendo. No Nintendo code, audio or other
game assets are included in this repository, and the game ROM is neither
included nor downloaded; you must supply your own legally obtained copy of
the ROM to run the game.

The launcher icons under android/app/src/main/res/mipmap-* are made from the
port's own icon artwork, dist/linux/io.github.perfect_dark_pc_port.perfect_dark.png,
which is covered by the licence above.

The SDL2 Java classes under android/app/src/main/java/org/libsdl/app/ come
from the SDL2 project and are used under the zlib license.


---
Source: https://github.com/Mr4xd3mn/perfect-dark-android at aae80f5d2fc0c83838d8ca69f1cce913dac1ec9c
Adapted into port/flat/window/flat_touch.cpp (the on-screen touch controls) from port/src/touch.c.
