mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +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>
|
||||
<button onClick={() => {
|
||||
if (state !== MgbaState.Initialised) return;
|
||||
mgbaModule.current.quickReload(0);
|
||||
mgbaModule.current.quickReload();
|
||||
}}>Restart</button>
|
||||
|
||||
</>;
|
||||
|
|
Loading…
Reference in a new issue