mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-28 04:23:36 +01:00
kernel: fix 512-kB RAM check on mono being duped by cache
This was noticed by Sentaro21 and tested by CalcLoverHK on a Slim.
This commit is contained in:
parent
47b86b83c8
commit
2ef2c7de27
1 changed files with 3 additions and 3 deletions
|
@ -90,10 +90,10 @@ void hw_detect(void)
|
|||
gint[HWFS] = HWFS_CASIOWIN;
|
||||
}
|
||||
|
||||
/* Detect RAM by checking if 8804'0000 is the same as 8800'0000. */
|
||||
/* Detect RAM by checking if a804'0000 is the same as a800'0000. */
|
||||
|
||||
volatile uint8_t *R4 = (void *)0x88040000;
|
||||
volatile uint8_t *R0 = (void *)0x88000000;
|
||||
volatile uint8_t *R4 = (void *)0xa8040000;
|
||||
volatile uint8_t *R0 = (void *)0xa8000000;
|
||||
|
||||
/* Make backups */
|
||||
uint8_t b0 = *R0;
|
||||
|
|
Loading…
Reference in a new issue