mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-28 20:43:36 +01:00
kernel: do SH3 initialization before context saves
This should be obvious and breaks ctx_save() for the RTC and TMU. Which apparently never came up during testing.
This commit is contained in:
parent
589c25c10c
commit
744d243265
1 changed files with 1 additions and 2 deletions
|
@ -58,9 +58,8 @@ static void drivers_save_and_init(GUNUSED int zero)
|
|||
|
||||
for driver_asc(d)
|
||||
{
|
||||
if(d->ctx_save) d->ctx_save(d->sys_ctx);
|
||||
|
||||
if(isSH3() && d->driver_sh3) d->driver_sh3();
|
||||
if(d->ctx_save) d->ctx_save(d->sys_ctx);
|
||||
if(d->init) d->init();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue