-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-core-loading.html
More file actions
76 lines (75 loc) · 2.06 KB
/
Copy pathtest-core-loading.html
File metadata and controls
76 lines (75 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Test FCEUX core loading functionality">
<meta property="og:type" content="website">
<meta property="og:title" content="FCEUX Core Loading Test">
<meta property="og:description" content="Test FCEUX core loading functionality">
<link rel="manifest" href="/manifest.webmanifest">
<title>FCEUX Core Loading Test</title>
<style>
body {
margin: 0;
padding: 20px;
background: #000;
color: #fff;
font-family: monospace;
}
#log {
height: 400px;
overflow-y: auto;
background: #111;
padding: 10px;
border: 1px solid #333;
border-radius: 4px;
}
.log-entry {
margin: 2px 0;
font-size: 12px;
}
.log-error {
color: #f44;
}
.log-info {
color: #4f4;
}
.log-debug {
color: #88f;
}
.log-success {
color: #4f4;
font-weight: bold;
}
button {
margin: 5px;
padding: 8px 16px;
background: #333;
color: #fff;
border: 1px solid #555;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background: #444;
}
button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
</style>
</head>
<body>
<h1>FCEUX Core Loading Test</h1>
<div>
<button id="checkCoreBtn">Check Core Availability</button>
<button id="testInitBtn" disabled>Test Core Init</button>
<button id="testLoadRomBtn" disabled>Test Load ROM</button>
</div>
<div id="log"></div>
<!-- Load FCEUX core first -->
<script src="/lib/fceux/fceux-web.js"></script>
<script src="/js/test-core-loading-script.js"></script>
</body>
</html>