Browse Source

Dead code removal: video_core.cpp, load_symbol_map.cpp

archshift 12 years ago
parent
commit
1c02c03e32
2 changed files with 1 additions and 8 deletions
  1. 1 1
      src/core/arm/disassembler/load_symbol_map.cpp
  2. 0 7
      src/video_core/video_core.cpp

+ 1 - 1
src/core/arm/disassembler/load_symbol_map.cpp

@@ -19,7 +19,7 @@ void LoadSymbolMap(std::string filename) {
     std::ifstream infile(filename);
 
     std::string address_str, function_name, line;
-    u32 size, address;
+    u32 size;
 
     while (std::getline(infile, line)) {
         std::istringstream iss(line);

+ 0 - 7
src/video_core/video_core.cpp

@@ -21,13 +21,6 @@ EmuWindow*      g_emu_window    = NULL;     ///< Frontend emulator window
 RendererBase*   g_renderer      = NULL;     ///< Renderer plugin
 int             g_current_frame = 0;
 
-/// Start the video core
-void Start() {
-    if (g_emu_window == NULL) {
-        ERROR_LOG(VIDEO, "VideoCore::Start called without calling Init()!");
-    }
-}
-
 /// Initialize the video core
 void Init(EmuWindow* emu_window) {
     g_emu_window = emu_window;