mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-25 05:40:22 +00:00
Rename sysmodule to mc.mitm
This commit is contained in:
parent
d0eae50db4
commit
00783a6cbc
77 changed files with 22 additions and 21 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -3,7 +3,7 @@
|
||||||
.patches/
|
.patches/
|
||||||
tests/
|
tests/
|
||||||
dist/
|
dist/
|
||||||
bluetooth-mitm/build/
|
mc_mitm/build/
|
||||||
*.log
|
*.log
|
||||||
*.elf
|
*.elf
|
||||||
*.nro
|
*.nro
|
||||||
|
@ -16,3 +16,4 @@ bluetooth-mitm/build/
|
||||||
*.id2
|
*.id2
|
||||||
*.nam
|
*.nam
|
||||||
*.til
|
*.til
|
||||||
|
*.orig
|
||||||
|
|
22
Makefile
22
Makefile
|
@ -1,29 +1,29 @@
|
||||||
PROJECT_NAME := MissionControl
|
PROJECT_NAME := MissionControl
|
||||||
BLUETOOTH_MITM_TID := 010000000000bd00
|
MC_MITM_TID := 010000000000bd00
|
||||||
|
|
||||||
TARGETS := bluetooth-mitm
|
TARGETS := mc_mitm
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
bluetooth-mitm:
|
mc_mitm:
|
||||||
$(MAKE) -C $@
|
$(MAKE) -C $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C bluetooth-mitm clean
|
$(MAKE) -C mc_mitm clean
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
|
|
||||||
dist: all
|
dist: all
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
|
|
||||||
mkdir -p dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)
|
mkdir -p dist/atmosphere/contents/$(MC_MITM_TID)
|
||||||
cp bluetooth-mitm/bluetooth-mitm.nsp dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/exefs.nsp
|
cp mc_mitm/mc_mitm.nsp dist/atmosphere/contents/$(MC_MITM_TID)/exefs.nsp
|
||||||
echo "btdrv" >> dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/mitm.lst
|
echo "btdrv" >> dist/atmosphere/contents/$(MC_MITM_TID)/mitm.lst
|
||||||
echo "btm" >> dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/mitm.lst
|
echo "btm" >> dist/atmosphere/contents/$(MC_MITM_TID)/mitm.lst
|
||||||
|
|
||||||
mkdir -p dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/flags
|
mkdir -p dist/atmosphere/contents/$(MC_MITM_TID)/flags
|
||||||
touch dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/flags/boot2.flag
|
touch dist/atmosphere/contents/$(MC_MITM_TID)/flags/boot2.flag
|
||||||
|
|
||||||
cp bluetooth-mitm/toolbox.json dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/toolbox.json
|
cp mc_mitm/toolbox.json dist/atmosphere/contents/$(MC_MITM_TID)/toolbox.json
|
||||||
|
|
||||||
cp -r exefs_patches dist/atmosphere/
|
cp -r exefs_patches dist/atmosphere/
|
||||||
|
|
||||||
|
|
2
libnx
2
libnx
|
@ -1 +1 @@
|
||||||
Subproject commit be5801d3d67bc6e823e5d5a8e2582ed9e4f0ec22
|
Subproject commit e459452c4fed227fd1165ac11ca40d3de27e4e7d
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "bluetooth.mitm",
|
"name": "mc.mitm",
|
||||||
"title_id": "0x010000000000bd00",
|
"title_id": "0x010000000000bd00",
|
||||||
"title_id_range_min": "0x010000000000bd00",
|
"title_id_range_min": "0x010000000000bd00",
|
||||||
"title_id_range_max": "0x010000000000bd00",
|
"title_id_range_max": "0x010000000000bd00",
|
||||||
"main_thread_stack_size": "0x1000",
|
"main_thread_stack_size": "0x1000",
|
||||||
"main_thread_priority": 42,
|
"main_thread_priority": 42,
|
||||||
"default_cpu_id": 3,
|
"default_cpu_id": 3,
|
|
@ -17,7 +17,7 @@
|
||||||
#include "bluetooth_circular_buffer.hpp"
|
#include "bluetooth_circular_buffer.hpp"
|
||||||
#include "../btdrv_shim.h"
|
#include "../btdrv_shim.h"
|
||||||
#include "../btdrv_mitm_flags.hpp"
|
#include "../btdrv_mitm_flags.hpp"
|
||||||
#include "../../bluetoothmitm_utils.hpp"
|
#include "../../mcmitm_utils.hpp"
|
||||||
#include "../../controllers/controller_management.hpp"
|
#include "../../controllers/controller_management.hpp"
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <mutex>
|
#include <mutex>
|
|
@ -16,7 +16,7 @@
|
||||||
#include "bluetoothmitm_module.hpp"
|
#include "bluetoothmitm_module.hpp"
|
||||||
#include "btdrv_mitm_service.hpp"
|
#include "btdrv_mitm_service.hpp"
|
||||||
#include "bluetooth/bluetooth_events.hpp"
|
#include "bluetooth/bluetooth_events.hpp"
|
||||||
#include "../bluetoothmitm_utils.hpp"
|
#include "../mcmitm_utils.hpp"
|
||||||
#include <stratosphere.hpp>
|
#include <stratosphere.hpp>
|
||||||
|
|
||||||
namespace ams::mitm::bluetooth {
|
namespace ams::mitm::bluetooth {
|
|
@ -15,7 +15,7 @@
|
||||||
*/
|
*/
|
||||||
#include "btmmitm_module.hpp"
|
#include "btmmitm_module.hpp"
|
||||||
#include "btm_mitm_service.hpp"
|
#include "btm_mitm_service.hpp"
|
||||||
#include "../bluetoothmitm_utils.hpp"
|
#include "../mcmitm_utils.hpp"
|
||||||
#include <stratosphere.hpp>
|
#include <stratosphere.hpp>
|
||||||
|
|
||||||
namespace ams::mitm::btm {
|
namespace ams::mitm::btm {
|
|
@ -13,7 +13,7 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "bluetoothmitm_utils.hpp"
|
#include "mcmitm_utils.hpp"
|
||||||
|
|
||||||
namespace ams::mitm::utils {
|
namespace ams::mitm::utils {
|
||||||
|
|
Loading…
Reference in a new issue