mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-26 14:34:15 +01:00
fix reading mapper > 9 from database
This commit is contained in:
parent
d7c1afd57c
commit
ccc06ef4e4
@ -1419,7 +1419,7 @@ struct database_entry_MSX {
|
||||
|
||||
void readDataLine_MSX(FsFile& database, struct database_entry_MSX* entry) {
|
||||
// Read mapper
|
||||
entry->gameMapper = database.read() - 48;
|
||||
entry->gameMapper = ((database.read() - 48) * 10) + (database.read() - 48);
|
||||
|
||||
// Skip over semicolon
|
||||
database.seekCur(1);
|
||||
|
22
sd/README.md
22
sd/README.md
@ -262,22 +262,22 @@ This file stores known MSX games with the required mapper, cart size and ram siz
|
||||
|
||||
Example:
|
||||
Aoki Ookami - Genchou Hishi
|
||||
7,8,4
|
||||
07,8,4
|
||||
|
||||
Name
|
||||
mapper, cart size, ram size
|
||||
|
||||
mapper:
|
||||
0 = NONE
|
||||
1 = ASCII8
|
||||
2 = ASCII16
|
||||
3 = CROSS BLAIM
|
||||
4 = GAME MASTER 2
|
||||
5 = HAL NOTE
|
||||
6 = HARRY FOX YUKI
|
||||
7 = KOEI
|
||||
8 = KONAMI
|
||||
9 = KONAMI SSC
|
||||
00 = NONE
|
||||
01 = ASCII8
|
||||
02 = ASCII16
|
||||
03 = CROSS BLAIM
|
||||
04 = GAME MASTER 2
|
||||
05 = HAL NOTE
|
||||
06 = HARRY FOX YUKI
|
||||
07 = KOEI
|
||||
08 = KONAMI
|
||||
09 = KONAMI SSC
|
||||
10 = MSX-DOS2
|
||||
11 = PAC/FM-PAC
|
||||
12 = R-TYPE
|
||||
|
1444
sd/msxcart.txt
1444
sd/msxcart.txt
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user