-
-
Notifications
You must be signed in to change notification settings - Fork 212
Humongous entertainment/ scumm vm gamefix #1204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Pepelespooder
wants to merge
12
commits into
utkarshdalal:master
Choose a base branch
from
Pepelespooder:Humongous-Entertainment/-ScummVM-Gamefix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ee50e88
Add ScummVM game fixes and registry entries
Pepelespooder d84df7a
Remove Stale Registries
Pepelespooder 0c583b7
Merge branch 'utkarshdalal:master' into Humongous-Entertainment/-Scum…
Pepelespooder e20b371
Add IniFileFix; update Scumm game fix & registry
Pepelespooder bd8b5ab
Merge branch 'master' into Humongous-Entertainment/-ScummVM-Gamefix
Pepelespooder 49e52db
Merge remote-tracking branch 'upstream/master' into Humongous-Enterta…
Pepelespooder f7f7126
Merge branch 'utkarshdalal:master' into Humongous-Entertainment/-Scum…
Pepelespooder 0e0cdd3
Added composite fix to apply multiple fixes
unbelievableflavour e979b34
Use keyed composite fix for simplicity + moved to gamefix types
unbelievableflavour 9a428ee
Added new fix unit test
unbelievableflavour e07611d
Merge pull request #1 from unbelievableflavour/scumm-additions
Pepelespooder 877da62
Merge branch 'utkarshdalal:master' into Humongous-Entertainment/-Scum…
Pepelespooder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt Joins the Parade (Steam) | ||
| */ | ||
| val STEAM_Fix_283900: KeyedGameFix = ScummGameFix(GameSource.STEAM, "283900") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt Goes to the Moon (Steam) | ||
| */ | ||
| val STEAM_Fix_283910: KeyedGameFix = ScummGameFix(GameSource.STEAM, "283910") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt Saves the Zoo (Steam) | ||
| */ | ||
| val STEAM_Fix_283920: KeyedGameFix = ScummGameFix(GameSource.STEAM, "283920") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt Travels Through Time (Steam) | ||
| */ | ||
| val STEAM_Fix_283930: KeyedGameFix = ScummGameFix(GameSource.STEAM, "283930") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Freddi Fish and the Case of the Missing Kelp Seeds (Steam) | ||
| */ | ||
| val STEAM_Fix_283940: KeyedGameFix = ScummGameFix(GameSource.STEAM, "283940") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Pajama Sam: No Need to Hide When It's Dark Outside (Steam) | ||
| */ | ||
| val STEAM_Fix_283960: KeyedGameFix = ScummGameFix(GameSource.STEAM, "283960") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Spy Fox in: Dry Cereal (Steam) | ||
| */ | ||
| val STEAM_Fix_283980: KeyedGameFix = ScummGameFix(GameSource.STEAM, "283980") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Spy Fox in: Cheese Chase (Steam) | ||
| */ | ||
|
Pepelespooder marked this conversation as resolved.
|
||
| val STEAM_Fix_292240: KeyedGameFix = ScummGameFix(GameSource.STEAM, "292240") | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Spy Fox in: Hold the Mustard (Steam) | ||
| */ | ||
| val STEAM_Fix_292260: KeyedGameFix = ScummGameFix(GameSource.STEAM, "292260") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Spy Fox 2: Some Assembly Required (Steam) | ||
| */ | ||
| val STEAM_Fix_292280: KeyedGameFix = ScummGameFix(GameSource.STEAM, "292280") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Pajama Sam 2: Thunder and Lightning Aren't So Frightening (Steam) | ||
| */ | ||
| val STEAM_Fix_292770: KeyedGameFix = ScummGameFix(GameSource.STEAM, "292770") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Pajama Sam 3: You Are What You Eat From Your Head to Your Feet (Steam) | ||
| */ | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| val STEAM_Fix_292780: KeyedGameFix = ScummGameFix(GameSource.STEAM, "292780") | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Pajama Sam's Sock Works (Steam) | ||
| */ | ||
| val STEAM_Fix_292800: KeyedGameFix = ScummGameFix(GameSource.STEAM, "292800") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Pajama Sam's Lost & Found (Steam) | ||
| */ | ||
| val STEAM_Fix_292820: KeyedGameFix = ScummGameFix(GameSource.STEAM, "292820") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Pajama Sam 4: Life Is Rough When You Lose Your Stuff! (Steam) | ||
| */ | ||
| val STEAM_Fix_292840: KeyedGameFix = ScummGameFix(GameSource.STEAM, "292840") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Freddi Fish 2: The Case of the Haunted Schoolhouse (Steam) | ||
| */ | ||
| val STEAM_Fix_294530: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294530") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Freddi Fish 3: The Case of the Stolen Conch Shell (Steam) | ||
| */ | ||
| val STEAM_Fix_294540: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294540") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Freddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch (Steam) | ||
| */ | ||
| val STEAM_Fix_294550: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294550") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Freddi Fish 5: The Case of the Creature of Coral Cove (Steam) | ||
| */ | ||
| val STEAM_Fix_294560: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294560") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt Saves the Zoo (Steam) | ||
| */ | ||
| val STEAM_Fix_294660: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294660") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt Travels Through Time (Steam) | ||
| */ | ||
| val STEAM_Fix_294670: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294670") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt Enters the Race (Steam) | ||
| */ | ||
| val STEAM_Fix_294680: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294680") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt Joins the Circus (Steam) | ||
| */ | ||
| val STEAM_Fix_294690: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294690") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt: Pep's Birthday Surprise (Steam) | ||
| */ | ||
| val STEAM_Fix_294700: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294700") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt and Pep's Dog on a Stick (Steam) | ||
| */ | ||
| val STEAM_Fix_294710: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294710") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Putt-Putt and Fatty Bear's Activity Pack (Steam) | ||
| */ | ||
| val STEAM_Fix_294720: KeyedGameFix = ScummGameFix(GameSource.STEAM, "294720") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Pajama Sam: Games to Play on Any Day (Steam) | ||
| */ | ||
| val STEAM_Fix_317020: KeyedGameFix = ScummGameFix(GameSource.STEAM, "317020") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Fatty Bear's Birthday Surprise (Steam) | ||
| */ | ||
| val STEAM_Fix_317030: KeyedGameFix = ScummGameFix(GameSource.STEAM, "317030") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Let's Explore the Airport (Junior Field Trips) (Steam) | ||
| */ | ||
| val STEAM_Fix_363050: KeyedGameFix = ScummGameFix(GameSource.STEAM, "363050") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Let's Explore the Farm (Junior Field Trips) (Steam) | ||
| */ | ||
| val STEAM_Fix_363060: KeyedGameFix = ScummGameFix(GameSource.STEAM, "363060") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Let's Explore the Jungle (Junior Field Trips) (Steam) | ||
| */ | ||
| val STEAM_Fix_363070: KeyedGameFix = ScummGameFix(GameSource.STEAM, "363070") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Big Thinkers Kindergarten (Steam) | ||
| */ | ||
| val STEAM_Fix_376760: KeyedGameFix = ScummGameFix(GameSource.STEAM, "376760") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import app.gamenative.data.GameSource | ||
|
|
||
| /** | ||
| * Big Thinkers 1st Grade (Steam) | ||
| */ | ||
| val STEAM_Fix_376770: KeyedGameFix = ScummGameFix(GameSource.STEAM, "376770") |
36 changes: 36 additions & 0 deletions
36
app/src/main/java/app/gamenative/gamefixes/types/KeyedCompositeGameFix.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| package app.gamenative.gamefixes | ||
|
|
||
| import android.content.Context | ||
| import app.gamenative.data.GameSource | ||
| import com.winlator.container.Container | ||
|
|
||
| /** | ||
| * Applies multiple fixes for the same game key. | ||
| * Every fix in [fixes] runs in order. | ||
| */ | ||
| class CompositeGameFix( | ||
| private val fixes: List<GameFix>, | ||
| ) : GameFix { | ||
| override fun apply( | ||
| context: Context, | ||
| gameId: String, | ||
| installPath: String, | ||
| installPathWindows: String, | ||
| container: Container, | ||
| ): Boolean { | ||
| var allSucceeded = true | ||
| for (fix in fixes) { | ||
| val succeeded = fix.apply(context, gameId, installPath, installPathWindows, container) | ||
| if (!succeeded) { | ||
| allSucceeded = false | ||
| } | ||
| } | ||
| return allSucceeded | ||
| } | ||
| } | ||
|
|
||
| class KeyedCompositeGameFix( | ||
| override val gameSource: GameSource, | ||
| override val gameId: String, | ||
| fixes: List<GameFix>, | ||
| ) : KeyedGameFix, GameFix by CompositeGameFix(fixes) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: Duplicate fix registrations are silently overwritten when building the map with
associateBy, leaving dead entries and increasing misconfiguration risk.Prompt for AI agents