misc: refactor compilation system

This commit is contained in:
souldbminersmwc
2025-12-27 17:35:00 -05:00
parent ddf1bf835e
commit 9d0e110997
13 changed files with 135 additions and 31 deletions

10
ams_patch.bat Normal file
View File

@@ -0,0 +1,10 @@
@echo off
set ROOT=build
set PATCHES=Atmosphere-Patches
copy "%PATCHES%\secmon_memory_layout.hpp" "%ROOT%\libraries\libexosphere/include/exosphere/secmon/" /Y
copy "%PATCHES%\secmon_emc_access_table_data.inc" "%ROOT%\exosphere/program/source/smc/" /Y
copy "%PATCHES%\secmon_define_emc_access_table.inc" "%ROOT%\exosphere/program/source/smc/" /Y
copy "%PATCHES%\secmon_smc_register_access.cpp" "%ROOT%\exosphere/program/source/smc/" /Y
echo Patched!
pause