update webretro to v6.2

This commit is contained in:
BinBashBanana 2021-05-19 16:58:20 -07:00
parent fc4c2cfc9c
commit 1f9d3a8aad
6 changed files with 213 additions and 134 deletions

View file

@ -58,79 +58,6 @@ body {
image-rendering: pixelated;
}
.window {
resize: both;
overflow: hidden;
position: absolute;
border: 2px solid darkgrey;
margin: 0px;
background-color: #DDD;
cursor: default;
min-width: 20px;
min-height: 20px;
padding: 0px;
z-index: 1000;
}
.windowbar {
user-select: none;
width: calc(100% - 4px);
padding: 2px;
height: 16px;
line-height: 16px;
color: black;
background-color: lightblue;
background-image: url("bar.png");
font-size: 12px;
border-bottom: 2px solid darkgrey;
overflow: hidden;
}
.windowicon, .windowtitle, .windowclose {
display: inline-block;
}
.windowicon {
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width: 16px;
height: 16px;
position: absolute;
top: 2px;
left: 2px;
}
.windowtitle {
position: relative;
}
.windowicon+.windowtitle {
left: 18px;
}
.windowclose {
position: absolute;
top: 2px;
right: 2px;
width: 14px;
height: 14px;
line-height: 14px;
text-align: center;
background-color: tomato;
border: 1px outset lightgray;
}
.windowclose:active {
border-style: inset;
}
.windowcontent {
width: 100%;
height: calc(100% - 22px);
overflow: auto;
}
.console, .consolemarker, .consoleinput {
display: block;
outline: none;
@ -394,10 +321,11 @@ input[type="file"] {
line-height: 15px;
}
#ffd .source span {
#versionindicator {
font-weight: bold;
position: absolute;
right: 5px;
cursor: help;
}
.greyer {
@ -481,3 +409,19 @@ body.paused #resume {
cursor: pointer;
display: none;
}
#updatenotice {
position: absolute;
top: calc(50% + 120px);
left: 50%;
transform: translateX(-50%);
max-height: calc(50% - 140px);
max-width: 400px;
overflow-y: auto;
margin: 0px;
padding: 0px 10px;
color: white;
white-space: pre-wrap;
z-index: 8;
display: none;
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,15 @@
{
"infoVer": 1,
"webretro": 6.2,
"versions": {
"6": {
"changeList": ["replace vba_next with mgba for gb and gbc support", "rebuilt with undo save/load state, toggle menu", "absolute url support for rom query", "canvas mask for pause screen and alerts", "point to menu on first time use", "source overrides included in repository"]
},
"6.1": {
"changeList": ["upload roms via google drive, dropbox, onedrive", "how to cheat", "ctrl+v inside canvas", "SMAS Brick Fix hotfix (md5.js)", "allow roms in zip file (zip.js)", "carrying states (Use indexedDB) + migrate saves to IDB", "upload any rom type detector", "added start button to querystring roms", "dynamic title"]
},
"6.2": {
"changeList": ["choose core by ?system querystring option", "easy embed api", "check for updates feature"]
}
}
}

View file

@ -0,0 +1,77 @@
body {
overflow: hidden;
}
.window {
resize: both;
overflow: hidden;
position: absolute;
border: 2px solid darkgrey;
margin: 0px;
background-color: #DDD;
cursor: default;
min-width: 20px;
min-height: 20px;
padding: 0px;
z-index: 1000;
}
.windowbar {
font-family: sans-serif;
user-select: none;
width: calc(100% - 4px);
padding: 2px;
height: 16px;
line-height: 16px;
color: black;
background-color: lightblue;
background-image: url("bar.png");
font-size: 12px;
border-bottom: 2px solid darkgrey;
overflow: hidden;
}
.windowicon, .windowtitle, .windowclose {
display: inline-block;
}
.windowicon {
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width: 16px;
height: 16px;
position: absolute;
top: 2px;
left: 2px;
}
.windowtitle {
position: relative;
}
.windowicon+.windowtitle {
left: 18px;
}
.windowclose {
position: absolute;
top: 2px;
right: 2px;
width: 14px;
height: 14px;
line-height: 14px;
text-align: center;
background-color: tomato;
border: 1px outset lightgray;
}
.windowclose:active {
border-style: inset;
}
.windowcontent {
width: 100%;
height: calc(100% - 22px);
overflow: auto;
}

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<!-- https://github.com/BinBashBanana/webretro -->
<!-- Source Code: https://github.com/BinBashBanana/webretro -->
<html>
<head>
<!-- HU Querystring fix -->
@ -7,7 +7,8 @@
<meta charset="UTF-8">
<title>webretro</title>
<link rel="stylesheet" href="assets/base.css?v=6.1">
<link rel="stylesheet" href="assets/base.css?v=6.2">
<link rel="stylesheet" href="assets/jswindow.css">
</head>
<body>
<div class="main" id="mainarea">
@ -98,9 +99,10 @@
<a href="https://github.com/libretro" target="_blank">Emulator Source</a>
<a href="info/" target="_blank">Info</a>
<a href="https://emscripten.org" target="_blank">Emscripten</a>
<span>v6.1</span>
<span id="versionindicator"></span>
</div>
</div>
<p id="updatenotice"></p>
<canvas id="canvas" class="texturePixelated"></canvas>
<input type="button" id="startbutton" value="Start">
<div id="canvasmask">
@ -116,8 +118,8 @@
<script type="text/javascript" src="assets/zip-2.2.26.min.js"></script>
<script type="text/javascript" src="assets/md5.min.js"></script>
<script type="text/javascript" src="uauth/uauth.js"></script>
<script type="text/javascript" src="assets/window.js"></script>
<script type="text/javascript" src="assets/jswindow.js"></script>
<script type="text/javascript" src="assets/charToCodeMap.js"></script>
<script type="text/javascript" src="assets/base.js?v=6.1"></script>
<script type="text/javascript" src="assets/base.js?v=6.2"></script>
</body>
</html>