From 7324afeafd703e3d50332b97b97d8b641fec59ee Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 4 Aug 2009 20:32:13 +0000 Subject: [PATCH] Move rewindsave and dorewind declaration to a proper header instead of using extern. --- desmume/src/saves.h | 3 +++ desmume/src/windows/main.cpp | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/desmume/src/saves.h b/desmume/src/saves.h index 9a25cb3ea..d9ae9d12d 100644 --- a/desmume/src/saves.h +++ b/desmume/src/saves.h @@ -66,4 +66,7 @@ bool savestate_save (const char *file_name); void savestate_slot(int num); void loadstate_slot(int num); +void dorewind(); +void rewindsave(); + #endif diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index 64fbd8001..f4461778d 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -1071,9 +1071,7 @@ DWORD WINAPI run() } DRV_AviVideoUpdate((u16*)GPU_screen); - extern void rewindsave(); extern bool rewinding; - extern void dorewind(); if (staterewindingenabled) {