Skip to content

Commit 88a92ae

Browse files
Fix restart() not resetting devices (Fixes #1367)
1 parent 3fdaaaa commit 88a92ae

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ v86.prototype.destroy = function()
8686

8787
v86.prototype.restart = function()
8888
{
89-
this.cpu.reset_cpu();
90-
this.cpu.load_bios();
89+
this.cpu.reboot_internal();
9190
};
9291

9392
v86.prototype.init = function(settings)

0 commit comments

Comments
 (0)