mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
reload doens't take a value
This commit is contained in:
parent
7098e6937b
commit
f2e5bf432b
|
@ -90,7 +90,7 @@ export const Mgba: FC<MgbaProps> = ({ gameUrl, volume }) => {
|
||||||
}}>Load State</button>
|
}}>Load State</button>
|
||||||
<button onClick={() => {
|
<button onClick={() => {
|
||||||
if (state !== MgbaState.Initialised) return;
|
if (state !== MgbaState.Initialised) return;
|
||||||
mgbaModule.current.quickReload(0);
|
mgbaModule.current.quickReload();
|
||||||
}}>Restart</button>
|
}}>Restart</button>
|
||||||
|
|
||||||
</>;
|
</>;
|
||||||
|
|
Loading…
Reference in a new issue