From 49de6777205822816521bd136312dd24a0cf2512 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 24 May 2023 08:43:14 -0700 Subject: Add a compat option to change the error value with no context --- alsoftrc.sample | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'alsoftrc.sample') diff --git a/alsoftrc.sample b/alsoftrc.sample index 2906cca4..651f605b 100644 --- a/alsoftrc.sample +++ b/alsoftrc.sample @@ -638,6 +638,15 @@ ## [game_compat] +## default-error: (global) +# An error value returned by alGetError when there's no current context. The +# default value is AL_INVALID_OPERATION, which lets the caller know the +# operation could not be executed. Some applications may erroneously call +# alGetError without a current context and expect 0 (AL_NO_ERROR), however +# that may cause other applications to think earlier AL calls succeeded when +# they actually failed. +#default-error = 0xA004 + ## nfc-scale: (global) # A meters-per-unit distance scale applied to NFC filters. If a game doesn't # use real-world meters for in-game units, the filters may create a too-near -- cgit v1.2.3