# filled_sram - save storage needs to be initialized with FFh instead of 00h
#
# mappers (hw = ...):
-# ssf2_mapper - used in Super Street Fighter2
-# x_in_1_mapper - used in many *-in-1 pirate carts
+# ssf2_mapper - used in Super Street Fighter2
+# x_in_1_mapper - used in many *-in-1 pirate carts
# realtec_mapper
-# radica_mapper - similar to x_in_1_mapper
+# radica_mapper - similar to x_in_1_mapper
+# piersolar_mapper - used in Pier Solar
#
# save storage memory range (inclusive, overrides ROM header):
# sram_range = <start, end>
hw = ssf2_mapper
prop = no_sram
+# The Pier Solar mapper, custom eeprom location
+[Pier Solar and the Great Architects]
+check_str = 0x150, "PIER SOLAR\99&THE GREAT ARCHITECTS© WaterMelon\99"
+hw = piersolar_mapper
+sram_range = 0xa13009,0xa1300b
+eeprom_type = 3
+eeprom_lines = 2,1,0
+
# detect *_in_1 based on first game and if it's larger than it should be,
# as some dumps look like to be incomplete.
# This will also pick overdumps, but those should still work with the mapper applied.