Skip to content

Commit 62a6dd3

Browse files
committed
Cleanup
1 parent 9d1e670 commit 62a6dd3

10 files changed

+14
-19
lines changed

Diff for: advance.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% include_relative _includes/intro.html %}
88

99
Please consult the documentation found on the wiki:<br>
10-
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#2---advance-config-page" target=_blank>2 - Advance config page</a><br><br>
10+
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#2---advance-config-page" target="_blank">2 - Advance config page</a><br><br>
1111

1212
<div id="divBtConn">
1313
<button id="btConn">Connect BlueRetro</button><br>

Diff for: advance.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function initGlobalCfg() {
4242

4343
divGlobalCfg.appendChild(header);
4444

45-
divGlobalCfg.innerHTML += '<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#22---global-config" target=_blank>Wiki doc for Global config</a><br><br>'
45+
divGlobalCfg.innerHTML += '<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#22---global-config" target="_blank">Wiki doc for Global config</a><br><br>'
4646

4747
var div = document.createElement("div");
4848

@@ -161,7 +161,7 @@ function initOutputSelect() {
161161

162162
divOutputCfg.appendChild(header);
163163

164-
divOutputCfg.innerHTML += '<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#23---output-config" target=_blank>Wiki doc for Output config</a><br><br>'
164+
divOutputCfg.innerHTML += '<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#23---output-config" target="_blank">Wiki doc for Output config</a><br><br>'
165165

166166
var div = document.createElement("div");
167167

@@ -275,7 +275,7 @@ function initInputSelect() {
275275

276276
divInputCfg.appendChild(header);
277277

278-
divInputCfg.innerHTML += '<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#24---mapping-config" target=_blank>Wiki doc for Mapping config</a><br><br>'
278+
divInputCfg.innerHTML += '<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#24---mapping-config" target="_blank">Wiki doc for Mapping config</a><br><br>'
279279

280280
var div = document.createElement("div");
281281
div.setAttribute("style", "margin-bottom:1em;");
@@ -1070,7 +1070,7 @@ function initCfgSelection() {
10701070

10711071
divCfgSel.appendChild(header);
10721072

1073-
divCfgSel.innerHTML += '<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#21---config-selection" target=_blank>Wiki doc for Config Selection</a><br><br>'
1073+
divCfgSel.innerHTML += '<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#21---config-selection" target="_blank">Wiki doc for Config Selection</a><br><br>'
10741074

10751075
cfgBtn.id = "cfgSw";
10761076

Diff for: dc_vmu.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% include_relative _includes/intro.html %}
88

99
Please consult the documentation found on the wiki:<br>
10-
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#7---dc-vmu-manager-page" target=_blank>8 - DC VMU manager page</a><br><br>
10+
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#72---dc-vmu-manager-page" target="_blank">7.2 - DC VMU manager page</a><br><br>
1111

1212
<!-- Base on https://www.html5rocks.com/en/tutorials/file/dndfiles// -->
1313
<div id="divBtConn">
@@ -29,7 +29,7 @@
2929
{% include output_helper.html %}
3030

3131
<script type="module">
32-
import { btConn, pakRead, pakWrite, pakFormat, abortFileTransfer } from './dc_vmu.js';
32+
import { btConn, pakRead, pakWrite, abortFileTransfer } from './dc_vmu.js';
3333

3434
document.getElementById("btnPakRead").addEventListener('click', pakRead);
3535
document.getElementById("btnPakWrite").addEventListener('click', pakWrite);

Diff for: dc_vmu.js

-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { getAppVersion } from './utils/getAppVersion.js';
77
import { getBdAddr } from './utils/getBdAddr.js';
88
import { dcWriteFile } from './utils/dcWriteFile.js';
99
import { dcReadFile } from './utils/dcReadFile.js';
10-
import { makeFormattedPak } from './utils/makeFormattedPak.js'
1110

1211
var bluetoothDevice;
1312
let brService = null;
@@ -94,10 +93,6 @@ export function pakWrite(evt) {
9493
reader.readAsArrayBuffer(document.getElementById("pakFile").files[0]);
9594
}
9695

97-
export function pakFormat(evt) {
98-
writeFile(makeFormattedPak().buffer);
99-
}
100-
10196
function readFile() {
10297
return new Promise(function(resolve, reject) {
10398
document.getElementById('progress_bar').className = 'loading';

Diff for: files.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% include_relative _includes/intro.html %}
88

99
Please consult the documentation found on the wiki:<br>
10-
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#6---files-manager-page" target=_blank>6 - Files Manager page</a><br><br>
10+
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#6---files-manager-page" target="_blank">6 - Files Manager page</a><br><br>
1111

1212
<!-- Base on https://www.html5rocks.com/en/tutorials/file/dndfiles// -->
1313
<div id="divBtConn">

Diff for: index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
---
66

77
Please consult the documentation found on the wiki:<br>
8-
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual" target=_blank>BlueRetro BLE Web Config User Manual</a><br><br>
8+
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual" target="_blank">BlueRetro BLE Web Config User Manual</a><br><br>
99

1010
<p><a href="advance.html">BlueRetro Advance config</a></p>
1111
<p><a href="presets.html">BlueRetro Presets config</a></p>

Diff for: n64_ctrlpak.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% include_relative _includes/intro.html %}
88

99
Please consult the documentation found on the wiki:<br>
10-
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#7---n64-controller-pak-manager-page" target=_blank>7 - N64 controller pak manager page</a><br><br>
10+
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#71---n64-controller-pak-manager-page" target="_blank">7.1 - N64 controller pak manager page</a><br><br>
1111

1212
<!-- Base on https://www.html5rocks.com/en/tutorials/file/dndfiles// -->
1313
<div id="divBtConn">
@@ -28,7 +28,7 @@
2828
<button id="btnPakWrite">Write</button>
2929
Select .MPK file to write:
3030
<input type="file" id="pakFile"/><br><br>
31-
Use <a href=https://bryc.github.io/mempak target=_blank>https://bryc.github.io/mempak</a> (by <a href=https://github.com/bryc target=_blank>bryc</a>) to manage content of .MPK files.
31+
Use <a href=https://bryc.github.io/mempak target="_blank">https://bryc.github.io/mempak</a> (by <a href=https://github.com/bryc target="_blank">bryc</a>) to manage content of .MPK files.
3232
</div>
3333
<div id="divFileTransfer" style="display:none;margin-bottom:1em;">
3434
<div id="progress_bar"><div class="percent"></div></div>

Diff for: ota.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% include_relative _includes/intro.html %}
88

99
Please consult the documentation found on the wiki:<br>
10-
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#5---ota-fw-update-page" target=_blank>5 - OTA FW update page</a><br><br>
10+
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#5---ota-fw-update-page" target="_blank">5 - OTA FW update page</a><br><br>
1111

1212
<!-- Base on https://www.html5rocks.com/en/tutorials/file/dndfiles// -->
1313
<div id="divBtConn">

Diff for: presets.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% include_relative _includes/intro.html %}
88

99
Please consult the documentation found on the wiki:<br>
10-
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#3---presets-page" target=_blank>3 - Presets page</a><br><br>
10+
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#3---presets-page" target="_blank">3 - Presets page</a><br><br>
1111

1212
<div id="divBtConn">
1313
<button id="btConn">Connect BlueRetro</button><br>

Diff for: system.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% include_relative _includes/intro.html %}
88

99
Please consult the documentation found on the wiki:<br>
10-
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#4---system-manager-page" target=_blank>4 - System manager page</a><br><br>
10+
<a href="https://github.com/darthcloud/BlueRetro/wiki/BlueRetro-BLE-Web-Config-User-Manual#4---system-manager-page" target="_blank">4 - System manager page</a><br><br>
1111

1212
<!-- Base on https://www.html5rocks.com/en/tutorials/file/dndfiles// -->
1313
<div id="divBtConn">

0 commit comments

Comments
 (0)