mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-08-26 17:10:55 +00:00
dirty fix for issue #12
This commit is contained in:
parent
41d9af379f
commit
a4eb4b1331
3 changed files with 9 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Rom Patcher JS v20200502 - Marc Robledo 2016-2020 - http://www.marcrobledo.com/license */
|
||||
/* Rom Patcher JS v20200915 - Marc Robledo 2016-2020 - http://www.marcrobledo.com/license */
|
||||
|
||||
const TOO_BIG_ROM_SIZE=67108863;
|
||||
const HEADERS_INFO=[
|
||||
|
@ -214,6 +214,12 @@ addEvent(window,'load',function(){
|
|||
});
|
||||
|
||||
|
||||
/* dirty fix for mobile Safari https://stackoverflow.com/a/19323498 */
|
||||
if(/Mobile\/\S+ Safari/.test(navigator.userAgent)){
|
||||
el('input-file-patch').accept='';
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* predefined patches */
|
||||
if(typeof PREDEFINED_PATCHES!=='undefined'){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue