summaryrefslogtreecommitdiff
path: root/dxr3interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3interface.c')
-rw-r--r--dxr3interface.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/dxr3interface.c b/dxr3interface.c
index 6228d05..43aa1ef 100644
--- a/dxr3interface.c
+++ b/dxr3interface.c
@@ -859,15 +859,15 @@ void cDxr3Interface::UploadMicroCode()
}
em8300_microcode_t em8300_microcode;
- const char* MICRO_CODE_FILE = "/usr/share/misc/em8300.uc";
struct stat s;
// try to open it
- int UCODE = open(MICRO_CODE_FILE, O_RDONLY);
+ // MICROCODE comes from makefile
+ int UCODE = open(MICROCODE, O_RDONLY);
if (UCODE <0)
{
- cLog::Instance() << "Unable to open microcode file " << MICRO_CODE_FILE << " for reading\n";
+ cLog::Instance() << "Unable to open microcode file " << MICROCODE << " for reading\n";
exit(1);
}
@@ -1189,6 +1189,13 @@ void cDxr3Interface::WriteRegister(int registernum, int val)
ioctl(m_fdControl, EM8300_IOCTL_WRITEREG, &reg);
}
+// ==================================
+//! grabs the current tv screen
+void cDxr3Interface::GrabScreen(int w, int h, char** buf)
+{
+
+}
+
// maybe we should copy this routine into em8300 driver
// ==================================
//! It appears that the follow routine copies length bytes to memory pointed to