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) { toggleMainLoop(playing) {
if (playing) { this.functions.toggleMainLoop(playing);
this.Module.resumeMainLoop();
} else {
this.Module.pauseMainLoop();
}
} }
getCoreOptions() { getCoreOptions() {
return this.functions.getCoreOptions(); return this.functions.getCoreOptions();

View file

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

View file

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long