mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
remove hard reset
This commit is contained in:
parent
27ad5d1184
commit
5365ce6188
|
@ -103,7 +103,6 @@ export const MgbaWrapper = forwardRef<MgbaHandle, MgbaWrapperProps>(
|
|||
restart: () => mgbaRef.current?.restart(),
|
||||
buttonPress: (key: GbaKey) => mgbaRef.current?.buttonPress(key),
|
||||
buttonRelease: (key: GbaKey) => mgbaRef.current?.buttonRelease(key),
|
||||
hardReset: () => setMgbaId((id) => id + 1),
|
||||
}));
|
||||
|
||||
useAvoidItchIoScrolling();
|
||||
|
@ -123,7 +122,6 @@ export const MgbaWrapper = forwardRef<MgbaHandle, MgbaWrapperProps>(
|
|||
)}
|
||||
{isPlaying ? (
|
||||
<Mgba
|
||||
key={mgbaId}
|
||||
ref={mgbaRef}
|
||||
gameUrl={gameUrl}
|
||||
volume={volume}
|
||||
|
|
Loading…
Reference in a new issue