@tmustier/pi-nes 0.2.37 → 0.2.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pi-nes
2
2
 
3
- Play NES games in your terminal. A [pi](https://github.com/mariozechner/pi) extension that runs a full NES emulator with Kitty graphics support.
3
+ Play NES games in your terminal. A [Pi](https://pi.dev/) extension that runs a full NES emulator with Kitty graphics support.
4
4
 
5
5
  ![pi-nes demo](assets/demo.gif)
6
6
 
@@ -19,7 +19,7 @@ export interface NesConfig {
19
19
  keybindings: InputMapping;
20
20
  }
21
21
 
22
- const DEFAULT_ROM_DIR = path.join(path.sep, "roms", "nes");
22
+ const DEFAULT_ROM_DIR = path.join(os.homedir(), "roms", "nes");
23
23
 
24
24
  export function getDefaultSaveDir(romDir: string): string {
25
25
  return path.join(romDir, "saves");
@@ -10,7 +10,7 @@ import {
10
10
  type Component,
11
11
  type Focusable,
12
12
  type SelectItem,
13
- getEditorKeybindings,
13
+ getKeybindings,
14
14
  } from "@mariozechner/pi-tui";
15
15
  import type { RomEntry } from "./roms.js";
16
16
 
@@ -62,18 +62,18 @@ class RomSelectorDialog extends Container implements Focusable {
62
62
  }
63
63
 
64
64
  handleInput(data: string): void {
65
- const kb = getEditorKeybindings();
65
+ const kb = getKeybindings();
66
66
  if (
67
- kb.matches(data, "selectUp") ||
68
- kb.matches(data, "selectDown") ||
69
- kb.matches(data, "selectConfirm") ||
70
- kb.matches(data, "selectCancel") ||
71
- kb.matches(data, "pageUp") ||
72
- kb.matches(data, "pageDown")
67
+ kb.matches(data, "tui.select.up") ||
68
+ kb.matches(data, "tui.select.down") ||
69
+ kb.matches(data, "tui.select.confirm") ||
70
+ kb.matches(data, "tui.select.cancel") ||
71
+ kb.matches(data, "tui.select.pageUp") ||
72
+ kb.matches(data, "tui.select.pageDown")
73
73
  ) {
74
74
  if (this.selectList) {
75
75
  this.selectList.handleInput(data);
76
- } else if (kb.matches(data, "selectCancel")) {
76
+ } else if (kb.matches(data, "tui.select.cancel")) {
77
77
  this.onCancel();
78
78
  }
79
79
  this.tui.requestRender();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmustier/pi-nes",
3
- "version": "0.2.37",
3
+ "version": "0.2.39",
4
4
  "description": "NES emulator extension for pi",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -9,6 +9,7 @@
9
9
  "emulator"
10
10
  ],
11
11
  "type": "module",
12
+ "license": "MIT",
12
13
  "repository": {
13
14
  "type": "git",
14
15
  "url": "git+https://github.com/tmustier/pi-nes.git"
@@ -1,221 +0,0 @@
1
- # This file is automatically @generated by Cargo.
2
- # It is not intended for manual editing.
3
- version = 4
4
-
5
- [[package]]
6
- name = "aho-corasick"
7
- version = "1.1.4"
8
- source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
10
- dependencies = [
11
- "memchr",
12
- ]
13
-
14
- [[package]]
15
- name = "bitflags"
16
- version = "2.10.0"
17
- source = "registry+https://github.com/rust-lang/crates.io-index"
18
- checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
19
-
20
- [[package]]
21
- name = "cfg-if"
22
- version = "1.0.4"
23
- source = "registry+https://github.com/rust-lang/crates.io-index"
24
- checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
25
-
26
- [[package]]
27
- name = "convert_case"
28
- version = "0.6.0"
29
- source = "registry+https://github.com/rust-lang/crates.io-index"
30
- checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
31
- dependencies = [
32
- "unicode-segmentation",
33
- ]
34
-
35
- [[package]]
36
- name = "ctor"
37
- version = "0.2.9"
38
- source = "registry+https://github.com/rust-lang/crates.io-index"
39
- checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501"
40
- dependencies = [
41
- "quote",
42
- "syn",
43
- ]
44
-
45
- [[package]]
46
- name = "libc"
47
- version = "0.2.180"
48
- source = "registry+https://github.com/rust-lang/crates.io-index"
49
- checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
50
-
51
- [[package]]
52
- name = "libloading"
53
- version = "0.8.9"
54
- source = "registry+https://github.com/rust-lang/crates.io-index"
55
- checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
56
- dependencies = [
57
- "cfg-if",
58
- "windows-link",
59
- ]
60
-
61
- [[package]]
62
- name = "memchr"
63
- version = "2.7.6"
64
- source = "registry+https://github.com/rust-lang/crates.io-index"
65
- checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
66
-
67
- [[package]]
68
- name = "napi"
69
- version = "2.16.17"
70
- source = "registry+https://github.com/rust-lang/crates.io-index"
71
- checksum = "55740c4ae1d8696773c78fdafd5d0e5fe9bc9f1b071c7ba493ba5c413a9184f3"
72
- dependencies = [
73
- "bitflags",
74
- "ctor",
75
- "napi-derive",
76
- "napi-sys",
77
- "once_cell",
78
- ]
79
-
80
- [[package]]
81
- name = "napi-build"
82
- version = "2.3.1"
83
- source = "registry+https://github.com/rust-lang/crates.io-index"
84
- checksum = "d376940fd5b723c6893cd1ee3f33abbfd86acb1cd1ec079f3ab04a2a3bc4d3b1"
85
-
86
- [[package]]
87
- name = "napi-derive"
88
- version = "2.16.13"
89
- source = "registry+https://github.com/rust-lang/crates.io-index"
90
- checksum = "7cbe2585d8ac223f7d34f13701434b9d5f4eb9c332cccce8dee57ea18ab8ab0c"
91
- dependencies = [
92
- "cfg-if",
93
- "convert_case",
94
- "napi-derive-backend",
95
- "proc-macro2",
96
- "quote",
97
- "syn",
98
- ]
99
-
100
- [[package]]
101
- name = "napi-derive-backend"
102
- version = "1.0.75"
103
- source = "registry+https://github.com/rust-lang/crates.io-index"
104
- checksum = "1639aaa9eeb76e91c6ae66da8ce3e89e921cd3885e99ec85f4abacae72fc91bf"
105
- dependencies = [
106
- "convert_case",
107
- "once_cell",
108
- "proc-macro2",
109
- "quote",
110
- "regex",
111
- "semver",
112
- "syn",
113
- ]
114
-
115
- [[package]]
116
- name = "napi-sys"
117
- version = "2.4.0"
118
- source = "registry+https://github.com/rust-lang/crates.io-index"
119
- checksum = "427802e8ec3a734331fec1035594a210ce1ff4dc5bc1950530920ab717964ea3"
120
- dependencies = [
121
- "libloading",
122
- ]
123
-
124
- [[package]]
125
- name = "once_cell"
126
- version = "1.21.3"
127
- source = "registry+https://github.com/rust-lang/crates.io-index"
128
- checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
129
-
130
- [[package]]
131
- name = "pi_nes_kitty_shm"
132
- version = "0.1.0"
133
- dependencies = [
134
- "libc",
135
- "napi",
136
- "napi-build",
137
- "napi-derive",
138
- "once_cell",
139
- ]
140
-
141
- [[package]]
142
- name = "proc-macro2"
143
- version = "1.0.106"
144
- source = "registry+https://github.com/rust-lang/crates.io-index"
145
- checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
146
- dependencies = [
147
- "unicode-ident",
148
- ]
149
-
150
- [[package]]
151
- name = "quote"
152
- version = "1.0.44"
153
- source = "registry+https://github.com/rust-lang/crates.io-index"
154
- checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
155
- dependencies = [
156
- "proc-macro2",
157
- ]
158
-
159
- [[package]]
160
- name = "regex"
161
- version = "1.12.2"
162
- source = "registry+https://github.com/rust-lang/crates.io-index"
163
- checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4"
164
- dependencies = [
165
- "aho-corasick",
166
- "memchr",
167
- "regex-automata",
168
- "regex-syntax",
169
- ]
170
-
171
- [[package]]
172
- name = "regex-automata"
173
- version = "0.4.13"
174
- source = "registry+https://github.com/rust-lang/crates.io-index"
175
- checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
176
- dependencies = [
177
- "aho-corasick",
178
- "memchr",
179
- "regex-syntax",
180
- ]
181
-
182
- [[package]]
183
- name = "regex-syntax"
184
- version = "0.8.8"
185
- source = "registry+https://github.com/rust-lang/crates.io-index"
186
- checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
187
-
188
- [[package]]
189
- name = "semver"
190
- version = "1.0.27"
191
- source = "registry+https://github.com/rust-lang/crates.io-index"
192
- checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
193
-
194
- [[package]]
195
- name = "syn"
196
- version = "2.0.114"
197
- source = "registry+https://github.com/rust-lang/crates.io-index"
198
- checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
199
- dependencies = [
200
- "proc-macro2",
201
- "quote",
202
- "unicode-ident",
203
- ]
204
-
205
- [[package]]
206
- name = "unicode-ident"
207
- version = "1.0.22"
208
- source = "registry+https://github.com/rust-lang/crates.io-index"
209
- checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
210
-
211
- [[package]]
212
- name = "unicode-segmentation"
213
- version = "1.12.0"
214
- source = "registry+https://github.com/rust-lang/crates.io-index"
215
- checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
216
-
217
- [[package]]
218
- name = "windows-link"
219
- version = "0.2.1"
220
- source = "registry+https://github.com/rust-lang/crates.io-index"
221
- checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
@@ -1,13 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
-
4
- /* auto-generated by NAPI-RS */
5
-
6
- export interface SharedMemoryHandle {
7
- name: string
8
- size: number
9
- buffer: Uint8Array
10
- }
11
- export declare function nativeVersion(): string
12
- export declare function createSharedMemory(size: number): SharedMemoryHandle
13
- export declare function closeSharedMemory(name: string): boolean
@@ -1,1038 +0,0 @@
1
- # This file is automatically @generated by Cargo.
2
- # It is not intended for manual editing.
3
- version = 4
4
-
5
- [[package]]
6
- name = "aho-corasick"
7
- version = "1.1.4"
8
- source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
10
- dependencies = [
11
- "memchr",
12
- ]
13
-
14
- [[package]]
15
- name = "alsa"
16
- version = "0.10.0"
17
- source = "registry+https://github.com/rust-lang/crates.io-index"
18
- checksum = "7c88dbbce13b232b26250e1e2e6ac18b6a891a646b8148285036ebce260ac5c3"
19
- dependencies = [
20
- "alsa-sys",
21
- "bitflags 2.10.0",
22
- "cfg-if",
23
- "libc",
24
- ]
25
-
26
- [[package]]
27
- name = "alsa-sys"
28
- version = "0.3.1"
29
- source = "registry+https://github.com/rust-lang/crates.io-index"
30
- checksum = "db8fee663d06c4e303404ef5f40488a53e062f89ba8bfed81f42325aafad1527"
31
- dependencies = [
32
- "libc",
33
- "pkg-config",
34
- ]
35
-
36
- [[package]]
37
- name = "autocfg"
38
- version = "1.5.0"
39
- source = "registry+https://github.com/rust-lang/crates.io-index"
40
- checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
41
-
42
- [[package]]
43
- name = "bitflags"
44
- version = "1.3.2"
45
- source = "registry+https://github.com/rust-lang/crates.io-index"
46
- checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
47
-
48
- [[package]]
49
- name = "bitflags"
50
- version = "2.10.0"
51
- source = "registry+https://github.com/rust-lang/crates.io-index"
52
- checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
53
-
54
- [[package]]
55
- name = "block2"
56
- version = "0.6.2"
57
- source = "registry+https://github.com/rust-lang/crates.io-index"
58
- checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5"
59
- dependencies = [
60
- "objc2",
61
- ]
62
-
63
- [[package]]
64
- name = "bumpalo"
65
- version = "3.19.1"
66
- source = "registry+https://github.com/rust-lang/crates.io-index"
67
- checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510"
68
-
69
- [[package]]
70
- name = "bytes"
71
- version = "1.11.0"
72
- source = "registry+https://github.com/rust-lang/crates.io-index"
73
- checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3"
74
-
75
- [[package]]
76
- name = "cesu8"
77
- version = "1.1.0"
78
- source = "registry+https://github.com/rust-lang/crates.io-index"
79
- checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
80
-
81
- [[package]]
82
- name = "cfg-if"
83
- version = "1.0.4"
84
- source = "registry+https://github.com/rust-lang/crates.io-index"
85
- checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
86
-
87
- [[package]]
88
- name = "combine"
89
- version = "4.6.7"
90
- source = "registry+https://github.com/rust-lang/crates.io-index"
91
- checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd"
92
- dependencies = [
93
- "bytes",
94
- "memchr",
95
- ]
96
-
97
- [[package]]
98
- name = "convert_case"
99
- version = "0.6.0"
100
- source = "registry+https://github.com/rust-lang/crates.io-index"
101
- checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
102
- dependencies = [
103
- "unicode-segmentation",
104
- ]
105
-
106
- [[package]]
107
- name = "coreaudio-rs"
108
- version = "0.13.0"
109
- source = "registry+https://github.com/rust-lang/crates.io-index"
110
- checksum = "1aae284fbaf7d27aa0e292f7677dfbe26503b0d555026f702940805a630eac17"
111
- dependencies = [
112
- "bitflags 1.3.2",
113
- "libc",
114
- "objc2-audio-toolbox",
115
- "objc2-core-audio",
116
- "objc2-core-audio-types",
117
- "objc2-core-foundation",
118
- ]
119
-
120
- [[package]]
121
- name = "cpal"
122
- version = "0.17.1"
123
- source = "registry+https://github.com/rust-lang/crates.io-index"
124
- checksum = "5b1f9c7312f19fc2fa12fd7acaf38de54e8320ba10d1a02dcbe21038def51ccb"
125
- dependencies = [
126
- "alsa",
127
- "coreaudio-rs",
128
- "dasp_sample",
129
- "jni",
130
- "js-sys",
131
- "libc",
132
- "mach2",
133
- "ndk",
134
- "ndk-context",
135
- "num-derive",
136
- "num-traits",
137
- "objc2",
138
- "objc2-audio-toolbox",
139
- "objc2-avf-audio",
140
- "objc2-core-audio",
141
- "objc2-core-audio-types",
142
- "objc2-core-foundation",
143
- "objc2-foundation",
144
- "wasm-bindgen",
145
- "wasm-bindgen-futures",
146
- "web-sys",
147
- "windows",
148
- ]
149
-
150
- [[package]]
151
- name = "crossbeam-utils"
152
- version = "0.8.21"
153
- source = "registry+https://github.com/rust-lang/crates.io-index"
154
- checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
155
-
156
- [[package]]
157
- name = "ctor"
158
- version = "0.2.9"
159
- source = "registry+https://github.com/rust-lang/crates.io-index"
160
- checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501"
161
- dependencies = [
162
- "quote",
163
- "syn",
164
- ]
165
-
166
- [[package]]
167
- name = "dasp_sample"
168
- version = "0.11.0"
169
- source = "registry+https://github.com/rust-lang/crates.io-index"
170
- checksum = "0c87e182de0887fd5361989c677c4e8f5000cd9491d6d563161a8f3a5519fc7f"
171
-
172
- [[package]]
173
- name = "dispatch2"
174
- version = "0.3.0"
175
- source = "registry+https://github.com/rust-lang/crates.io-index"
176
- checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec"
177
- dependencies = [
178
- "bitflags 2.10.0",
179
- "objc2",
180
- ]
181
-
182
- [[package]]
183
- name = "equivalent"
184
- version = "1.0.2"
185
- source = "registry+https://github.com/rust-lang/crates.io-index"
186
- checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
187
-
188
- [[package]]
189
- name = "futures-core"
190
- version = "0.3.31"
191
- source = "registry+https://github.com/rust-lang/crates.io-index"
192
- checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
193
-
194
- [[package]]
195
- name = "futures-task"
196
- version = "0.3.31"
197
- source = "registry+https://github.com/rust-lang/crates.io-index"
198
- checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
199
-
200
- [[package]]
201
- name = "futures-util"
202
- version = "0.3.31"
203
- source = "registry+https://github.com/rust-lang/crates.io-index"
204
- checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
205
- dependencies = [
206
- "futures-core",
207
- "futures-task",
208
- "pin-project-lite",
209
- "pin-utils",
210
- "slab",
211
- ]
212
-
213
- [[package]]
214
- name = "hashbrown"
215
- version = "0.16.1"
216
- source = "registry+https://github.com/rust-lang/crates.io-index"
217
- checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
218
-
219
- [[package]]
220
- name = "indexmap"
221
- version = "2.13.0"
222
- source = "registry+https://github.com/rust-lang/crates.io-index"
223
- checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017"
224
- dependencies = [
225
- "equivalent",
226
- "hashbrown",
227
- ]
228
-
229
- [[package]]
230
- name = "jni"
231
- version = "0.21.1"
232
- source = "registry+https://github.com/rust-lang/crates.io-index"
233
- checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
234
- dependencies = [
235
- "cesu8",
236
- "cfg-if",
237
- "combine",
238
- "jni-sys",
239
- "log",
240
- "thiserror",
241
- "walkdir",
242
- "windows-sys 0.45.0",
243
- ]
244
-
245
- [[package]]
246
- name = "jni-sys"
247
- version = "0.3.0"
248
- source = "registry+https://github.com/rust-lang/crates.io-index"
249
- checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
250
-
251
- [[package]]
252
- name = "js-sys"
253
- version = "0.3.85"
254
- source = "registry+https://github.com/rust-lang/crates.io-index"
255
- checksum = "8c942ebf8e95485ca0d52d97da7c5a2c387d0e7f0ba4c35e93bfcaee045955b3"
256
- dependencies = [
257
- "once_cell",
258
- "wasm-bindgen",
259
- ]
260
-
261
- [[package]]
262
- name = "libc"
263
- version = "0.2.180"
264
- source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
266
-
267
- [[package]]
268
- name = "libloading"
269
- version = "0.8.9"
270
- source = "registry+https://github.com/rust-lang/crates.io-index"
271
- checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
272
- dependencies = [
273
- "cfg-if",
274
- "windows-link",
275
- ]
276
-
277
- [[package]]
278
- name = "log"
279
- version = "0.4.29"
280
- source = "registry+https://github.com/rust-lang/crates.io-index"
281
- checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
282
-
283
- [[package]]
284
- name = "mach2"
285
- version = "0.5.0"
286
- source = "registry+https://github.com/rust-lang/crates.io-index"
287
- checksum = "6a1b95cd5421ec55b445b5ae102f5ea0e768de1f82bd3001e11f426c269c3aea"
288
- dependencies = [
289
- "libc",
290
- ]
291
-
292
- [[package]]
293
- name = "memchr"
294
- version = "2.7.6"
295
- source = "registry+https://github.com/rust-lang/crates.io-index"
296
- checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
297
-
298
- [[package]]
299
- name = "napi"
300
- version = "2.16.17"
301
- source = "registry+https://github.com/rust-lang/crates.io-index"
302
- checksum = "55740c4ae1d8696773c78fdafd5d0e5fe9bc9f1b071c7ba493ba5c413a9184f3"
303
- dependencies = [
304
- "bitflags 2.10.0",
305
- "ctor",
306
- "napi-derive",
307
- "napi-sys",
308
- "once_cell",
309
- ]
310
-
311
- [[package]]
312
- name = "napi-build"
313
- version = "2.3.1"
314
- source = "registry+https://github.com/rust-lang/crates.io-index"
315
- checksum = "d376940fd5b723c6893cd1ee3f33abbfd86acb1cd1ec079f3ab04a2a3bc4d3b1"
316
-
317
- [[package]]
318
- name = "napi-derive"
319
- version = "2.16.13"
320
- source = "registry+https://github.com/rust-lang/crates.io-index"
321
- checksum = "7cbe2585d8ac223f7d34f13701434b9d5f4eb9c332cccce8dee57ea18ab8ab0c"
322
- dependencies = [
323
- "cfg-if",
324
- "convert_case",
325
- "napi-derive-backend",
326
- "proc-macro2",
327
- "quote",
328
- "syn",
329
- ]
330
-
331
- [[package]]
332
- name = "napi-derive-backend"
333
- version = "1.0.75"
334
- source = "registry+https://github.com/rust-lang/crates.io-index"
335
- checksum = "1639aaa9eeb76e91c6ae66da8ce3e89e921cd3885e99ec85f4abacae72fc91bf"
336
- dependencies = [
337
- "convert_case",
338
- "once_cell",
339
- "proc-macro2",
340
- "quote",
341
- "regex",
342
- "semver",
343
- "syn",
344
- ]
345
-
346
- [[package]]
347
- name = "napi-sys"
348
- version = "2.4.0"
349
- source = "registry+https://github.com/rust-lang/crates.io-index"
350
- checksum = "427802e8ec3a734331fec1035594a210ce1ff4dc5bc1950530920ab717964ea3"
351
- dependencies = [
352
- "libloading",
353
- ]
354
-
355
- [[package]]
356
- name = "ndk"
357
- version = "0.9.0"
358
- source = "registry+https://github.com/rust-lang/crates.io-index"
359
- checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4"
360
- dependencies = [
361
- "bitflags 2.10.0",
362
- "jni-sys",
363
- "log",
364
- "ndk-sys",
365
- "num_enum",
366
- "thiserror",
367
- ]
368
-
369
- [[package]]
370
- name = "ndk-context"
371
- version = "0.1.1"
372
- source = "registry+https://github.com/rust-lang/crates.io-index"
373
- checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
374
-
375
- [[package]]
376
- name = "ndk-sys"
377
- version = "0.6.0+11769913"
378
- source = "registry+https://github.com/rust-lang/crates.io-index"
379
- checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873"
380
- dependencies = [
381
- "jni-sys",
382
- ]
383
-
384
- [[package]]
385
- name = "nes_rust"
386
- version = "0.1.2"
387
-
388
- [[package]]
389
- name = "num-derive"
390
- version = "0.4.2"
391
- source = "registry+https://github.com/rust-lang/crates.io-index"
392
- checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
393
- dependencies = [
394
- "proc-macro2",
395
- "quote",
396
- "syn",
397
- ]
398
-
399
- [[package]]
400
- name = "num-traits"
401
- version = "0.2.19"
402
- source = "registry+https://github.com/rust-lang/crates.io-index"
403
- checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
404
- dependencies = [
405
- "autocfg",
406
- ]
407
-
408
- [[package]]
409
- name = "num_enum"
410
- version = "0.7.5"
411
- source = "registry+https://github.com/rust-lang/crates.io-index"
412
- checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c"
413
- dependencies = [
414
- "num_enum_derive",
415
- "rustversion",
416
- ]
417
-
418
- [[package]]
419
- name = "num_enum_derive"
420
- version = "0.7.5"
421
- source = "registry+https://github.com/rust-lang/crates.io-index"
422
- checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7"
423
- dependencies = [
424
- "proc-macro-crate",
425
- "proc-macro2",
426
- "quote",
427
- "syn",
428
- ]
429
-
430
- [[package]]
431
- name = "objc2"
432
- version = "0.6.3"
433
- source = "registry+https://github.com/rust-lang/crates.io-index"
434
- checksum = "b7c2599ce0ec54857b29ce62166b0ed9b4f6f1a70ccc9a71165b6154caca8c05"
435
- dependencies = [
436
- "objc2-encode",
437
- ]
438
-
439
- [[package]]
440
- name = "objc2-audio-toolbox"
441
- version = "0.3.2"
442
- source = "registry+https://github.com/rust-lang/crates.io-index"
443
- checksum = "6948501a91121d6399b79abaa33a8aa4ea7857fe019f341b8c23ad6e81b79b08"
444
- dependencies = [
445
- "bitflags 2.10.0",
446
- "libc",
447
- "objc2",
448
- "objc2-core-audio",
449
- "objc2-core-audio-types",
450
- "objc2-core-foundation",
451
- "objc2-foundation",
452
- ]
453
-
454
- [[package]]
455
- name = "objc2-avf-audio"
456
- version = "0.3.2"
457
- source = "registry+https://github.com/rust-lang/crates.io-index"
458
- checksum = "13a380031deed8e99db00065c45937da434ca987c034e13b87e4441f9e4090be"
459
- dependencies = [
460
- "objc2",
461
- "objc2-foundation",
462
- ]
463
-
464
- [[package]]
465
- name = "objc2-core-audio"
466
- version = "0.3.2"
467
- source = "registry+https://github.com/rust-lang/crates.io-index"
468
- checksum = "e1eebcea8b0dbff5f7c8504f3107c68fc061a3eb44932051c8cf8a68d969c3b2"
469
- dependencies = [
470
- "dispatch2",
471
- "objc2",
472
- "objc2-core-audio-types",
473
- "objc2-core-foundation",
474
- "objc2-foundation",
475
- ]
476
-
477
- [[package]]
478
- name = "objc2-core-audio-types"
479
- version = "0.3.2"
480
- source = "registry+https://github.com/rust-lang/crates.io-index"
481
- checksum = "5a89f2ec274a0cf4a32642b2991e8b351a404d290da87bb6a9a9d8632490bd1c"
482
- dependencies = [
483
- "bitflags 2.10.0",
484
- "objc2",
485
- ]
486
-
487
- [[package]]
488
- name = "objc2-core-foundation"
489
- version = "0.3.2"
490
- source = "registry+https://github.com/rust-lang/crates.io-index"
491
- checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
492
- dependencies = [
493
- "bitflags 2.10.0",
494
- "block2",
495
- "dispatch2",
496
- "libc",
497
- "objc2",
498
- ]
499
-
500
- [[package]]
501
- name = "objc2-encode"
502
- version = "4.1.0"
503
- source = "registry+https://github.com/rust-lang/crates.io-index"
504
- checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33"
505
-
506
- [[package]]
507
- name = "objc2-foundation"
508
- version = "0.3.2"
509
- source = "registry+https://github.com/rust-lang/crates.io-index"
510
- checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
511
- dependencies = [
512
- "bitflags 2.10.0",
513
- "block2",
514
- "libc",
515
- "objc2",
516
- "objc2-core-foundation",
517
- ]
518
-
519
- [[package]]
520
- name = "once_cell"
521
- version = "1.21.3"
522
- source = "registry+https://github.com/rust-lang/crates.io-index"
523
- checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
524
-
525
- [[package]]
526
- name = "pi_nes_core"
527
- version = "0.1.0"
528
- dependencies = [
529
- "cpal",
530
- "libc",
531
- "napi",
532
- "napi-build",
533
- "napi-derive",
534
- "nes_rust",
535
- "ringbuf",
536
- ]
537
-
538
- [[package]]
539
- name = "pin-project-lite"
540
- version = "0.2.16"
541
- source = "registry+https://github.com/rust-lang/crates.io-index"
542
- checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
543
-
544
- [[package]]
545
- name = "pin-utils"
546
- version = "0.1.0"
547
- source = "registry+https://github.com/rust-lang/crates.io-index"
548
- checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
549
-
550
- [[package]]
551
- name = "pkg-config"
552
- version = "0.3.32"
553
- source = "registry+https://github.com/rust-lang/crates.io-index"
554
- checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
555
-
556
- [[package]]
557
- name = "portable-atomic"
558
- version = "1.13.1"
559
- source = "registry+https://github.com/rust-lang/crates.io-index"
560
- checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
561
-
562
- [[package]]
563
- name = "portable-atomic-util"
564
- version = "0.2.5"
565
- source = "registry+https://github.com/rust-lang/crates.io-index"
566
- checksum = "7a9db96d7fa8782dd8c15ce32ffe8680bbd1e978a43bf51a34d39483540495f5"
567
- dependencies = [
568
- "portable-atomic",
569
- ]
570
-
571
- [[package]]
572
- name = "proc-macro-crate"
573
- version = "3.4.0"
574
- source = "registry+https://github.com/rust-lang/crates.io-index"
575
- checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983"
576
- dependencies = [
577
- "toml_edit",
578
- ]
579
-
580
- [[package]]
581
- name = "proc-macro2"
582
- version = "1.0.106"
583
- source = "registry+https://github.com/rust-lang/crates.io-index"
584
- checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
585
- dependencies = [
586
- "unicode-ident",
587
- ]
588
-
589
- [[package]]
590
- name = "quote"
591
- version = "1.0.44"
592
- source = "registry+https://github.com/rust-lang/crates.io-index"
593
- checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
594
- dependencies = [
595
- "proc-macro2",
596
- ]
597
-
598
- [[package]]
599
- name = "regex"
600
- version = "1.12.2"
601
- source = "registry+https://github.com/rust-lang/crates.io-index"
602
- checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4"
603
- dependencies = [
604
- "aho-corasick",
605
- "memchr",
606
- "regex-automata",
607
- "regex-syntax",
608
- ]
609
-
610
- [[package]]
611
- name = "regex-automata"
612
- version = "0.4.13"
613
- source = "registry+https://github.com/rust-lang/crates.io-index"
614
- checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
615
- dependencies = [
616
- "aho-corasick",
617
- "memchr",
618
- "regex-syntax",
619
- ]
620
-
621
- [[package]]
622
- name = "regex-syntax"
623
- version = "0.8.8"
624
- source = "registry+https://github.com/rust-lang/crates.io-index"
625
- checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
626
-
627
- [[package]]
628
- name = "ringbuf"
629
- version = "0.4.8"
630
- source = "registry+https://github.com/rust-lang/crates.io-index"
631
- checksum = "fe47b720588c8702e34b5979cb3271a8b1842c7cb6f57408efa70c779363488c"
632
- dependencies = [
633
- "crossbeam-utils",
634
- "portable-atomic",
635
- "portable-atomic-util",
636
- ]
637
-
638
- [[package]]
639
- name = "rustversion"
640
- version = "1.0.22"
641
- source = "registry+https://github.com/rust-lang/crates.io-index"
642
- checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
643
-
644
- [[package]]
645
- name = "same-file"
646
- version = "1.0.6"
647
- source = "registry+https://github.com/rust-lang/crates.io-index"
648
- checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
649
- dependencies = [
650
- "winapi-util",
651
- ]
652
-
653
- [[package]]
654
- name = "semver"
655
- version = "1.0.27"
656
- source = "registry+https://github.com/rust-lang/crates.io-index"
657
- checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
658
-
659
- [[package]]
660
- name = "serde_core"
661
- version = "1.0.228"
662
- source = "registry+https://github.com/rust-lang/crates.io-index"
663
- checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
664
- dependencies = [
665
- "serde_derive",
666
- ]
667
-
668
- [[package]]
669
- name = "serde_derive"
670
- version = "1.0.228"
671
- source = "registry+https://github.com/rust-lang/crates.io-index"
672
- checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
673
- dependencies = [
674
- "proc-macro2",
675
- "quote",
676
- "syn",
677
- ]
678
-
679
- [[package]]
680
- name = "slab"
681
- version = "0.4.12"
682
- source = "registry+https://github.com/rust-lang/crates.io-index"
683
- checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
684
-
685
- [[package]]
686
- name = "syn"
687
- version = "2.0.114"
688
- source = "registry+https://github.com/rust-lang/crates.io-index"
689
- checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
690
- dependencies = [
691
- "proc-macro2",
692
- "quote",
693
- "unicode-ident",
694
- ]
695
-
696
- [[package]]
697
- name = "thiserror"
698
- version = "1.0.69"
699
- source = "registry+https://github.com/rust-lang/crates.io-index"
700
- checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
701
- dependencies = [
702
- "thiserror-impl",
703
- ]
704
-
705
- [[package]]
706
- name = "thiserror-impl"
707
- version = "1.0.69"
708
- source = "registry+https://github.com/rust-lang/crates.io-index"
709
- checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
710
- dependencies = [
711
- "proc-macro2",
712
- "quote",
713
- "syn",
714
- ]
715
-
716
- [[package]]
717
- name = "toml_datetime"
718
- version = "0.7.5+spec-1.1.0"
719
- source = "registry+https://github.com/rust-lang/crates.io-index"
720
- checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347"
721
- dependencies = [
722
- "serde_core",
723
- ]
724
-
725
- [[package]]
726
- name = "toml_edit"
727
- version = "0.23.10+spec-1.0.0"
728
- source = "registry+https://github.com/rust-lang/crates.io-index"
729
- checksum = "84c8b9f757e028cee9fa244aea147aab2a9ec09d5325a9b01e0a49730c2b5269"
730
- dependencies = [
731
- "indexmap",
732
- "toml_datetime",
733
- "toml_parser",
734
- "winnow",
735
- ]
736
-
737
- [[package]]
738
- name = "toml_parser"
739
- version = "1.0.6+spec-1.1.0"
740
- source = "registry+https://github.com/rust-lang/crates.io-index"
741
- checksum = "a3198b4b0a8e11f09dd03e133c0280504d0801269e9afa46362ffde1cbeebf44"
742
- dependencies = [
743
- "winnow",
744
- ]
745
-
746
- [[package]]
747
- name = "unicode-ident"
748
- version = "1.0.22"
749
- source = "registry+https://github.com/rust-lang/crates.io-index"
750
- checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
751
-
752
- [[package]]
753
- name = "unicode-segmentation"
754
- version = "1.12.0"
755
- source = "registry+https://github.com/rust-lang/crates.io-index"
756
- checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
757
-
758
- [[package]]
759
- name = "walkdir"
760
- version = "2.5.0"
761
- source = "registry+https://github.com/rust-lang/crates.io-index"
762
- checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
763
- dependencies = [
764
- "same-file",
765
- "winapi-util",
766
- ]
767
-
768
- [[package]]
769
- name = "wasm-bindgen"
770
- version = "0.2.108"
771
- source = "registry+https://github.com/rust-lang/crates.io-index"
772
- checksum = "64024a30ec1e37399cf85a7ffefebdb72205ca1c972291c51512360d90bd8566"
773
- dependencies = [
774
- "cfg-if",
775
- "once_cell",
776
- "rustversion",
777
- "wasm-bindgen-macro",
778
- "wasm-bindgen-shared",
779
- ]
780
-
781
- [[package]]
782
- name = "wasm-bindgen-futures"
783
- version = "0.4.58"
784
- source = "registry+https://github.com/rust-lang/crates.io-index"
785
- checksum = "70a6e77fd0ae8029c9ea0063f87c46fde723e7d887703d74ad2616d792e51e6f"
786
- dependencies = [
787
- "cfg-if",
788
- "futures-util",
789
- "js-sys",
790
- "once_cell",
791
- "wasm-bindgen",
792
- "web-sys",
793
- ]
794
-
795
- [[package]]
796
- name = "wasm-bindgen-macro"
797
- version = "0.2.108"
798
- source = "registry+https://github.com/rust-lang/crates.io-index"
799
- checksum = "008b239d9c740232e71bd39e8ef6429d27097518b6b30bdf9086833bd5b6d608"
800
- dependencies = [
801
- "quote",
802
- "wasm-bindgen-macro-support",
803
- ]
804
-
805
- [[package]]
806
- name = "wasm-bindgen-macro-support"
807
- version = "0.2.108"
808
- source = "registry+https://github.com/rust-lang/crates.io-index"
809
- checksum = "5256bae2d58f54820e6490f9839c49780dff84c65aeab9e772f15d5f0e913a55"
810
- dependencies = [
811
- "bumpalo",
812
- "proc-macro2",
813
- "quote",
814
- "syn",
815
- "wasm-bindgen-shared",
816
- ]
817
-
818
- [[package]]
819
- name = "wasm-bindgen-shared"
820
- version = "0.2.108"
821
- source = "registry+https://github.com/rust-lang/crates.io-index"
822
- checksum = "1f01b580c9ac74c8d8f0c0e4afb04eeef2acf145458e52c03845ee9cd23e3d12"
823
- dependencies = [
824
- "unicode-ident",
825
- ]
826
-
827
- [[package]]
828
- name = "web-sys"
829
- version = "0.3.85"
830
- source = "registry+https://github.com/rust-lang/crates.io-index"
831
- checksum = "312e32e551d92129218ea9a2452120f4aabc03529ef03e4d0d82fb2780608598"
832
- dependencies = [
833
- "js-sys",
834
- "wasm-bindgen",
835
- ]
836
-
837
- [[package]]
838
- name = "winapi-util"
839
- version = "0.1.11"
840
- source = "registry+https://github.com/rust-lang/crates.io-index"
841
- checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
842
- dependencies = [
843
- "windows-sys 0.61.2",
844
- ]
845
-
846
- [[package]]
847
- name = "windows"
848
- version = "0.62.2"
849
- source = "registry+https://github.com/rust-lang/crates.io-index"
850
- checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580"
851
- dependencies = [
852
- "windows-collections",
853
- "windows-core",
854
- "windows-future",
855
- "windows-numerics",
856
- ]
857
-
858
- [[package]]
859
- name = "windows-collections"
860
- version = "0.3.2"
861
- source = "registry+https://github.com/rust-lang/crates.io-index"
862
- checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610"
863
- dependencies = [
864
- "windows-core",
865
- ]
866
-
867
- [[package]]
868
- name = "windows-core"
869
- version = "0.62.2"
870
- source = "registry+https://github.com/rust-lang/crates.io-index"
871
- checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
872
- dependencies = [
873
- "windows-implement",
874
- "windows-interface",
875
- "windows-link",
876
- "windows-result",
877
- "windows-strings",
878
- ]
879
-
880
- [[package]]
881
- name = "windows-future"
882
- version = "0.3.2"
883
- source = "registry+https://github.com/rust-lang/crates.io-index"
884
- checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb"
885
- dependencies = [
886
- "windows-core",
887
- "windows-link",
888
- "windows-threading",
889
- ]
890
-
891
- [[package]]
892
- name = "windows-implement"
893
- version = "0.60.2"
894
- source = "registry+https://github.com/rust-lang/crates.io-index"
895
- checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
896
- dependencies = [
897
- "proc-macro2",
898
- "quote",
899
- "syn",
900
- ]
901
-
902
- [[package]]
903
- name = "windows-interface"
904
- version = "0.59.3"
905
- source = "registry+https://github.com/rust-lang/crates.io-index"
906
- checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
907
- dependencies = [
908
- "proc-macro2",
909
- "quote",
910
- "syn",
911
- ]
912
-
913
- [[package]]
914
- name = "windows-link"
915
- version = "0.2.1"
916
- source = "registry+https://github.com/rust-lang/crates.io-index"
917
- checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
918
-
919
- [[package]]
920
- name = "windows-numerics"
921
- version = "0.3.1"
922
- source = "registry+https://github.com/rust-lang/crates.io-index"
923
- checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26"
924
- dependencies = [
925
- "windows-core",
926
- "windows-link",
927
- ]
928
-
929
- [[package]]
930
- name = "windows-result"
931
- version = "0.4.1"
932
- source = "registry+https://github.com/rust-lang/crates.io-index"
933
- checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
934
- dependencies = [
935
- "windows-link",
936
- ]
937
-
938
- [[package]]
939
- name = "windows-strings"
940
- version = "0.5.1"
941
- source = "registry+https://github.com/rust-lang/crates.io-index"
942
- checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
943
- dependencies = [
944
- "windows-link",
945
- ]
946
-
947
- [[package]]
948
- name = "windows-sys"
949
- version = "0.45.0"
950
- source = "registry+https://github.com/rust-lang/crates.io-index"
951
- checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
952
- dependencies = [
953
- "windows-targets",
954
- ]
955
-
956
- [[package]]
957
- name = "windows-sys"
958
- version = "0.61.2"
959
- source = "registry+https://github.com/rust-lang/crates.io-index"
960
- checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
961
- dependencies = [
962
- "windows-link",
963
- ]
964
-
965
- [[package]]
966
- name = "windows-targets"
967
- version = "0.42.2"
968
- source = "registry+https://github.com/rust-lang/crates.io-index"
969
- checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
970
- dependencies = [
971
- "windows_aarch64_gnullvm",
972
- "windows_aarch64_msvc",
973
- "windows_i686_gnu",
974
- "windows_i686_msvc",
975
- "windows_x86_64_gnu",
976
- "windows_x86_64_gnullvm",
977
- "windows_x86_64_msvc",
978
- ]
979
-
980
- [[package]]
981
- name = "windows-threading"
982
- version = "0.2.1"
983
- source = "registry+https://github.com/rust-lang/crates.io-index"
984
- checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37"
985
- dependencies = [
986
- "windows-link",
987
- ]
988
-
989
- [[package]]
990
- name = "windows_aarch64_gnullvm"
991
- version = "0.42.2"
992
- source = "registry+https://github.com/rust-lang/crates.io-index"
993
- checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
994
-
995
- [[package]]
996
- name = "windows_aarch64_msvc"
997
- version = "0.42.2"
998
- source = "registry+https://github.com/rust-lang/crates.io-index"
999
- checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
1000
-
1001
- [[package]]
1002
- name = "windows_i686_gnu"
1003
- version = "0.42.2"
1004
- source = "registry+https://github.com/rust-lang/crates.io-index"
1005
- checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
1006
-
1007
- [[package]]
1008
- name = "windows_i686_msvc"
1009
- version = "0.42.2"
1010
- source = "registry+https://github.com/rust-lang/crates.io-index"
1011
- checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
1012
-
1013
- [[package]]
1014
- name = "windows_x86_64_gnu"
1015
- version = "0.42.2"
1016
- source = "registry+https://github.com/rust-lang/crates.io-index"
1017
- checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
1018
-
1019
- [[package]]
1020
- name = "windows_x86_64_gnullvm"
1021
- version = "0.42.2"
1022
- source = "registry+https://github.com/rust-lang/crates.io-index"
1023
- checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
1024
-
1025
- [[package]]
1026
- name = "windows_x86_64_msvc"
1027
- version = "0.42.2"
1028
- source = "registry+https://github.com/rust-lang/crates.io-index"
1029
- checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
1030
-
1031
- [[package]]
1032
- name = "winnow"
1033
- version = "0.7.14"
1034
- source = "registry+https://github.com/rust-lang/crates.io-index"
1035
- checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829"
1036
- dependencies = [
1037
- "memchr",
1038
- ]
@@ -1,47 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
-
4
- /* auto-generated by NAPI-RS */
5
-
6
- export interface CpuDebugState {
7
- pc: number
8
- a: number
9
- x: number
10
- y: number
11
- sp: number
12
- p: number
13
- lastPc: number
14
- lastOpcode: number
15
- }
16
- export interface MapperDebugState {
17
- mapperNum: number
18
- control: number
19
- prg: number
20
- chr0: number
21
- chr1: number
22
- prgMode: number
23
- chrMode: number
24
- outerPrg: number
25
- }
26
- export interface NesDebugState {
27
- cpu: CpuDebugState
28
- mapper: MapperDebugState
29
- }
30
- export declare class NativeNes {
31
- constructor()
32
- setRom(data: Uint8Array): void
33
- bootup(): void
34
- stepFrame(): void
35
- refreshFramebuffer(): void
36
- setVideoFilter(mode: number): void
37
- setAudioEnabled(enabled: boolean): boolean
38
- pressButton(button: number): void
39
- releaseButton(button: number): void
40
- hasBatteryBackedRam(): boolean
41
- getSram(): Uint8Array
42
- setSram(data: Uint8Array): void
43
- isSramDirty(): boolean
44
- markSramSaved(): void
45
- getDebugState(): NesDebugState
46
- getFramebuffer(): Uint8Array
47
- }