[nvnflinger] Add case for DefaultDataSpace (#3956)

Amaterasu from Discord asked about why nvnWindowGetNumActiveTextures returns 0 - after researching the console output it was asking for `DefaultDataSpace` (enum val 12) after some tests with the mod and debugging the console, this is my one-liner solution.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3956
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
This commit is contained in:
maufeat 2026-05-24 01:05:29 +02:00 committed by crueter
parent d9067d85af
commit c6afeb2bf8
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6

View file

@ -615,6 +615,9 @@ Status BufferQueueProducer::Query(NativeWindow what, s32* out_value) {
case NativeWindow::ConsumerUsageBits: case NativeWindow::ConsumerUsageBits:
value = core->consumer_usage_bit; value = core->consumer_usage_bit;
break; break;
case NativeWindow::DefaultDataSpace:
value = core->GetMaxBufferCountLocked(false);
break;
default: default:
ASSERT(false); ASSERT(false);
return Status::BadValue; return Status::BadValue;