From 95d5375158f6df5376ce876e6ed8c22150ad88ff Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 9 Mar 2020 17:58:20 -0700 Subject: [PATCH] ams: bump version to 0.10.4 --- config_templates/BCT.ini | 2 ++ docs/changelog.md | 22 +++++++++++++++++++ fusee/fusee-secondary/src/start.s | 3 ++- .../include/vapours/ams/ams_api_version.h | 2 +- 4 files changed, 27 insertions(+), 2 deletions(-) diff --git a/config_templates/BCT.ini b/config_templates/BCT.ini index d483c810e..d83c258d9 100644 --- a/config_templates/BCT.ini +++ b/config_templates/BCT.ini @@ -18,3 +18,5 @@ enable_user_pmu_access = 0 [stratosphere] ; To force-enable nogc, add nogc = 1 ; To force-disable nogc, add nogc = 0 + +; To opt in to using Atmosphere's NCM reimplementation, add enable_ncm = 1 diff --git a/docs/changelog.md b/docs/changelog.md index f71da6810..d3f22406f 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,4 +1,26 @@ # Changelog +## 0.10.4 ++ With major thanks to @Adubbz for his work, the NCM system module has now been re-implemented. + + This was a major stepping stone towards the goal of having implementations everything in the Switch's package1/package2 firmware. + + This also lays the groundwork for libstratosphere providing bindings for changing the installed version of the Switch's OS. + + **Please Note**: The NCM implementation will initially be opt-in. + + The Atmosphere team is confident in our NCM implementation (and we have tested it on every firmware version). + + That said, this is our first system module that manages NAND savegames -- and caution is a habit. + + We do not anticipate any issues that didn't come up in testing, so this is just our being particularly careful. + + Users interested in opting in to using our implementation should set `stratosphere!ncm_enabled = 1` in BCT.ini. + + In the unlikely event that any issues are encountered, please report them to @SciresM. + + The NCM implementation will stop being opt-in in a future update, after thorough testing has been done in practice. ++ A bug was fixed in emummc that caused Nintendo path to be corrupted on 1.0.0. + + This manifested as the emummc folder being created inside the virtual NAND instead of the SD card. + + It's unlikely there are any negative consequences to this in practice. + + If you want to be truly sure, you can re-clone sysmmc before updating a 1.0.0 emummc to latest firmware. ++ Stratosphere system modules now use new Nintendo-style FS bindings instead of stdio. + + This saves a modest amount of memory due to leaner code, and greatly increases the accuracy of several components. + + These bindings will make it easier for other system modules using libstratosphere to interact with the filesystem. + + This also lays the groundwork for changes necessary to support per-emummc Atmosphere folders in a future update. ++ Atmosphere's fatal error context now dumps 0x100 of TLS. + + This will make it much easier to fix bugs when an error report is dumped for whatever caused the crash. ++ General system stability improvements to enhance the user's experience. ## 0.10.3 + Support was added for 9.2.0. + Support was added for redirecting manual html content for games. diff --git a/fusee/fusee-secondary/src/start.s b/fusee/fusee-secondary/src/start.s index 1cd347c5f..1b88db9fe 100644 --- a/fusee/fusee-secondary/src/start.s +++ b/fusee/fusee-secondary/src/start.s @@ -175,6 +175,7 @@ _content_headers: .byte CONTENT_FLAG_NONE .byte CONTENT_FLAG_NONE .byte CONTENT_FLAG_NONE +.word 0xCCCCCCCC .asciz "ProcessManager" .align 5 @@ -280,7 +281,7 @@ _content_headers: /* splash_screen content header */ .word __splash_screen_bmp_start__ .word __splash_screen_bmp_size__ -.word CONTENT_TYPE_BMP +.byte CONTENT_TYPE_BMP .byte CONTENT_FLAG_NONE .byte CONTENT_FLAG_NONE .byte CONTENT_FLAG_NONE diff --git a/libraries/libvapours/include/vapours/ams/ams_api_version.h b/libraries/libvapours/include/vapours/ams/ams_api_version.h index 6b739942d..b443a5972 100644 --- a/libraries/libvapours/include/vapours/ams/ams_api_version.h +++ b/libraries/libvapours/include/vapours/ams/ams_api_version.h @@ -17,7 +17,7 @@ #define ATMOSPHERE_RELEASE_VERSION_MAJOR 0 #define ATMOSPHERE_RELEASE_VERSION_MINOR 10 -#define ATMOSPHERE_RELEASE_VERSION_MICRO 3 +#define ATMOSPHERE_RELEASE_VERSION_MICRO 4 #define ATMOSPHERE_RELEASE_VERSION ATMOSPHERE_RELEASE_VERSION_MAJOR, ATMOSPHERE_RELEASE_VERSION_MINOR, ATMOSPHERE_RELEASE_VERSION_MICRO