Compare commits
No commits in common. "a40198ab8df286b4ad231508556260c6baf43129" and "3b8f97cc41a0b522f9eb8fa7c41f0993c2adb622" have entirely different histories.
a40198ab8d
...
3b8f97cc41
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1 +0,0 @@
|
|||||||
sample_project text eol=lf
|
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,14 +6,12 @@
|
|||||||
.mypy_cache
|
.mypy_cache
|
||||||
.stfolder
|
.stfolder
|
||||||
.stignore
|
.stignore
|
||||||
.vs
|
|
||||||
util/scripts/__pycache__
|
util/scripts/__pycache__
|
||||||
pyenv
|
pyenv
|
||||||
CMakeLists.txt.user
|
CMakeLists.txt.user
|
||||||
ROM.oxfs
|
ROM.oxfs
|
||||||
Session.vim
|
Session.vim
|
||||||
build
|
build
|
||||||
cmake-build-*
|
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
dist
|
dist
|
||||||
graph_info.json
|
graph_info.json
|
||||||
|
7
deps/buildcore/scripts/pybb.py
vendored
7
deps/buildcore/scripts/pybb.py
vendored
@ -11,7 +11,6 @@
|
|||||||
# "Python Busy Box" - adds cross-platform equivalents to Unix commands that
|
# "Python Busy Box" - adds cross-platform equivalents to Unix commands that
|
||||||
# don't translate well to that other operating system
|
# don't translate well to that other operating system
|
||||||
|
|
||||||
import multiprocessing
|
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
import shutil
|
import shutil
|
||||||
@ -58,11 +57,7 @@ def cmake_build(base_path: str, target: Optional[str]) -> int:
|
|||||||
path = os.path.join(base_path, d)
|
path = os.path.join(base_path, d)
|
||||||
if not os.path.isdir(path):
|
if not os.path.isdir(path):
|
||||||
continue
|
continue
|
||||||
args = ['cmake', '--build', path, f'-j{multiprocessing.cpu_count()}']
|
args = ['cmake', '--build', path]
|
||||||
if path.endswith('release'):
|
|
||||||
args.append('--config=release')
|
|
||||||
elif path.endswith('debug'):
|
|
||||||
args.append('--config=debug')
|
|
||||||
if target is not None:
|
if target is not None:
|
||||||
args.extend(['--target', target])
|
args.extend(['--target', target])
|
||||||
err = subprocess.run(args).returncode
|
err = subprocess.run(args).returncode
|
||||||
|
@ -24,6 +24,9 @@ enum class FileAddressType: int8_t {
|
|||||||
Inode,
|
Inode,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
constexpr Error model(T *h, CommonPtrWith<class FileAddress> auto *fa) noexcept;
|
||||||
|
|
||||||
class FileAddress {
|
class FileAddress {
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
4
deps/teagba/src/cstartup.cpp
vendored
4
deps/teagba/src/cstartup.cpp
vendored
@ -2,8 +2,6 @@
|
|||||||
* Copyright 2016 - 2024 Gary Talent (gary@drinkingtea.net). All rights reserved.
|
* Copyright 2016 - 2024 Gary Talent (gary@drinkingtea.net). All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __GNUC__
|
|
||||||
|
|
||||||
#include <ox/std/heapmgr.hpp>
|
#include <ox/std/heapmgr.hpp>
|
||||||
|
|
||||||
#include <teagba/bios.hpp>
|
#include <teagba/bios.hpp>
|
||||||
@ -60,5 +58,3 @@ int c_start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -2,12 +2,6 @@
|
|||||||
|
|
||||||
* PaletteEditor: Add RGB key shortcuts for focusing color channels
|
* PaletteEditor: Add RGB key shortcuts for focusing color channels
|
||||||
|
|
||||||
# d2025.05.1
|
|
||||||
|
|
||||||
* TileSheetEditor: Fix overrun errors when switching subsheets, clear selection
|
|
||||||
on switch (261e324acd)
|
|
||||||
* Fix new build error that occurs in MSVC (26d5048e6720c4c2d52508a6ee44c67dd9fe3ee5)
|
|
||||||
|
|
||||||
# d2025.05.0
|
# d2025.05.0
|
||||||
|
|
||||||
* Add app icon for both window and file
|
* Add app icon for both window and file
|
||||||
|
@ -336,7 +336,7 @@ struct TileSheetV5 {
|
|||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
constexpr bool valid(TileSheetV5::SubSheet const&ss) noexcept {
|
constexpr bool valid(TileSheetV5::SubSheet const&ss) noexcept {
|
||||||
if (ss.subsheets.empty()) {
|
if (ss.subsheets.empty()) {
|
||||||
return std::cmp_equal(ss.columns * ss.rows * PixelsPerTile, ss.pixels.size());
|
return static_cast<size_t>(ss.columns * ss.rows * PixelsPerTile) == ss.pixels.size();
|
||||||
} else {
|
} else {
|
||||||
return ss.pixels.empty() && ox::all_of(ss.subsheets.begin(), ss.subsheets.end(),
|
return ss.pixels.empty() && ox::all_of(ss.subsheets.begin(), ss.subsheets.end(),
|
||||||
[](TileSheetV5::SubSheet const&s) {
|
[](TileSheetV5::SubSheet const&s) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user