[gnome-games/wip/exalm/savestates: 3/20] nintendo-ds: Chain up in metadata functions



commit 3040716b3066cf7b41a212e75a017b16b9acb4b4
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sat Jan 25 23:08:12 2020 +0500

    nintendo-ds: Chain up in metadata functions

 plugins/nintendo-ds/src/nintendo-ds-runner.vala | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/plugins/nintendo-ds/src/nintendo-ds-runner.vala b/plugins/nintendo-ds/src/nintendo-ds-runner.vala
index 2d7901ec..19b8f24d 100644
--- a/plugins/nintendo-ds/src/nintendo-ds-runner.vala
+++ b/plugins/nintendo-ds/src/nintendo-ds-runner.vala
@@ -114,6 +114,8 @@ private class Games.NintendoDsRunner : RetroRunner {
        }
 
        protected override void save_savestate_metadata (Savestate savestate) {
+               base.save_savestate_metadata (savestate);
+
                assert (savestate is NintendoDsSavestate);
 
                var ds_savestate = savestate as NintendoDsSavestate;
@@ -122,6 +124,8 @@ private class Games.NintendoDsRunner : RetroRunner {
        }
 
        protected override void load_savestate_metadata (Savestate savestate) {
+               base.load_savestate_metadata (savestate);
+
                assert (savestate is NintendoDsSavestate);
 
                var ds_savestate = savestate as NintendoDsSavestate;
@@ -132,6 +136,8 @@ private class Games.NintendoDsRunner : RetroRunner {
        }
 
        protected override void reset_metadata (Savestate last_savestate) {
+               base.reset_metadata (last_savestate);
+
                screen_layout = NintendoDsLayout.TOP_BOTTOM;
                view_bottom_screen = false;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]