Minor optimizations.
- Only retrieve song information String[] when needed. - Don't try to load glyphs if Unicode metadata is disabled. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -324,7 +324,7 @@ public enum GameImage {
|
||||
}
|
||||
|
||||
/**
|
||||
* Game image constructor.
|
||||
* Constructor.
|
||||
* @param filename the image file name
|
||||
*/
|
||||
GameImage(String filename) {
|
||||
@@ -333,7 +333,7 @@ public enum GameImage {
|
||||
}
|
||||
|
||||
/**
|
||||
* Game image constructor.
|
||||
* Constructor.
|
||||
* @param filename the image file name
|
||||
* @param gameImage whether or not the image is related to gameplay
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user