Anonymous
public text v1 · immutable#define SC_UNLOCK ((uint16*)0x09fffffe)
#define SC_MAGIC 0xA55A
#define SC_UNK BIT(14)
#define SC_ALLOW_WRITES BIT(2)
#define SC_SDRAM BIT(0)
if(scsd_is_inserted) {
*SC_UNLOCK = SC_MAGIC;
*SC_UNLOCK = SC_MAGIC;
*SC_UNLOCK = SC_UNK | SC_ALLOW_WRITES | SC_SDRAM
*SC_UNLOCK = SC_UNK | SC_ALLOW_WRITES | SC_SDRAM
}