mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 01:06:50 +02:00
Initial work on homebrew return to loader
This commit is contained in:
13
common/HomebrewBootstub.h
Normal file
13
common/HomebrewBootstub.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#define HOMEBREW_BOOTSTUB_BOOTSIG 0x62757473746F6F62ULL
|
||||
|
||||
struct homebrew_bootstub_t
|
||||
{
|
||||
u64 bootSig;
|
||||
void* arm9Reboot;
|
||||
void* arm7Reboot;
|
||||
u32 bootSize;
|
||||
};
|
||||
|
||||
#define HOMEBREW_BOOTSTUB ((homebrew_bootstub_t*)0x02FF4000)
|
||||
@@ -12,3 +12,4 @@
|
||||
#define IPC_COMMAND_ARM9_DISPLAY_ERROR 0xB
|
||||
#define IPC_COMMAND_ARM9_SWITCH_TO_DS_MODE 0xD
|
||||
#define IPC_COMMAND_ARM9_BOOT 0xF
|
||||
#define IPC_COMMAND_ARM9_APPLY_HOMEBREW_PATCHES 0x10
|
||||
|
||||
Reference in New Issue
Block a user