diff options
Diffstat (limited to 'backends/dc/dcmain.cpp')
-rw-r--r-- | backends/dc/dcmain.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backends/dc/dcmain.cpp b/backends/dc/dcmain.cpp index c83271b294..5832167ac7 100644 --- a/backends/dc/dcmain.cpp +++ b/backends/dc/dcmain.cpp @@ -42,6 +42,16 @@ OSystem *OSystem_Dreamcast::create() { return syst; } +OSystem_Dreamcast::OSystem_Dreamcast() + : screen(NULL), mouse(NULL), overlay(NULL), _ms_buf(NULL), + _sound_proc(NULL), _timer_active(false) +{ + memset(screen_tx, 0, sizeof(screen_tx)); + memset(mouse_tx, 0, sizeof(screen_tx)); + memset(ovl_tx, 0, sizeof(screen_tx)); +} + + /* CD Audio */ static bool find_track(int track, int &first_sec, int &last_sec) { |