mirror of
https://github.com/libretro/Mu.git
synced 2026-09-24 15:46:20 +00:00
Add more info about the power button hack
This commit is contained in:
@@ -456,7 +456,7 @@ uint16_t getHwRegister16(uint32_t address){
|
||||
return spi1RxFifoRead();
|
||||
|
||||
case PLLFSR:
|
||||
//this is a hack, it makes the busy wait in HwrDelay finish instantly
|
||||
//this is a hack, it makes the busy wait in HwrDelay finish instantly, prevents issues with the power button
|
||||
registerArrayWrite16(PLLFSR, registerArrayRead16(PLLFSR) ^ 0x8000);
|
||||
return registerArrayRead16(PLLFSR);
|
||||
|
||||
|
||||
@@ -306,7 +306,8 @@ void beginClk32(void){
|
||||
}
|
||||
|
||||
void endClk32(void){
|
||||
registerArrayWrite16(PLLFSR, registerArrayRead16(PLLFSR) ^ 0x8000);
|
||||
//currently using toggle on read hack
|
||||
//registerArrayWrite16(PLLFSR, registerArrayRead16(PLLFSR) ^ 0x8000);
|
||||
|
||||
//second position counter
|
||||
if(clk32Counter >= CRYSTAL_FREQUENCY - 1){
|
||||
|
||||
Reference in New Issue
Block a user