Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct MMU {
- unsigned char padding;
- unsigned char mode;
- unsigned char rootpage;
- unsigned char childpage;
- unsigned int childoffset;
- unsigned int rootoffset;
- unsigned int len;
- unsigned char special;
- unsigned char crystal;
- unsigned char sleep;
- } MMU;
- MMU* mmu = (MMU*)0x300;
- void set_clock_multiplier(unsigned char value){
- rb_map_device(0);
- mmu->crystal = 33;
- mmu->crystal = 41;
- mmu->crystal = value;
- //rb_unmap();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement