diff --git a/scripts/Window_SaveFile.rb b/scripts/Window_SaveFile.rb index 1ae4a22..7597200 100644 --- a/scripts/Window_SaveFile.rb +++ b/scripts/Window_SaveFile.rb @@ -49,7 +49,8 @@ class Window_SaveFile < Window_Base # If save file exists if @file_exist # Draw character - for i in 0...@characters.size + #for i in 0...@characters.size + (0...@characters.size).each do |i| bitmap = RPG::Cache.character(@characters[i][0], @characters[i][1]) cw = bitmap.rect.width / 4 ch = bitmap.rect.height / 4 diff --git a/src/main.cpp b/src/main.cpp index 30a13b6..cfe38a0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -150,9 +150,6 @@ static void setupWindowIcon(const Config &conf, SDL_Window *win){ } int main(int argc, char *argv[]){ - //I WANT FUCKING OPTIMIZE EVERYFING IN THIS BULLSHIT - std::ios::sync_with_stdio(false); - std::cin.tie(nullptr); startTime = boost::chrono::high_resolution_clock::now(); loadLanguageMetadata(); //there will be a segfault on fclose if I don't move it here SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");