Center video at top, hide menu messages

This commit is contained in:
Ethan O'Brien 2023-07-19 14:12:40 -05:00
parent 43294e20d0
commit f4ec26f06b
7 changed files with 20 additions and 8 deletions

View file

@ -1,6 +1,14 @@
# Changes # Changes
# 4.0.1 # 4.0.3
- Remove RetroArch messages
- Center video at top
# 4.0.2 [View Tree](https://github.com/EmulatorJS/EmulatorJS/tree/06fe386e780bb55ef6baa4fbc6addd486bee747a)
- Add link to RetroArch License on about page
- Fix gamepad support for legacy browsers
# 4.0.1 [View Tree](https://github.com/EmulatorJS/EmulatorJS/tree/efbb9dd462ee0e4f2120a6947af312e02fcf657c)
Complete application re-write. Everything changed. Although some changes to note are: Complete application re-write. Everything changed. Although some changes to note are:
- Optimization for smaller screens. - Optimization for smaller screens.
- No more dead code. - No more dead code.
@ -8,6 +16,7 @@ Complete application re-write. Everything changed. Although some changes to note
- Store srm in browser. - Store srm in browser.
- Ability to import/export srm files. - Ability to import/export srm files.
- No more old cores - No more old cores
And much much more was changed... And much much more was changed...
# 3.1.5 [View Tree](https://github.com/EmulatorJS/EmulatorJS/tree/f7fa5d41487a424233b40e903020455606d68fee) # 3.1.5 [View Tree](https://github.com/EmulatorJS/EmulatorJS/tree/f7fa5d41487a424233b40e903020455606d68fee)

View file

@ -58,8 +58,10 @@ class EJS_GameManager {
"screenshot_directory = /\n" + "screenshot_directory = /\n" +
"block_sram_overwrite = false\n" + "block_sram_overwrite = false\n" +
"video_gpu_screenshot = false\n" + "video_gpu_screenshot = false\n" +
"audio_latency = 96\n" + "audio_latency = 64\n" +
"video_top_portrait_viewport = true\n" +
"video_vsync = true\n" + "video_vsync = true\n" +
"video_smooth = false\n" +
"savefile_directory = \"/data/saves\"\n"; "savefile_directory = \"/data/saves\"\n";
} }
initShaders() { initShaders() {

View file

@ -886,6 +886,7 @@
width: 100%; width: 100%;
} }
.ejs_button_style { .ejs_button_style {
margin: 0px;
background: transparent; background: transparent;
border: 0; border: 0;
border-radius: 3px; border-radius: 3px;

View file

@ -1,5 +1,5 @@
class EmulatorJS { class EmulatorJS {
version = 1; //All versions for the core version = 2; //Increase by 1 when cores are updated
getCore(generic) { getCore(generic) {
const core = this.config.system; const core = this.config.system;
//todo: sega32x, TurboGrafs-16 (pce), Wanderswan (ws), ngp, msx //todo: sega32x, TurboGrafs-16 (pce), Wanderswan (ws), ngp, msx
@ -169,8 +169,8 @@ class EmulatorJS {
}) })
} }
constructor(element, config) { constructor(element, config) {
this.ejs_version = "4.0.2"; this.ejs_version = "4.0.3";
this.ejs_num_version = 40.2; this.ejs_num_version = 40.3;
this.debug = (window.EJS_DEBUG_XX === true); this.debug = (window.EJS_DEBUG_XX === true);
if (this.debug || (window.location && ['localhost', '127.0.0.1'].includes(location.hostname))) this.checkForUpdates(); if (this.debug || (window.location && ['localhost', '127.0.0.1'].includes(location.hostname))) this.checkForUpdates();
this.netplay = false; //DO NOT ENABLE UNLESS YOU KNOW WHAT YOU'RE DOING this.netplay = false; //DO NOT ENABLE UNLESS YOU KNOW WHAT YOU'RE DOING

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{ "current_version": 40.2 } { "current_version": 40.3 }