Squashed 'deps/nostalgia/' changes from cb304ecf..312097a7
312097a7 [ox/std] Fix implementation of std cmp functions a40198ab [nostalgia] Update release-d2025.05.2 release notes 52d8c0bd [nostalgia/gfx] Replace static_cast compare with std::cmp_equal c19d7f4e [nostalgia] Add .vs and cmake-build-* to .gitignore 159b7e7e [buildcore] Make pybb cmake_build specify --config debug/release c93eec4f [teagba] Make cstart.cpp only compile if GCC e7e7a223 [nostalgia/sample_project] Make sample_project exempt from autocrlf 26d5048e [ox/fs] Fix new build error in MSVC (VS 17.14) 3b8f97cc [nostalgia/gfx] Cleanup f1e68e0a [nostalgia/gfx/studio/tilesheet] Fix overrun errors when switching subsheets, clear selection on switch d6e4ab7a [keel] Cleanup git-subtree-dir: deps/nostalgia git-subtree-split: 312097a7991194ce36e7c2e357e7e3a51d916767
This commit is contained in:
@@ -46,47 +46,47 @@ struct GbaPlatSpec {
|
||||
static constexpr PtrType RomStart = 0x08000000;
|
||||
|
||||
[[nodiscard]]
|
||||
static constexpr std::size_t alignOf(const bool) noexcept {
|
||||
static constexpr std::size_t alignOf(bool) noexcept {
|
||||
return 1;
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
static constexpr std::size_t alignOf(const uint8_t) noexcept {
|
||||
static constexpr std::size_t alignOf(uint8_t) noexcept {
|
||||
return 1;
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
static constexpr std::size_t alignOf(const uint16_t) noexcept {
|
||||
static constexpr std::size_t alignOf(uint16_t) noexcept {
|
||||
return 2;
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
static constexpr std::size_t alignOf(const uint32_t) noexcept {
|
||||
static constexpr std::size_t alignOf(uint32_t) noexcept {
|
||||
return 4;
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
static constexpr std::size_t alignOf(const uint64_t) noexcept {
|
||||
static constexpr std::size_t alignOf(uint64_t) noexcept {
|
||||
return 8;
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
static constexpr std::size_t alignOf(const int8_t) noexcept {
|
||||
static constexpr std::size_t alignOf(int8_t) noexcept {
|
||||
return 1;
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
static constexpr std::size_t alignOf(const int16_t) noexcept {
|
||||
static constexpr std::size_t alignOf(int16_t) noexcept {
|
||||
return 2;
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
static constexpr std::size_t alignOf(const int32_t) noexcept {
|
||||
static constexpr std::size_t alignOf(int32_t) noexcept {
|
||||
return 4;
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
static constexpr std::size_t alignOf(const int64_t) noexcept {
|
||||
static constexpr std::size_t alignOf(int64_t) noexcept {
|
||||
return 8;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user