{"action":"created","issue":{"url":"https://api.github.com/repos/TASVideos/BizHawk/issues/964","repository_url":"https://api.github.com/repos/TASVideos/BizHawk","labels_url":"https://api.github.com/repos/TASVideos/BizHawk/issues/964/labels{/name}","comments_url":"https://api.github.com/repos/TASVideos/BizHawk/issues/964/comments","events_url":"https://api.github.com/repos/TASVideos/BizHawk/issues/964/events","html_url":"https://github.com/TASVideos/BizHawk/pull/964","id":251375827,"number":964,"title":"Timed SaveRAM flush to disk","user":{"login":"shanehoman","id":26847983,"avatar_url":"https://avatars3.githubusercontent.com/u/26847983?v=4","gravatar_id":"","url":"https://api.github.com/users/shanehoman","html_url":"https://github.com/shanehoman","followers_url":"https://api.github.com/users/shanehoman/followers","following_url":"https://api.github.com/users/shanehoman/following{/other_user}","gists_url":"https://api.github.com/users/shanehoman/gists{/gist_id}","starred_url":"https://api.github.com/users/shanehoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanehoman/subscriptions","organizations_url":"https://api.github.com/users/shanehoman/orgs","repos_url":"https://api.github.com/users/shanehoman/repos","events_url":"https://api.github.com/users/shanehoman/events{/privacy}","received_events_url":"https://api.github.com/users/shanehoman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-08-18T22:46:36Z","updated_at":"2017-08-19T00:58:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TASVideos/BizHawk/pulls/964","html_url":"https://github.com/TASVideos/BizHawk/pull/964","diff_url":"https://github.com/TASVideos/BizHawk/pull/964.diff","patch_url":"https://github.com/TASVideos/BizHawk/pull/964.patch"},"body":"Following on the menu item and hotkey to save SaveRAM, I created a menu to choose how often you want your save to be saved during play.  Manually flushing SaveRAM resets the counter, automatic saving in the core frame loop is done after the movie is handled that frame.\r\n\r\nFun fact: a 1 frame flush timer is workable on a RAM disk, depending on the speed of various computer subsystems.  Writing 60 files per second to flash (SSD, SD, etc) lags the SNES core a little bit, and could be mildly abusive of the storage hardware.  Trying it on a hard drive was not fun."},"comment":{"url":"https://api.github.com/repos/TASVideos/BizHawk/issues/comments/323489788","html_url":"https://github.com/TASVideos/BizHawk/pull/964#issuecomment-323489788","issue_url":"https://api.github.com/repos/TASVideos/BizHawk/issues/964","id":323489788,"user":{"login":"shanehoman","id":26847983,"avatar_url":"https://avatars3.githubusercontent.com/u/26847983?v=4","gravatar_id":"","url":"https://api.github.com/users/shanehoman","html_url":"https://github.com/shanehoman","followers_url":"https://api.github.com/users/shanehoman/followers","following_url":"https://api.github.com/users/shanehoman/following{/other_user}","gists_url":"https://api.github.com/users/shanehoman/gists{/gist_id}","starred_url":"https://api.github.com/users/shanehoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanehoman/subscriptions","organizations_url":"https://api.github.com/users/shanehoman/orgs","repos_url":"https://api.github.com/users/shanehoman/repos","events_url":"https://api.github.com/users/shanehoman/events{/privacy}","received_events_url":"https://api.github.com/users/shanehoman/received_events","type":"User","site_admin":false},"created_at":"2017-08-19T00:58:39Z","updated_at":"2017-08-19T00:58:39Z","body":"bizhawk could check for an autosave saveram when you load a game, alongside the regular saveram, and if the date is newer than the latest real save offer to load the autosave instead, similar to office autorecovery.  Either way its better than playing for hours and then crashing and saving nothing the whole time.\r\n\r\n> There are better ways of helping people that accidentally load an old savestate but it will be irrelevant once I make my change to default to no automatic flushing.\r\n\r\nCurious about the first part (save the current state to a backup file when you load state would be good, too, and more \"live\") but can you elaborate more on the second? By no automatic flushing, do you mean to add \"Save your SRAM? Yes/No/Cancel\" dialogs like most other applications use?"}}
{"actor":{"display_login":"shanehoman"}}