mirror of
https://github.com/lesserkuma/GBA_MultiMenu.git
synced 2026-08-23 17:14:10 -05:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbe17ef7c5 |
@@ -5,7 +5,7 @@
|
|||||||
import sys, os, glob, json, math, re, struct, hashlib, argparse, datetime
|
import sys, os, glob, json, math, re, struct, hashlib, argparse, datetime
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
app_version = "0.5"
|
app_version = "0.6"
|
||||||
default_file = "LK_MULTIMENU_<CODE>.gba"
|
default_file = "LK_MULTIMENU_<CODE>.gba"
|
||||||
|
|
||||||
################################
|
################################
|
||||||
@@ -172,6 +172,11 @@ for game in games:
|
|||||||
x = 0x80000
|
x = 0x80000
|
||||||
while (x < size): x *= 2
|
while (x < size): x *= 2
|
||||||
size = x
|
size = x
|
||||||
|
if size < 0x400000:
|
||||||
|
with open(f"roms/{game['file']}", "rb") as f:
|
||||||
|
buffer = f.read()
|
||||||
|
if b"Batteryless mod by Lesserkuma" in buffer:
|
||||||
|
size = 0x400000
|
||||||
game["index"] = index
|
game["index"] = index
|
||||||
game["size"] = size
|
game["size"] = size
|
||||||
if "title_font" in game:
|
if "title_font" in game:
|
||||||
|
|||||||
Reference in New Issue
Block a user