mirror of
https://github.com/xemu-project/nxdk_pgraph_tests.git
synced 2025-02-17 00:27:44 +00:00
Adds another attempt at tearing down PVIDEO.
This commit is contained in:
parent
338bcd08f0
commit
fb2b39351e
@ -253,12 +253,12 @@ void PvideoTests::TestAlternateStopBehavior() {
|
||||
|
||||
DbgPrint("Immediately stopping video overlay with unknown registers\n");
|
||||
|
||||
const uint32_t NV_PVIDEO_UNKNOWN_88 = 0x00008088;
|
||||
const uint32_t NV_PVIDEO_UNKNOWN_8C = 0x0000808C;
|
||||
VIDEOREG(NV_PVIDEO_UNKNOWN_88) = 0x04000400;
|
||||
VIDEOREG(NV_PVIDEO_UNKNOWN_88) = 0x04000400;
|
||||
VIDEOREG(NV_PVIDEO_UNKNOWN_8C) = 0x04000400;
|
||||
VIDEOREG(NV_PVIDEO_UNKNOWN_8C) = 0x04000400;
|
||||
// const uint32_t NV_PVIDEO_UNKNOWN_88 = 0x00008088;
|
||||
// const uint32_t NV_PVIDEO_UNKNOWN_8C = 0x0000808C;
|
||||
// VIDEOREG(NV_PVIDEO_UNKNOWN_88) = 0x04000400;
|
||||
// VIDEOREG(NV_PVIDEO_UNKNOWN_88) = 0x04000400;
|
||||
// VIDEOREG(NV_PVIDEO_UNKNOWN_8C) = 0x04000400;
|
||||
// VIDEOREG(NV_PVIDEO_UNKNOWN_8C) = 0x04000400;
|
||||
|
||||
SetPvideoLuminanceChrominance();
|
||||
VIDEOREG(NV_PVIDEO_DS_DX) = 0x00100000;
|
||||
@ -271,6 +271,14 @@ void PvideoTests::TestAlternateStopBehavior() {
|
||||
VIDEOREG(NV_PVIDEO_POINT_IN) = 0;
|
||||
VIDEOREG(NV_PVIDEO_SIZE_IN) = 0xFFFFFFFF;
|
||||
|
||||
// Sequence used in bootup and in Ultimate Beach Soccer.
|
||||
VIDEOREG(NV_PMC_ENABLE) = 0x0;
|
||||
VIDEOREG(NV_PMC_ENABLE) = 0x0;
|
||||
VIDEOREG(NV_PMC_ENABLE) = 0xFFFFFFFF;
|
||||
VIDEOREG(NV_PMC_ENABLE) = 0xFFFFFFFF;
|
||||
VIDEOREG(NV_PMC_ENABLE) = 0x0;
|
||||
VIDEOREG(NV_PMC_ENABLE) = 0x1000;
|
||||
|
||||
pb_print("DONE\n");
|
||||
pb_draw_text_screen();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user