diff --git a/emulators/rpcs3/files/patch-soundtouch b/emulators/rpcs3/files/patch-soundtouch deleted file mode 100644 index 868d9717bd68..000000000000 --- a/emulators/rpcs3/files/patch-soundtouch +++ /dev/null @@ -1,25 +0,0 @@ -In file included from rpcs3/Emu/Audio/audio_device_listener.cpp:5: -In file included from rpcs3/Emu/Cell/Modules/cellAudio.h:9: -In file included from rpcs3/Emu/Audio/audio_resampler.h:10: -In file included from 3rdparty/SoundTouch/soundtouch/include/SoundTouch.h:68: -3rdparty/SoundTouch/soundtouch/include/FIFOSamplePipe.h:62:9: error: use of old-style cast [-Werror,-Wold-style-cast] - ST_THROW_RT_ERROR("Error: Illegal number of channels"); - ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -3rdparty/SoundTouch/soundtouch/include/STTypes.h:128:45: note: expanded from macro 'ST_THROW_RT_ERROR' - #define ST_THROW_RT_ERROR(x) {assert((const char *)x);} - ^ ~ -/usr/include/assert.h:56:21: note: expanded from macro 'assert' -#define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \ - ^ - ---- 3rdparty/SoundTouch/soundtouch/include/STTypes.h.orig 2024-04-04 20:36:27 UTC -+++ 3rdparty/SoundTouch/soundtouch/include/STTypes.h -@@ -125,7 +125,7 @@ namespace soundtouch - #ifdef ST_NO_EXCEPTION_HANDLING - // Exceptions disabled. Throw asserts instead if enabled. - #include -- #define ST_THROW_RT_ERROR(x) {assert((const char *)x);} -+ #define ST_THROW_RT_ERROR(x) {assert(static_cast(x));} - #else - // use c++ standard exceptions - #include