Skip to content

Commit

Permalink
Merge branch 'feature-upgrade-emulatorjs'
Browse files Browse the repository at this point in the history
# Conflicts:
#	go.mod
#	go.sum
  • Loading branch information
n-at committed Aug 15, 2024
2 parents d244a51 + 217cfe7 commit 1bd3223
Show file tree
Hide file tree
Showing 10 changed files with 145 additions and 70 deletions.
1 change: 1 addition & 0 deletions assets/l10n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@
"settings-platform.ui.button.screenshot": "Screenshot",
"settings-platform.ui.button.screen-record": "Screen record",
"settings-platform.ui.button.cache-manager": "Cache manager",
"settings-platform.ui.button.exit-emulation": "Exit emulation",
"settings-platform.controls.title": "Controls",
"settings-platform.controls.keyboard.header": "Keyboard for player",
"settings-platform.controls.keyboard.close.title": "Close",
Expand Down
1 change: 1 addition & 0 deletions assets/l10n/ru_RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@
"settings-platform.ui.button.screenshot": "Снимок экрана",
"settings-platform.ui.button.screen-record": "Запись экрана",
"settings-platform.ui.button.cache-manager": "Управление кешем",
"settings-platform.ui.button.exit-emulation": "Выйти из эмуляции",
"settings-platform.controls.title": "Управление",
"settings-platform.controls.keyboard.header": "Клавиатура для игрока",
"settings-platform.controls.keyboard.close.title": "Закрыть",
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ require (
github.com/labstack/echo/v4 v4.12.0
github.com/sirupsen/logrus v1.9.3
github.com/timshannon/bolthold v0.0.0-20240314194003-30aac6950928
golang.org/x/crypto v0.25.0
nhooyr.io/websocket v1.8.11
golang.org/x/crypto v0.26.0
nhooyr.io/websocket v1.8.17
)

require (
Expand All @@ -20,8 +20,8 @@ require (
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
go.etcd.io/bbolt v1.3.10 // indirect
golang.org/x/net v0.27.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/time v0.6.0 // indirect
)
16 changes: 10 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI=
golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM=
golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30=
golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M=
golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw=
golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54=
golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4=
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc=
Expand All @@ -74,8 +74,8 @@ golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys=
golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE=
golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE=
golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Expand All @@ -91,14 +91,16 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM=
golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg=
golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc=
golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk=
golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U=
Expand All @@ -113,3 +115,5 @@ nhooyr.io/websocket v1.8.10 h1:mv4p+MnGrLDcPlBoWsvPP7XCzTYMXP9F9eIGoKbgx7Q=
nhooyr.io/websocket v1.8.10/go.mod h1:rN9OFWIUwuxg4fR5tELlYC04bXYowCP9GX47ivo2l+c=
nhooyr.io/websocket v1.8.11 h1:f/qXNc2/3DpoSZkHt1DQu6rj4zGC8JmkkLkWss0MgN0=
nhooyr.io/websocket v1.8.11/go.mod h1:rN9OFWIUwuxg4fR5tELlYC04bXYowCP9GX47ivo2l+c=
nhooyr.io/websocket v1.8.17 h1:KEVeLJkUywCKVsnLIDlD/5gtayKp8VoCkksHCGGfT9Y=
nhooyr.io/websocket v1.8.17/go.mod h1:rN9OFWIUwuxg4fR5tELlYC04bXYowCP9GX47ivo2l+c=
66 changes: 64 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

PLAYTIME_EJS_REPO_URL=${PLAYTIME_EJS_REPO_URL:-"https://github.com/EmulatorJS/EmulatorJS"}
PLAYTIME_EJS_REVISION=${PLAYTIME_EJS_REVISION:-"e8c774c74887cd8eaa17eb93e750793ad24339eb"}
PLAYTIME_EJS_REVISION=${PLAYTIME_EJS_REVISION:-"83768b6804a37c0e814c13321db382ded9818dfa"}
PLAYTIME_EJS_CORES_URL=${PLAYTIME_EJS_CORES_URL:-"https://cdn.emulatorjs.org/nightly/data/cores"}

#
Expand All @@ -27,6 +27,10 @@ rm -rf _tmp
cd emulatorjs
mkdir cores
cd cores
wget "${PLAYTIME_EJS_CORES_URL}/81-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/81-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/81-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/81-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/a5200-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/a5200-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/a5200-thread-wasm.data"
Expand All @@ -35,6 +39,14 @@ wget "${PLAYTIME_EJS_CORES_URL}/beetle_vb-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/beetle_vb-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/beetle_vb-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/beetle_vb-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/cap32-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/cap32-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/cap32-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/cap32-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/crocods-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/crocods-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/crocods-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/crocods-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume-thread-wasm.data"
Expand Down Expand Up @@ -135,6 +147,10 @@ wget "${PLAYTIME_EJS_CORES_URL}/picodrive-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/picodrive-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/picodrive-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/picodrive-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prboom-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prboom-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prboom-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prboom-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prosystem-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prosystem-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prosystem-thread-wasm.data"
Expand Down Expand Up @@ -187,7 +203,53 @@ wget "${PLAYTIME_EJS_CORES_URL}/yabause-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/yabause-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/yabause-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/yabause-wasm.data"
cd ../..
mkdir reports && cd reports
wget "${PLAYTIME_EJS_CORES_URL}/reports/81.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/a5200.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/beetle_vb.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/cap32.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/crocods.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/desmume.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/desmume2015.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/fbalpha2012_cps1.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/fbalpha2012_cps2.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/fbneo.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/fceumm.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/fuse.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/gambatte.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/gearcoleco.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/genesis_plus_gx.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/handy.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mame2003_plus.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mame2003.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mednafen_ngp.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mednafen_pce.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mednafen_pcfx.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mednafen_psx_hw.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mednafen_wswan.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/melonds.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mgba.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mupen64plus_next.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/nestopia.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/opera.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/parallel_n64.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/pcsx_rearmed.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/picodrive.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/prboom.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/prosystem.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/puae.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/smsplus.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/snes9x.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/stella2014.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_x128.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_x64.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_x64sc.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_xpet.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_xplus4.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_xvic.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/virtualjaguar.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/yabause.json"
cd ../../..

#download BIOS

Expand Down
39 changes: 20 additions & 19 deletions storage/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -851,25 +851,26 @@ var (
}

DefaultButtons = EmulatorButtons{
PlayPause: true,
Restart: true,
Mute: true,
FullScreen: true,
Volume: true,
Screenshot: true,
ScreenRecord: true,
SaveState: false,
LoadState: false,
QuickSave: false, //only to save in browser
QuickLoad: false, //only to save in browser
Settings: false, //managed in emulation settings
Gamepad: false, //managed in emulation settings
Cheat: false, //not implemented in playtime
SaveSavFiles: false,
LoadSavFiles: false,
CacheManager: false, //managed in emulation settings
ContextMenu: false,
RightClick: true,
PlayPause: true,
Restart: true,
Mute: true,
FullScreen: true,
Volume: true,
Screenshot: true,
ScreenRecord: true,
SaveState: false,
LoadState: false,
QuickSave: false, //only to save in browser
QuickLoad: false, //only to save in browser
Settings: false, //managed in emulation settings
Gamepad: false, //managed in emulation settings
Cheat: false, //not implemented in playtime
SaveSavFiles: false,
LoadSavFiles: false,
CacheManager: false, //managed in emulation settings
ContextMenu: false,
RightClick: true,
ExitEmulation: false,
}
)

Expand Down
39 changes: 20 additions & 19 deletions storage/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,25 +132,26 @@ type EmulatorControlsMapping struct {
}

type EmulatorButtons struct {
PlayPause bool
Restart bool
Mute bool
Settings bool
FullScreen bool
SaveState bool
LoadState bool
ScreenRecord bool
Gamepad bool
Cheat bool
Volume bool
SaveSavFiles bool
LoadSavFiles bool
QuickSave bool
QuickLoad bool
Screenshot bool
CacheManager bool
ContextMenu bool
RightClick bool
PlayPause bool
Restart bool
Mute bool
Settings bool
FullScreen bool
SaveState bool
LoadState bool
ScreenRecord bool
Gamepad bool
Cheat bool
Volume bool
SaveSavFiles bool
LoadSavFiles bool
QuickSave bool
QuickLoad bool
Screenshot bool
CacheManager bool
ContextMenu bool
RightClick bool
ExitEmulation bool
}

///////////////////////////////////////////////////////////////////////////////
Expand Down
3 changes: 3 additions & 0 deletions templates/includes/platform_settings/ui.twig
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
<div class="col-sm-4 col-lg-3 mb-2">
{% include "emulator_buttons_button.twig" with btn_id="cache-manager" btn_title=loc("settings-platform.ui.button.cache-manager") btn_value=settings.Buttons.CacheManager %}
</div>
<div class="col-sm-4 col-lg-3 mb-2">
{% include "emulator_buttons_button.twig" with btn_id="exit-emulation" btn_title=loc("settings-platform.ui.button.exit-emulation") btn_value=settings.Buttons.ExitEmulation %}
</div>
</div>
</div>
</div>
1 change: 1 addition & 0 deletions templates/includes/play_buttons.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
cacheManager: {{ emulator_settings.Buttons.CacheManager | lower }},
contextMenuButton: {{ emulator_settings.Buttons.ContextMenu | lower }},
rightClick: {{ emulator_settings.Buttons.RightClick | lower }},
exitEmulation: {{ emulator_settings.Buttons.ExitEmulation | lower }},
};
</script>
39 changes: 20 additions & 19 deletions web/handlers_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,25 +158,26 @@ func settingsCollectFormData(c echo.Context) storage.EmulatorSettings {
}

buttons := storage.EmulatorButtons{
PlayPause: c.FormValue("button-play-pause") == "1",
Restart: c.FormValue("button-restart") == "1",
Mute: c.FormValue("button-mute") == "1",
Settings: c.FormValue("button-settings") == "1",
FullScreen: c.FormValue("button-full-screen") == "1",
SaveState: c.FormValue("button-save-state") == "1",
LoadState: c.FormValue("button-load-state") == "1",
ScreenRecord: c.FormValue("button-screen-record") == "1",
Gamepad: c.FormValue("button-gamepad") == "1",
Cheat: c.FormValue("button-cheat") == "1",
Volume: c.FormValue("button-volume") == "1",
SaveSavFiles: c.FormValue("button-save-sav-files") == "1",
LoadSavFiles: c.FormValue("button-load-sav-files") == "1",
QuickSave: c.FormValue("button-quick-save") == "1",
QuickLoad: c.FormValue("button-quick-load") == "1",
Screenshot: c.FormValue("button-screenshot") == "1",
CacheManager: c.FormValue("button-cache-manager") == "1",
ContextMenu: c.FormValue("button-context-menu") == "1",
RightClick: c.FormValue("button-right-click") == "1",
PlayPause: c.FormValue("button-play-pause") == "1",
Restart: c.FormValue("button-restart") == "1",
Mute: c.FormValue("button-mute") == "1",
Settings: c.FormValue("button-settings") == "1",
FullScreen: c.FormValue("button-full-screen") == "1",
SaveState: c.FormValue("button-save-state") == "1",
LoadState: c.FormValue("button-load-state") == "1",
ScreenRecord: c.FormValue("button-screen-record") == "1",
Gamepad: c.FormValue("button-gamepad") == "1",
Cheat: c.FormValue("button-cheat") == "1",
Volume: c.FormValue("button-volume") == "1",
SaveSavFiles: c.FormValue("button-save-sav-files") == "1",
LoadSavFiles: c.FormValue("button-load-sav-files") == "1",
QuickSave: c.FormValue("button-quick-save") == "1",
QuickLoad: c.FormValue("button-quick-load") == "1",
Screenshot: c.FormValue("button-screenshot") == "1",
CacheManager: c.FormValue("button-cache-manager") == "1",
ContextMenu: c.FormValue("button-context-menu") == "1",
RightClick: c.FormValue("button-right-click") == "1",
ExitEmulation: c.FormValue("button-exit-emulation") == "1",
}

shader := c.FormValue("shader")
Expand Down

0 comments on commit 1bd3223

Please sign in to comment.