mirror of https://github.com/stella-emu/stella.git
added regex for PAL-N in filename (->NTSC50)
This commit is contained in:
parent
cdecb9165e
commit
df4900828c
|
@ -57,6 +57,8 @@
|
|||
|
||||
* Debugger: fixed patching code in ZP-RAM.
|
||||
|
||||
* Debugger: improved bank origin detection.
|
||||
|
||||
-Have fun!
|
||||
|
||||
|
||||
|
|
|
@ -5130,10 +5130,10 @@ Ms Pac-Man (Stella extended codes):
|
|||
by using one of the following pattern in the filename.
|
||||
<table cellpadding="2" border="1">
|
||||
<tr><th> Format </th><th>Filename Pattern (to force format)</th></tr>
|
||||
<tr><td>NTSC</td><td>NTSC, NTSC60, NTSC 60, NTSC-60</td></tr>
|
||||
<tr><td>NTSC</td><td>NTSC, NTSC60, NTSC 60, NTSC-60, PAL-M</td></tr>
|
||||
<tr><td>PAL</td><td>PAL, PAL50, PAL 50, PAL-50</td></tr>
|
||||
<tr><td>SECAM ¹</td><td>SECAM, SECAM50, SECAM 50, SECAM-50</td></tr>
|
||||
<tr><td>NTSC50 ¹</td><td>NTSC50, NTSC 50, NTSC-50</td></tr>
|
||||
<tr><td>NTSC50 ¹</td><td>NTSC50, NTSC 50, NTSC-50, PAL-N</td></tr>
|
||||
<tr><td>PAL60 ¹</td><td>PAL60, PAL 60, PAL-60</td></tr>
|
||||
<tr><td>SECAM60 ¹</td><td>SECAM60, SECAM 60, SECAM-60</td></tr>
|
||||
</table></td>
|
||||
|
|
|
@ -317,8 +317,9 @@ void Console::redetectFrameLayout()
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
string Console::formatFromFilename() const
|
||||
{
|
||||
static const BSPF::array2D<string, 7, 2> Pattern = {{
|
||||
static const BSPF::array2D<string, 8, 2> Pattern = {{
|
||||
{ R"([ _\-(\[<]+NTSC[ _-]?50)", "NTSC50" },
|
||||
{ R"([ _\-(\[<]+PAL[ _-]?N[ _\-)\]>.])", "NTSC50" }, // PAL-N == NTSC50
|
||||
{ R"([ _\-(\[<]+PAL[ _-]?60)", "PAL60" },
|
||||
{ R"([ _\-(\[<]+SECAM[ _-]?60)", "SECAM60" },
|
||||
{ R"([ _\-(\[<]+NTSC[ _\-)\]>.])", "NTSC" },
|
||||
|
|
Loading…
Reference in New Issue