summaryrefslogtreecommitdiff
path: root/lib/ultralib/src/vimodes/vimodefpallaf1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ultralib/src/vimodes/vimodefpallaf1.c')
-rw-r--r--lib/ultralib/src/vimodes/vimodefpallaf1.c30
1 files changed, 20 insertions, 10 deletions
diff --git a/lib/ultralib/src/vimodes/vimodefpallaf1.c b/lib/ultralib/src/vimodes/vimodefpallaf1.c
index e4a8a9e..ad79744 100644
--- a/lib/ultralib/src/vimodes/vimodefpallaf1.c
+++ b/lib/ultralib/src/vimodes/vimodefpallaf1.c
@@ -1,21 +1,31 @@
+/**
+ * @file vimodefpallaf1.c
+ *
+ * FPAL LAF1 Video Mode
+ *
+ * L = Low Resolution
+ * A = Anti-Aliased
+ * F = Interlaced
+ * 1 = 16-bit Framebuffer
+ */
#include "PR/os.h"
#include "PR/rcp.h"
-#include "../io/viint.h"
+#include "PRinternal/viint.h"
OSViMode osViModeFpalLaf1 = {
OS_VI_FPAL_LAF1, // type
{
// comRegs
VI_CTRL_TYPE_16 | VI_CTRL_GAMMA_DITHER_ON | VI_CTRL_GAMMA_ON | VI_CTRL_DIVOT_ON | VI_CTRL_SERRATE_ON |
- VI_CTRL_PIXEL_ADV_3, // ctrl
- WIDTH(320), // width
- BURST(58, 30, 4, 69), // burst
- VSYNC(624), // vSync
- HSYNC(3177, 23), // hSync
- LEAP(3183, 3181), // leap
- HSTART(128, 768), // hStart
- SCALE(2, 0), // xScale
- VCURRENT(0), // vCurrent
+ VI_CTRL_ANTIALIAS_MODE_0 | VI_CTRL_PIXEL_ADV_3, // ctrl
+ WIDTH(320), // width
+ BURST(58, 30, 4, 69), // burst
+ VSYNC(624), // vSync
+ HSYNC(3177, 23), // hSync
+ LEAP(3183, 3181), // leap
+ HSTART(128, 768), // hStart
+ SCALE(2, 0), // xScale
+ VCURRENT(0), // vCurrent
},
{ // fldRegs
{