Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1085ccbe60 | ||
|
|
8b61537aa3 | ||
|
|
968f50bc07 | ||
|
|
0bf2ade76f | ||
|
|
35a6705d55 |
2
Makefile
2
Makefile
@@ -78,7 +78,7 @@ dist-no-debug: all
|
|||||||
cp sept/sept-secondary/sept-secondary_01.enc atmosphere-$(AMSVER)/sept/sept-secondary_01.enc
|
cp sept/sept-secondary/sept-secondary_01.enc atmosphere-$(AMSVER)/sept/sept-secondary_01.enc
|
||||||
cp sept/sept-secondary/sept-secondary_dev_00.enc atmosphere-$(AMSVER)/sept/sept-secondary_dev_00.enc
|
cp sept/sept-secondary/sept-secondary_dev_00.enc atmosphere-$(AMSVER)/sept/sept-secondary_dev_00.enc
|
||||||
cp sept/sept-secondary/sept-secondary_dev_01.enc atmosphere-$(AMSVER)/sept/sept-secondary_dev_01.enc
|
cp sept/sept-secondary/sept-secondary_dev_01.enc atmosphere-$(AMSVER)/sept/sept-secondary_dev_01.enc
|
||||||
cp config_templates/BCT.ini atmosphere-$(AMSVER)/atmosphere/config/BCT.ini
|
cp config_templates/BCT.ini atmosphere-$(AMSVER)/atmosphere/config_templates/BCT.ini
|
||||||
cp config_templates/override_config.ini atmosphere-$(AMSVER)/atmosphere/config_templates/override_config.ini
|
cp config_templates/override_config.ini atmosphere-$(AMSVER)/atmosphere/config_templates/override_config.ini
|
||||||
cp config_templates/system_settings.ini atmosphere-$(AMSVER)/atmosphere/config_templates/system_settings.ini
|
cp config_templates/system_settings.ini atmosphere-$(AMSVER)/atmosphere/config_templates/system_settings.ini
|
||||||
cp config_templates/exosphere.ini atmosphere-$(AMSVER)/atmosphere/config_templates/exosphere.ini
|
cp config_templates/exosphere.ini atmosphere-$(AMSVER)/atmosphere/config_templates/exosphere.ini
|
||||||
|
|||||||
@@ -1,4 +1,17 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
## 0.16.2
|
||||||
|
+ Atmosphère release zips no longer bundle BCT.ini, instead relying on defaults in code.
|
||||||
|
+ This means atmosphere updates should no longer overwrite any user configuration at all.
|
||||||
|
+ If you wish to modify BCT.ini config, copy the template from /config_templates/ as with other configuration.
|
||||||
|
+ `pgl` and `creport` were further updated to reflect differences in official behavior in 11.0.0.
|
||||||
|
+ An issue was fixed that caused creport to be launched multiple times on process crash.
|
||||||
|
+ This fixes the "duplicate reports" issue that sometimes plagued people.
|
||||||
|
+ A new system setting (`atmosphere!enable_am_debug_mode`) configuring am to use debug mode.
|
||||||
|
+ If you are not a developer or don't see a clear use for this, leave it configured to the default (off).
|
||||||
|
+ Reboot to payload NRO was updated to fix support with certain payloads.
|
||||||
|
+ Support was fixed for atmosphere's extension to support homebrew use of new (8.0.0+) kernel mappings.
|
||||||
|
+ In particular, when running tracing debug builds of `mesosphère`, hbloader now has access to the kernel trace buffer.
|
||||||
|
+ Several issues were fixed, and usability and stability were improved.
|
||||||
## 0.16.1
|
## 0.16.1
|
||||||
+ Support was added for 11.0.1.
|
+ Support was added for 11.0.1.
|
||||||
+ `mesosphère` was updated to reflect the latest official kernel behavior.
|
+ `mesosphère` was updated to reflect the latest official kernel behavior.
|
||||||
@@ -7,7 +20,7 @@
|
|||||||
+ `fs` logic was refactored and cleaned up to reflect some newer sysmodule behavioral and structural changes.
|
+ `fs` logic was refactored and cleaned up to reflect some newer sysmodule behavioral and structural changes.
|
||||||
+ `exosphère` was updated to allow dynamic control of what uart port is used for logging.
|
+ `exosphère` was updated to allow dynamic control of what uart port is used for logging.
|
||||||
+ This can be controlled by editing the `log_port`, `log_baud_rate`, and `log_inverted` fields in `exosphere.ini`.
|
+ This can be controlled by editing the `log_port`, `log_baud_rate`, and `log_inverted` fields in `exosphere.ini`.
|
||||||
+ `mesosphère` was updated to improve debugging capabilities ().
|
+ `mesosphère` was updated to improve debugging capabilities.
|
||||||
+ This is still a work in progress, but developers may be interested.
|
+ This is still a work in progress, but developers may be interested.
|
||||||
+ A bug was fixed that caused `fatal` to fatal error if the fatal process was already being debugged.
|
+ A bug was fixed that caused `fatal` to fatal error if the fatal process was already being debugged.
|
||||||
+ Several issues were fixed, and usability and stability were improved.
|
+ Several issues were fixed, and usability and stability were improved.
|
||||||
|
|||||||
@@ -37,24 +37,25 @@ static char g_bct0_buffer[BCTO_MAX_SIZE];
|
|||||||
|
|
||||||
#define CONFIG_LOG_LEVEL_KEY "log_level"
|
#define CONFIG_LOG_LEVEL_KEY "log_level"
|
||||||
|
|
||||||
#define DEFAULT_BCT0 \
|
static const char *get_default_bct0(void) {
|
||||||
"BCT0\n"\
|
return "BCT0\n"
|
||||||
"[stage1]\n"\
|
"[stage1]\n"
|
||||||
"stage2_path = atmosphere/fusee-secondary.bin\n"\
|
"stage2_path = atmosphere/fusee-secondary.bin\n"
|
||||||
"stage2_mtc_path = atmosphere/fusee-mtc.bin\n"\
|
"stage2_mtc_path = atmosphere/fusee-mtc.bin\n"
|
||||||
"stage2_addr = 0xF0000000\n"\
|
"stage2_addr = 0xF0000000\n"
|
||||||
"stage2_entrypoint = 0xF0000000\n"\
|
"stage2_entrypoint = 0xF0000000\n"
|
||||||
"[exosphere]\n"\
|
"\n"
|
||||||
"debugmode = 1\n"\
|
"[stratosphere]\n"
|
||||||
"debugmode_user = 0\n"\
|
"\n";
|
||||||
"disable_user_exception_handlers = 0\n"\
|
}
|
||||||
"[stratosphere]\n"
|
|
||||||
|
|
||||||
static const char *load_config(void) {
|
static const char *load_config(void) {
|
||||||
if (!read_from_file(g_bct0_buffer, BCTO_MAX_SIZE, "atmosphere/config/BCT.ini")) {
|
if (!read_from_file(g_bct0_buffer, BCTO_MAX_SIZE, "atmosphere/config/BCT.ini")) {
|
||||||
print(SCREEN_LOG_LEVEL_DEBUG, "Failed to read BCT0 from SD!\n");
|
print(SCREEN_LOG_LEVEL_DEBUG, "Failed to read BCT0 from SD!\n");
|
||||||
print(SCREEN_LOG_LEVEL_DEBUG, "Using default BCT0!\n");
|
print(SCREEN_LOG_LEVEL_DEBUG, "Using default BCT0!\n");
|
||||||
memcpy(g_bct0_buffer, DEFAULT_BCT0, sizeof(DEFAULT_BCT0));
|
|
||||||
|
const char * const default_bct0 = get_default_bct0();
|
||||||
|
memcpy(g_bct0_buffer, default_bct0, strlen(default_bct0));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (memcmp(g_bct0_buffer, "BCT0", 4) != 0) {
|
if (memcmp(g_bct0_buffer, "BCT0", 4) != 0) {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
[subrepo]
|
[subrepo]
|
||||||
remote = https://github.com/Atmosphere-NX/Atmosphere-libs
|
remote = https://github.com/Atmosphere-NX/Atmosphere-libs
|
||||||
branch = master
|
branch = master
|
||||||
commit = 59b4e75021fbaf3fcf4c0e8dd2c07e309e1869d1
|
commit = 886dfaf6d5cf47c06895173721c6c12dfaf0b476
|
||||||
parent = 569e1bc650f8d995b1392772a5b53fd0a05bbf3f
|
parent = 8b61537aa347e0e6495b8c6d71eb62faab0c652a
|
||||||
method = merge
|
method = merge
|
||||||
cmdver = 0.4.1
|
cmdver = 0.4.0
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#define ATMOSPHERE_RELEASE_VERSION_MAJOR 0
|
#define ATMOSPHERE_RELEASE_VERSION_MAJOR 0
|
||||||
#define ATMOSPHERE_RELEASE_VERSION_MINOR 16
|
#define ATMOSPHERE_RELEASE_VERSION_MINOR 16
|
||||||
#define ATMOSPHERE_RELEASE_VERSION_MICRO 1
|
#define ATMOSPHERE_RELEASE_VERSION_MICRO 2
|
||||||
|
|
||||||
#define ATMOSPHERE_RELEASE_VERSION ATMOSPHERE_RELEASE_VERSION_MAJOR, ATMOSPHERE_RELEASE_VERSION_MINOR, ATMOSPHERE_RELEASE_VERSION_MICRO
|
#define ATMOSPHERE_RELEASE_VERSION ATMOSPHERE_RELEASE_VERSION_MAJOR, ATMOSPHERE_RELEASE_VERSION_MINOR, ATMOSPHERE_RELEASE_VERSION_MICRO
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||||
;
|
;
|
||||||
[subrepo]
|
[subrepo]
|
||||||
remote = https://github.com/Adubbz/nanovg-deko.git
|
remote = https://github.com/Adubbz/nanovg-deko3d.git
|
||||||
branch = master
|
branch = master
|
||||||
commit = c197ba2f0d1fe2c70e2d49c61f16b4063aef569e
|
commit = a8c9778aff08420b5b4af7b54bef5d4f3b5ac568
|
||||||
parent = 171d97e0ac2eaf1bca1c48727404fec45621f1fd
|
parent = 797e3651d5e425231dd7f252489338e38872b116
|
||||||
method = merge
|
method = merge
|
||||||
cmdver = 0.4.1
|
cmdver = 0.4.3
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ constexpr void CApplication::chooseFramebufferSize(uint32_t& width, uint32_t& he
|
|||||||
width = 1280;
|
width = 1280;
|
||||||
height = 720;
|
height = 720;
|
||||||
break;
|
break;
|
||||||
case AppletOperationMode_Docked:
|
case AppletOperationMode_Console:
|
||||||
width = 1920;
|
width = 1920;
|
||||||
height = 1080;
|
height = 1080;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ void CApplication::run()
|
|||||||
{
|
{
|
||||||
u64 tick_ref = armGetSystemTick();
|
u64 tick_ref = armGetSystemTick();
|
||||||
u64 tick_saved = tick_ref;
|
u64 tick_saved = tick_ref;
|
||||||
bool focused = appletGetFocusState() == AppletFocusState_Focused;
|
bool focused = appletGetFocusState() == AppletFocusState_InFocus;
|
||||||
|
|
||||||
onOperationMode(appletGetOperationMode());
|
onOperationMode(appletGetOperationMode());
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ void CApplication::run()
|
|||||||
{
|
{
|
||||||
bool old_focused = focused;
|
bool old_focused = focused;
|
||||||
AppletFocusState state = appletGetFocusState();
|
AppletFocusState state = appletGetFocusState();
|
||||||
focused = state == AppletFocusState_Focused;
|
focused = state == AppletFocusState_InFocus;
|
||||||
|
|
||||||
onFocusState(state);
|
onFocusState(state);
|
||||||
if (focused == old_focused)
|
if (focused == old_focused)
|
||||||
|
|||||||
Reference in New Issue
Block a user