Added resume support for saving/restoring all active timers and IRQs, along with the run/stop state of the CPU
This commit is contained in:
parent
fac5c3c57d
commit
bb24ccaca6
12 changed files with 844 additions and 671 deletions
|
|
@ -361,7 +361,7 @@ class RK11 extends Component {
|
|||
powerUp(data, fRepower)
|
||||
{
|
||||
if (!fRepower) {
|
||||
if (!data || !this.restore) {
|
||||
if (!data) {
|
||||
this.reset();
|
||||
if (this.cmp.fReload) {
|
||||
/*
|
||||
|
|
@ -453,6 +453,8 @@ class RK11 extends Component {
|
|||
/**
|
||||
* saveController()
|
||||
*
|
||||
* TODO: Implement.
|
||||
*
|
||||
* @this {RK11}
|
||||
* @return {Array}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue