mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-22 18:32:05 +00:00
94ec9ae41b
This was needed to make stratosphere buildable with debugging on. os:: assertions rely on GetCurrentThread() working, and this requires the global os resource manager to be constructed. However, __appInit executes before global constructors. We now require that hos::InitializeForStratosphere() be called before anything else is done. This initializes the os resource manager, sets the hos version for libnx, and may do more things in the future. TODO: Consider replacing __appInit/__appExit with ams:: namespace functions in general, and wrap them so that we guarantee hos::InitializeForStratosphere is called first, and generally ensure a consistent stratosphere environment. |
||
---|---|---|
.. | ||
fatal_ams_logo.inc | ||
fatal_config.cpp | ||
fatal_config.hpp | ||
fatal_debug.cpp | ||
fatal_debug.hpp | ||
fatal_event_manager.cpp | ||
fatal_event_manager.hpp | ||
fatal_font.cpp | ||
fatal_font.hpp | ||
fatal_main.cpp | ||
fatal_repair.cpp | ||
fatal_repair.hpp | ||
fatal_scoped_file.cpp | ||
fatal_scoped_file.hpp | ||
fatal_service.cpp | ||
fatal_service.hpp | ||
fatal_service_for_self.hpp | ||
fatal_task.cpp | ||
fatal_task.hpp | ||
fatal_task_clock.cpp | ||
fatal_task_clock.hpp | ||
fatal_task_error_report.cpp | ||
fatal_task_error_report.hpp | ||
fatal_task_power.cpp | ||
fatal_task_power.hpp | ||
fatal_task_screen.cpp | ||
fatal_task_screen.hpp | ||
fatal_task_sound.cpp | ||
fatal_task_sound.hpp | ||
stb_truetype.h |