reload doens't take a value

This commit is contained in:
Corwin 2023-04-13 21:35:55 +01:00
parent 7098e6937b
commit f2e5bf432b
No known key found for this signature in database

View file

@ -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>
</>; </>;