From 89dcf0318df00c15b9506bfb176c8fa502507cf2 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sun, 7 Feb 2010 14:34:45 +0000 Subject: [PATCH] Dead code - remove --- Src/main.h | 3 +-- Src/main_wii.h | 8 -------- Src/main_x.h | 9 --------- 3 files changed, 1 insertion(+), 19 deletions(-) diff --git a/Src/main.h b/Src/main.h index b9ca8af..1d8256a 100644 --- a/Src/main.h +++ b/Src/main.h @@ -124,8 +124,7 @@ public: Frodo(); void ArgvReceived(int argc, char **argv); void ReadyToRun(void); - static Prefs *reload_prefs(void); - static char* get_prefs_path() { return prefs_path; }; + private: void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin); void load_rom_files(); diff --git a/Src/main_wii.h b/Src/main_wii.h index 0528c01..7826e43 100644 --- a/Src/main_wii.h +++ b/Src/main_wii.h @@ -105,14 +105,6 @@ void Frodo::ReadyToRun(void) delete TheC64; } - -Prefs *Frodo::reload_prefs(void) -{ - static Prefs newprefs; - newprefs.Load(PREFS_PATH); - return &newprefs; -} - /* * Determine whether path name refers to a directory */ diff --git a/Src/main_x.h b/Src/main_x.h index 97751a1..64ba887 100644 --- a/Src/main_x.h +++ b/Src/main_x.h @@ -145,15 +145,6 @@ void Frodo::ReadyToRun(void) delete TheC64; } - -Prefs *Frodo::reload_prefs(void) -{ - static Prefs newprefs; - newprefs.Load(prefs_path); - return &newprefs; -} - - /* * Determine whether path name refers to a directory */