mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-10-28 09:55:52 +01:00
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. |
||
|---|---|---|
| .. | ||
| bpc_mitm | ||
| fs_mitm | ||
| hid_mitm | ||
| ns_mitm | ||
| set_mitm | ||
| amsmitm_debug.cpp | ||
| amsmitm_debug.hpp | ||
| amsmitm_fs_utils.cpp | ||
| amsmitm_fs_utils.hpp | ||
| amsmitm_initialization.cpp | ||
| amsmitm_initialization.hpp | ||
| amsmitm_main.cpp | ||
| amsmitm_module_management.cpp | ||
| amsmitm_module_management.hpp | ||
| amsmitm_module.hpp | ||