1 /*-------------------------------------------------- 2 TGB Dual - Gameboy Emulator - 3 Copyright (C) 2001 Hii 4 5 This program is free software; you can redistribute it and/or 6 modify it under the terms of the GNU General Public License 7 as published by the Free Software Foundation; either version 2 8 of the License, or (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 */ 19 20 #include "../gb_core/renderer.h" 21 22 class dmy_renderer : public renderer 23 { 24 public: 25 dmy_renderer(int which); ~dmy_renderer()26 virtual ~dmy_renderer(){}; 27 reset()28 virtual void reset() {} get_sensor(bool x_y)29 virtual word get_sensor(bool x_y) { return 0; } set_bibrate(bool bibrate)30 virtual void set_bibrate(bool bibrate) {} 31 32 virtual void render_screen(byte *buf,int width,int height,int depth); 33 virtual word map_color(word gb_col); 34 virtual word unmap_color(word gb_col); 35 virtual int check_pad(); 36 virtual void refresh(); 37 virtual byte get_time(int type); 38 virtual void set_time(int type,byte dat); 39 40 dword fixed_time; 41 private: 42 int cur_time; 43 int which_gb; 44 bool rgb565; 45 }; 46