Fix pause/play bug

This commit is contained in:
Ethan O'Brien 2023-08-10 14:15:01 -05:00
parent 959d727cd4
commit 715bb86dbd
5 changed files with 7 additions and 14 deletions

View file

@ -253,11 +253,7 @@ class EJS_GameManager {
})
}
toggleMainLoop(playing) {
if (playing) {
this.Module.resumeMainLoop();
} else {
this.Module.pauseMainLoop();
}
this.functions.toggleMainLoop(playing);
}
getCoreOptions() {
return this.functions.getCoreOptions();

View file

@ -251,7 +251,7 @@
.ejs_svg_rotate {
transform: rotate(90deg);
}
@media (max-width: 575px) {
@media (max-width: 574px) {
.ejs_settings_parent::after {
right: 15px;
}
@ -261,9 +261,6 @@
.ejs_settings_leftside::after {
right: 15px;
}
.ejs_settings_center {
right: 0px;
}
.ejs_settings_center::after {
right: 25%;
}
@ -1100,7 +1097,7 @@
border: 0;
}
@media (max-width: 575px) {
@media (max-width: 574px) {
.ejs_volume_parent input[type='range'] {
width: 100%;
}
@ -1117,7 +1114,7 @@
position: relative;
}
/*
@media (max-width: 575px) {
@media (max-width: 574px) {
.ejs_volume_parent {
padding-right: 0px;
}

View file

@ -1,5 +1,5 @@
class EmulatorJS {
version = 5; //Increase by 1 when cores are updated
version = 6; //Increase by 1 when cores are updated
getCore(generic) {
const core = this.config.system;
/*todo:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long