mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
update copyright years
This commit is contained in:
parent
f188c2cf1a
commit
ac38faef14
@ -18,7 +18,7 @@ FILETYPE VFT_APP
|
|||||||
VALUE "FileVersion", "${melonDS_VERSION}"
|
VALUE "FileVersion", "${melonDS_VERSION}"
|
||||||
VALUE "FileDescription", "melonDS emulator"
|
VALUE "FileDescription", "melonDS emulator"
|
||||||
VALUE "InternalName", "SDnolem"
|
VALUE "InternalName", "SDnolem"
|
||||||
VALUE "LegalCopyright", "2016-2022 melonDS team"
|
VALUE "LegalCopyright", "2016-2023 melonDS team"
|
||||||
VALUE "LegalTrademarks", ""
|
VALUE "LegalTrademarks", ""
|
||||||
VALUE "OriginalFilename", "melonDS.exe"
|
VALUE "OriginalFilename", "melonDS.exe"
|
||||||
VALUE "ProductName", "melonDS"
|
VALUE "ProductName", "melonDS"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
@ -33,9 +33,9 @@ __attribute((always_inline)) static void Bswap128(void* Dst, const void* Src)
|
|||||||
#else
|
#else
|
||||||
__attribute((always_inline)) static void Bswap128(void* Dst, const void* Src)
|
__attribute((always_inline)) static void Bswap128(void* Dst, const void* Src)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 16; ++i)
|
for (int i = 0; i < 16; ++i)
|
||||||
{
|
{
|
||||||
((u8*)Dst)[i] = ((u8*)Src)[15 - i];
|
((u8*)Dst)[i] = ((u8*)Src)[15 - i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ public:
|
|||||||
|
|
||||||
// This "Accelerated" flag currently communicates if the framebuffer should
|
// This "Accelerated" flag currently communicates if the framebuffer should
|
||||||
// be allocated differently and other little misc handlers. Ideally there
|
// be allocated differently and other little misc handlers. Ideally there
|
||||||
// are more detailed "traits" that we can ask of the Renderer3D type
|
// are more detailed "traits" that we can ask of the Renderer3D type
|
||||||
const bool Accelerated;
|
const bool Accelerated;
|
||||||
|
|
||||||
virtual void SetRenderSettings(GPU::RenderSettings& settings) = 0;
|
virtual void SetRenderSettings(GPU::RenderSettings& settings) = 0;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
@ -150,4 +150,4 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
@ -746,7 +746,7 @@ void SoftRenderer::RenderShadowMaskScanline(RendererPolygon* rp, s32 y)
|
|||||||
std::swap(xstart, xend);
|
std::swap(xstart, xend);
|
||||||
std::swap(wl, wr);
|
std::swap(wl, wr);
|
||||||
std::swap(zl, zr);
|
std::swap(zl, zr);
|
||||||
|
|
||||||
// CHECKME: edge fill rules for swapped opaque shadow mask polygons
|
// CHECKME: edge fill rules for swapped opaque shadow mask polygons
|
||||||
if ((polyalpha < 31) || (RenderDispCnt & (3<<4)))
|
if ((polyalpha < 31) || (RenderDispCnt & (3<<4)))
|
||||||
{
|
{
|
||||||
@ -774,7 +774,7 @@ void SoftRenderer::RenderShadowMaskScanline(RendererPolygon* rp, s32 y)
|
|||||||
|
|
||||||
rp->SlopeL.EdgeParams<false>(&l_edgelen, &l_edgecov);
|
rp->SlopeL.EdgeParams<false>(&l_edgelen, &l_edgecov);
|
||||||
rp->SlopeR.EdgeParams<false>(&r_edgelen, &r_edgecov);
|
rp->SlopeR.EdgeParams<false>(&r_edgelen, &r_edgecov);
|
||||||
|
|
||||||
// CHECKME: edge fill rules for unswapped opaque shadow mask polygons
|
// CHECKME: edge fill rules for unswapped opaque shadow mask polygons
|
||||||
if ((polyalpha < 31) || (RenderDispCnt & (3<<4)))
|
if ((polyalpha < 31) || (RenderDispCnt & (3<<4)))
|
||||||
{
|
{
|
||||||
@ -873,7 +873,7 @@ void SoftRenderer::RenderShadowMaskScanline(RendererPolygon* rp, s32 y)
|
|||||||
edge = yedge | 0x2;
|
edge = yedge | 0x2;
|
||||||
xlimit = xend+1;
|
xlimit = xend+1;
|
||||||
if (xlimit > 256) xlimit = 256;
|
if (xlimit > 256) xlimit = 256;
|
||||||
|
|
||||||
if (r_filledge)
|
if (r_filledge)
|
||||||
for (; x < xlimit; x++)
|
for (; x < xlimit; x++)
|
||||||
{
|
{
|
||||||
@ -948,7 +948,7 @@ void SoftRenderer::RenderPolygonScanline(RendererPolygon* rp, s32 y)
|
|||||||
|
|
||||||
s32 zl = rp->SlopeL.Interp.InterpolateZ(polygon->FinalZ[rp->CurVL], polygon->FinalZ[rp->NextVL], polygon->WBuffer);
|
s32 zl = rp->SlopeL.Interp.InterpolateZ(polygon->FinalZ[rp->CurVL], polygon->FinalZ[rp->NextVL], polygon->WBuffer);
|
||||||
s32 zr = rp->SlopeR.Interp.InterpolateZ(polygon->FinalZ[rp->CurVR], polygon->FinalZ[rp->NextVR], polygon->WBuffer);
|
s32 zr = rp->SlopeR.Interp.InterpolateZ(polygon->FinalZ[rp->CurVR], polygon->FinalZ[rp->NextVR], polygon->WBuffer);
|
||||||
|
|
||||||
// right vertical edges are pushed 1px to the left as long as either:
|
// right vertical edges are pushed 1px to the left as long as either:
|
||||||
// the left edge slope is not 0, or the span is not 0 pixels wide, and it is not at the leftmost pixel of the screen
|
// the left edge slope is not 0, or the span is not 0 pixels wide, and it is not at the leftmost pixel of the screen
|
||||||
if (rp->SlopeR.Increment==0 && (rp->SlopeL.Increment!=0 || xstart != xend) && (xend != 0))
|
if (rp->SlopeR.Increment==0 && (rp->SlopeL.Increment!=0 || xstart != xend) && (xend != 0))
|
||||||
@ -1220,7 +1220,7 @@ void SoftRenderer::RenderPolygonScanline(RendererPolygon* rp, s32 y)
|
|||||||
if (alpha == 31)
|
if (alpha == 31)
|
||||||
{
|
{
|
||||||
u32 attr = polyattr | edge;
|
u32 attr = polyattr | edge;
|
||||||
|
|
||||||
if ((RenderDispCnt & (1<<4)) && (attr & 0xF))
|
if ((RenderDispCnt & (1<<4)) && (attr & 0xF))
|
||||||
{
|
{
|
||||||
// anti-aliasing: all edges are rendered
|
// anti-aliasing: all edges are rendered
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
@ -232,7 +232,7 @@ private:
|
|||||||
s32 SetupDummy(s32 x0)
|
s32 SetupDummy(s32 x0)
|
||||||
{
|
{
|
||||||
dx = 0;
|
dx = 0;
|
||||||
|
|
||||||
this->x0 = x0;
|
this->x0 = x0;
|
||||||
this->xmin = x0;
|
this->xmin = x0;
|
||||||
this->xmax = x0;
|
this->xmax = x0;
|
||||||
@ -343,7 +343,7 @@ private:
|
|||||||
else if (ret > xmax) ret = xmax;
|
else if (ret > xmax) ret = xmax;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<bool swapped>
|
template<bool swapped>
|
||||||
void EdgeParams_XMajor(s32* length, s32* coverage)
|
void EdgeParams_XMajor(s32* length, s32* coverage)
|
||||||
{
|
{
|
||||||
@ -401,7 +401,7 @@ private:
|
|||||||
*coverage = cov;
|
*coverage = cov;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template<bool swapped>
|
template<bool swapped>
|
||||||
void EdgeParams(s32* length, s32* coverage)
|
void EdgeParams(s32* length, s32* coverage)
|
||||||
{
|
{
|
||||||
@ -507,4 +507,4 @@ private:
|
|||||||
Platform::Semaphore* Sema_RenderDone;
|
Platform::Semaphore* Sema_RenderDone;
|
||||||
Platform::Semaphore* Sema_ScanlineCount;
|
Platform::Semaphore* Sema_ScanlineCount;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
@ -68,4 +68,4 @@ private:
|
|||||||
GLuint CompScreenOutputFB[2];
|
GLuint CompScreenOutputFB[2];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
@ -22,7 +22,6 @@
|
|||||||
#include "NDSCart.h"
|
#include "NDSCart.h"
|
||||||
#include "ARM.h"
|
#include "ARM.h"
|
||||||
#include "CRC32.h"
|
#include "CRC32.h"
|
||||||
#include "DSi_AES.h"
|
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
#include "ROMList.h"
|
#include "ROMList.h"
|
||||||
#include "melonDLDI.h"
|
#include "melonDLDI.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
@ -6800,4 +6800,4 @@ const ROMListEntry ROMList[] =
|
|||||||
{0x5A5A5242, 0x04000000, 0x00000003},
|
{0x5A5A5242, 0x04000000, 0x00000003},
|
||||||
};
|
};
|
||||||
|
|
||||||
const size_t ROMListEntryCount = sizeof(ROMList) / sizeof(ROMListEntry);
|
const size_t ROMListEntryCount = sizeof(ROMList) / sizeof(ROMListEntry);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
@ -378,4 +378,4 @@ u32 Savestate::FindSection(const char* magic) const
|
|||||||
// We've reached the end of the file without finding the requested section...
|
// We've reached the end of the file without finding the requested section...
|
||||||
Log(LogLevel::Error, "savestate: section %s not found. blarg\n", magic);
|
Log(LogLevel::Error, "savestate: section %s not found. blarg\n", magic);
|
||||||
return NO_SECTION;
|
return NO_SECTION;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
@ -471,7 +471,7 @@ int GetScreenTransforms(float* out, int* kind)
|
|||||||
|
|
||||||
bool GetTouchCoords(int& x, int& y, bool clamp)
|
bool GetTouchCoords(int& x, int& y, bool clamp)
|
||||||
{
|
{
|
||||||
if (HybEnable && HybScreen == 1)
|
if (HybEnable && HybScreen == 1)
|
||||||
{
|
{
|
||||||
float vx = x;
|
float vx = x;
|
||||||
float vy = y;
|
float vy = y;
|
||||||
@ -487,7 +487,7 @@ bool GetTouchCoords(int& x, int& y, bool clamp)
|
|||||||
{
|
{
|
||||||
x = std::clamp((int)vx, 0, 255);
|
x = std::clamp((int)vx, 0, 255);
|
||||||
y = std::clamp((int)vy, 0, 191);
|
y = std::clamp((int)vy, 0, 191);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (HybPrevTouchScreen == 2)
|
if (HybPrevTouchScreen == 2)
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2016-2022 melonDS team
|
Copyright 2016-2023 melonDS team
|
||||||
|
|
||||||
This file is part of melonDS.
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user