mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
Fix 2d initialization
This commit is contained in:
parent
b10f0c2b72
commit
c5b626a17b
@ -71,9 +71,14 @@ Result vnInit3D(Vn* vn) {
|
|||||||
NvIncr(0, NvReg3D_Layer, 0x10000),
|
NvIncr(0, NvReg3D_Layer, 0x10000),
|
||||||
NvImm(0, 0x488, 5),
|
NvImm(0, 0x488, 5),
|
||||||
NvIncr(0, 0x514, 0x00800008),
|
NvIncr(0, 0x514, 0x00800008),
|
||||||
//NvImm(0, 0xab, 3), // FAULTY
|
);
|
||||||
//NvImm(0, 0xa4, 0),
|
|
||||||
//NvImm(0, 0x221, 0x3f));
|
// Initializes some 2D things..
|
||||||
|
VnCmd(
|
||||||
|
vn,
|
||||||
|
NvImm(3, 0xab, 3), // SetOperation?
|
||||||
|
NvImm(3, 0xa4, 0), // SetClipEnable
|
||||||
|
NvImm(3, 0x221, 0x3f));
|
||||||
);
|
);
|
||||||
|
|
||||||
// TODO: Call macro_14f(0x00418800, 1, 1).
|
// TODO: Call macro_14f(0x00418800, 1, 1).
|
||||||
|
Loading…
Reference in New Issue
Block a user