mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix initializing update revision info
This commit is contained in:
parent
bf3a2071b7
commit
9f8679ffa6
1
CHANGES
1
CHANGES
|
@ -22,6 +22,7 @@ Other fixes:
|
||||||
- Qt: Fix scanning specific e-Reader dotcodes (fixes mgba.io/i/2693)
|
- Qt: Fix scanning specific e-Reader dotcodes (fixes mgba.io/i/2693)
|
||||||
- Qt: Don't re-enable sync if GBA link modes aren't the same (fixes mgba.io/i/2044)
|
- Qt: Don't re-enable sync if GBA link modes aren't the same (fixes mgba.io/i/2044)
|
||||||
- Qt: Improve handling of multiplayer syncing (fixes mgba.io/i/2720)
|
- Qt: Improve handling of multiplayer syncing (fixes mgba.io/i/2720)
|
||||||
|
- Qt: Fix initializing update revision info
|
||||||
- Res: Fix species name location in Ruby/Sapphire revs 1/2 (fixes mgba.io/i/2685)
|
- Res: Fix species name location in Ruby/Sapphire revs 1/2 (fixes mgba.io/i/2685)
|
||||||
- VFS: Fix minizip write returning 0 on success instead of size
|
- VFS: Fix minizip write returning 0 on success instead of size
|
||||||
Misc:
|
Misc:
|
||||||
|
|
|
@ -174,7 +174,8 @@ const char* ApplicationUpdater::platform() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ApplicationUpdater::UpdateInfo::UpdateInfo(const QString& prefix, const mUpdate* update)
|
ApplicationUpdater::UpdateInfo::UpdateInfo(const QString& prefix, const mUpdate* update)
|
||||||
: size(update->size)
|
: rev(-1)
|
||||||
|
, size(update->size)
|
||||||
, url(prefix + update->path)
|
, url(prefix + update->path)
|
||||||
{
|
{
|
||||||
if (update->rev > 0) {
|
if (update->rev > 0) {
|
||||||
|
|
Loading…
Reference in New Issue