summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/sms.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/includes/sms.h')
-rw-r--r--src/mess/includes/sms.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mess/includes/sms.h b/src/mess/includes/sms.h
index d81c815a01b..3c694451363 100644
--- a/src/mess/includes/sms.h
+++ b/src/mess/includes/sms.h
@@ -92,6 +92,13 @@ public:
// for gamegear LCD persistence hack
bitmap_rgb32 m_prev_bitmap;
+ bool m_prev_bitmap_copied;
+
+ // for gamegear SMS mode scaling
+ bitmap_rgb32 m_gg_sms_mode_bitmap;
+ // line_buffer will be used to hold 4 lines of line data as a kind of cache for
+ // vertical scaling in the gamegear sms compatibility mode.
+ int *m_line_buffer;
// for 3D glass binocular hack
bitmap_rgb32 m_prevleft_bitmap;
@@ -168,8 +175,10 @@ public:
DECLARE_MACHINE_START(sms);
DECLARE_MACHINE_RESET(sms);
DECLARE_VIDEO_START(gamegear);
+ DECLARE_VIDEO_RESET(gamegear);
DECLARE_VIDEO_START(sms1);
DECLARE_VIDEO_RESET(sms1);
+ void screen_gg_sms_mode_scaling(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
UINT32 screen_update_gamegear(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
UINT32 screen_update_sms(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
UINT32 screen_update_sms1(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);