SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 04afa645972dd708342bd7c70ebeefa2b4ea4f25 parent 8e125b31f65a59310cb7a92348f88a38071b5ca1 Author: Lior Halphon <LIJI32@gmail.com> Date: Sat, 23 Jul 2022 14:24:28 +0300 Can't be NULL Diffstat:
| M | SDL/audio.c | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/SDL/audio.c b/SDL/audio.c @@ -40,9 +40,7 @@ bool GB_audio_init(void) for (unsigned i = 0; i < sizeof(drivers) / sizeof(drivers[0]); i++) { driver = drivers[i]; if (driver->audio_init()) { - if (driver->audio_deinit) { - atexit(driver->audio_deinit); - } + atexit(driver->audio_deinit); return true; } }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.