From 121995bf3f21343848bd3b1d189529883e71044a Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 23 Jan 2025 16:16:11 +0100 Subject: Add a configuration for MMC1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/mapping.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/xixanta/src/mapping.rs') diff --git a/lib/xixanta/src/mapping.rs b/lib/xixanta/src/mapping.rs index b3d22c7..6a439d3 100644 --- a/lib/xixanta/src/mapping.rs +++ b/lib/xixanta/src/mapping.rs @@ -2,6 +2,7 @@ use crate::cfg::{parse_cfg_file, parse_nasm_cfg_file}; use crate::object::Bundle; const EMPTY_CONFIG: &str = include_str!("mappings/empty.cfg"); +const MMC1_CONFIG: &str = include_str!("mappings/mmc1.cfg"); const NROM_CONFIG: &str = include_str!("mappings/nrom.cfg"); const NROM65_CONFIG: &str = include_str!("mappings/nrom65.cfg"); const UXROM_CONFIG: &str = include_str!("mappings/unrom.cfg"); @@ -115,6 +116,7 @@ pub fn get_mapping_configuration(name: &str) -> Result, String> { } else { let text = match name.to_lowercase().as_str() { "empty" => EMPTY_CONFIG, + "mmc1" => MMC1_CONFIG, "nrom" => NROM_CONFIG, "nrom65" => NROM65_CONFIG, "uxrom" | "unrom" => UXROM_CONFIG, -- cgit v1.2.3