1
0
forked from akanyan/mu3-mods

feat: implement Pause, better InfiniteGP

This commit is contained in:
2024-07-02 10:34:51 +09:00
parent a31cf82029
commit cc6f7657c7
12 changed files with 181 additions and 14 deletions

View File

@ -0,0 +1,18 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
namespace MU3.Sound;
class patch_SoundPlayer: SoundPlayer {
private CriAtomExPlayer _player;
public extern void orig_stop();
public void pause(bool val) {
_player.Pause(val);
}
public new void stop() {
_player.Pause(false);
orig_stop();
}
}