move mgba app to own directory

This commit is contained in:
Corwin 2024-04-03 22:57:48 +01:00
parent dc2d969930
commit a7de8c07d2
No known key found for this signature in database
25 changed files with 1 additions and 11135 deletions

View file

@ -0,0 +1 @@
**/vendor/*.js

View file

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View file

@ -71,12 +71,6 @@ export const Mgba = forwardRef<MgbaHandle, MgbaProps>(
mgbaModule.current = { mgbaModule.current = {
canvas: canvas.current, canvas: canvas.current,
locateFile: (file: string) => {
if (file === "mgba.wasm") {
return "./vendor/mgba.wasm";
}
return file;
},
}; };
mGBA(mgbaModule.current).then((module: Module) => { mGBA(mgbaModule.current).then((module: Module) => {

Binary file not shown.

File diff suppressed because it is too large Load diff