mirror of
https://github.com/lesserkuma/GBA_MultiMenu.git
synced 2026-04-13 04:05:50 -05:00
0.6
This commit is contained in:
parent
8dc1d10a95
commit
cbe17ef7c5
|
|
@ -5,7 +5,7 @@
|
|||
import sys, os, glob, json, math, re, struct, hashlib, argparse, datetime
|
||||
|
||||
# Configuration
|
||||
app_version = "0.5"
|
||||
app_version = "0.6"
|
||||
default_file = "LK_MULTIMENU_<CODE>.gba"
|
||||
|
||||
################################
|
||||
|
|
@ -172,6 +172,11 @@ for game in games:
|
|||
x = 0x80000
|
||||
while (x < size): x *= 2
|
||||
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["size"] = size
|
||||
if "title_font" in game:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user