mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
move mgba app to own directory
This commit is contained in:
parent
dc2d969930
commit
a7de8c07d2
1
website/app/.eslintignore
Normal file
1
website/app/.eslintignore
Normal file
|
@ -0,0 +1 @@
|
|||
**/vendor/*.js
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
|
@ -71,12 +71,6 @@ export const Mgba = forwardRef<MgbaHandle, MgbaProps>(
|
|||
|
||||
mgbaModule.current = {
|
||||
canvas: canvas.current,
|
||||
locateFile: (file: string) => {
|
||||
if (file === "mgba.wasm") {
|
||||
return "./vendor/mgba.wasm";
|
||||
}
|
||||
return file;
|
||||
},
|
||||
};
|
||||
|
||||
mGBA(mgbaModule.current).then((module: Module) => {
|
BIN
website/public/vendor/mgba.wasm
vendored
BIN
website/public/vendor/mgba.wasm
vendored
Binary file not shown.
11129
website/src/vendor/mgba.js
vendored
11129
website/src/vendor/mgba.js
vendored
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue