MIT License (runtime, platform layer and tools)

Copyright (c) 2026 dmucli

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.

-------------------------------------------------------------------------------
Scope

This licence covers the code written for this port: src/mac, src/cpu, src/fs,
src/platform, src/main.c, tools/, docs/, packaging/ and the build files.

It does NOT cover src/game/ (including the generated src/game/gen/). That
directory is a function-by-function translation into C of the original 1993
Macintosh program "Prince of Persia 2: The Shadow and the Flame" and of the
libraries it contains. The rights to that program belong to their owners; no
licence to it is granted here. This project is unofficial and not affiliated
with or endorsed by them. No game data is included: the port runs from the
user's own copy of the original game.

third_party/musashi is the Musashi 68000 emulator by Karl Stenerud, under its
own MIT licence (third_party/musashi/readme.txt).
