This file is indexed.

/usr/share/doc/mednafen/mednafen.html is in mednafen 0.9.36.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Mednafen General Documentation</title>
  <link rel="stylesheet" type="text/css" media="screen, projection" href="mednafen.css">
 </head>
 <body>
  <center><h1><img alt="Mednafen" src="mednafen.png" width="696" height="204"></h1></center>
  <center><h1>General Documentation</h1></center>
  <center><i>Last updated August  3, 2014<br>Valid as of 0.9.36.3</i></center>
 <p></p>
 <b>Table of Contents:</b>
 <ul><li><a href="#Introduction">Introduction</a><ul><li><a href="#Section_base_directory">Base Directory</a><ul></ul></li></ul></li><li><a href="#Core+Features">Core Features</a><ul><li><a href="#Section_cdrom_emulation">CD Emulation</a><ul><li><a href="#Core+Features%01CD+Emulation%01Physical+CDs">Physical CDs</a><ul></ul></li><li><a href="#Core+Features%01CD+Emulation%01Ripped+Disc+Images">Ripped Disc Images</a><ul></ul></li><li><a href="#Section_multicd_games">Multiple-CD Games</a><ul></ul></li><li><a href="#Section_cdg">CD+G</a><ul></ul></li><li><a href="#Section_photocdportfolio">PhotoCD Portfolio</a><ul></ul></li></ul></li><li><a href="#Section_security">Security Issues</a><ul><li><a href="#Section_security_savestates">Save States</a><ul></ul></li><li><a href="#Core+Features%01Security+Issues%01CD+rips+and+PSF%28PSF1%2C+GSF%2C+etc.%29+Files">CD rips and PSF(PSF1, GSF, etc.) Files</a><ul></ul></li><li><a href="#Section_security_netplay">Network Play</a><ul></ul></li></ul></li><li><a href="#Core+Features%01Using+Mednafen">Using Mednafen</a><ul><li><a href="#Core+Features%01Using+Mednafen%01Key+Assignments">Key Assignments</a><ul></ul></li><li><a href="#Core+Features%01Using+Mednafen%01Command-line">Command-line</a><ul></ul></li><li><a href="#Core+Features%01Using+Mednafen%01Configuration+Files">Configuration Files</a><ul></ul></li><li><a href="#Core+Features%01Using+Mednafen%01Global+Settings+Reference">Global Settings Reference</a><ul></ul></li><li><a href="#Section_firmware_bios">Firmware/BIOS</a><ul></ul></li><li><a href="#Section_custom_palettes">Custom Palettes</a><ul></ul></li><li><a href="#Core+Features%01Using+Mednafen%01Automatic+IPS+Patching">Automatic IPS Patching</a><ul></ul></li></ul></li><li><a href="#Core+Features%01Advanced+Usage">Advanced Usage</a><ul><li><a href="#Core+Features%01Advanced+Usage%01Minimizing+video%2Faudio%2Finput+Lag">Minimizing video/audio/input Lag</a><ul><li><a href="#Core+Features%01Advanced+Usage%01Minimizing+video%2Faudio%2Finput+Lag%01Hardware+Selection">Hardware Selection</a><ul></ul></li><li><a href="#Core+Features%01Advanced+Usage%01Minimizing+video%2Faudio%2Finput+Lag%01Settings+to+Minimize+Video+Lag">Settings to Minimize Video Lag</a><ul></ul></li><li><a href="#Core+Features%01Advanced+Usage%01Minimizing+video%2Faudio%2Finput+Lag%01Settings+to+Minimize+Audio+Lag">Settings to Minimize Audio Lag</a><ul></ul></li></ul></li></ul></li><li><a href="#Core+Features%01Troubleshooting+and+Common+Solutions">Troubleshooting and Common Solutions</a><ul><li><a href="#Core+Features%01Troubleshooting+and+Common+Solutions%01No+sound+output+on+Linux.">No sound output on Linux.</a><ul></ul></li><li><a href="#Core+Features%01Troubleshooting+and+Common+Solutions%01Configuration+file+is+a+mess+in+Notepad+in+Windows.">Configuration file is a mess in Notepad in Windows.</a><ul></ul></li></ul></li><li>Emulation Module Documentation<ul><li><a href="lynx.html">Atari Lynx</a> [lynx]<ul></ul></li><li><a href="gb.html">GameBoy (Color)</a> [gb]<ul></ul></li><li><a href="gba.html">GameBoy Advance</a> [gba]<ul></ul></li><li><a href="ngp.html">Neo Geo Pocket (Color)</a> [ngp]<ul></ul></li><li><a href="nes.html">Nintendo Entertainment System/Famicom</a> [nes]<ul></ul></li><li><a href="pce.html">PC Engine (CD)/TurboGrafx 16 (CD)/SuperGrafx</a> [pce]<ul></ul></li><li><a href="pce_fast.html">PC Engine (CD)/TurboGrafx 16 (CD)/SuperGrafx</a> [pce_fast]<ul></ul></li><li><a href="pcfx.html">PC-FX</a> [pcfx]<ul></ul></li><li><a href="gg.html">Sega Game Gear</a> [gg]<ul></ul></li><li><a href="md.html">Sega Genesis/MegaDrive</a> [md]<ul></ul></li><li><a href="sms.html">Sega Master System</a> [sms]<ul></ul></li><li><a href="psx.html">Sony PlayStation</a> [psx]<ul></ul></li><li><a href="snes.html">Super Nintendo Entertainment System/Super Famicom</a> [snes]<ul></ul></li><li><a href="vb.html">Virtual Boy</a> [vb]<ul></ul></li><li><a href="wswan.html">WonderSwan</a> [wswan]<ul></ul></li></ul></li><li><a href="cheat.html">Cheat Guide</a><ul></ul></li><li><a href="debugger.html">Debugger</a><ul></ul></li><li><a href="netplay.html">Network Play</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits">Licenses, Copyright Notices, and Code Credits</a><ul><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01libmpcdec">libmpcdec</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Tremor">Tremor</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Gb_Snd_Emu">Gb_Snd_Emu</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Blip_Buffer">Blip_Buffer</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Sms_Snd_Emu%28base+for+T6W28_Apu+NGP+code%29">Sms_Snd_Emu(base for T6W28_Apu NGP code)</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Handy">Handy</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01PC2e+%28Used+in+portions+of+PC+Engine+CD+emulation%29">PC2e (Used in portions of PC Engine CD emulation)</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Scale2x">Scale2x</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01hq2x%2C+hq3x%2C+hq4x">hq2x, hq3x, hq4x</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01nes_ntsc">nes_ntsc</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%012xSaI">2xSaI</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01VisualBoyAdvance+GameBoy+and+GBA+code">VisualBoyAdvance GameBoy and GBA code</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01trio">trio</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01ConvertUTF">ConvertUTF</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01MD5+Hashing">MD5 Hashing</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01V810+Emulator">V810 Emulator</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Unzipping+Code">Unzipping Code</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01MiniLZO">MiniLZO</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Fuse+Z80+emulation+code">Fuse Z80 emulation code</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01NeoPop+Neo+Geo+Pocket+%28Color%29+Code">NeoPop Neo Geo Pocket (Color) Code</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01PC-FX+MJPEG+Decoding">PC-FX MJPEG Decoding</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01VRC7+Sound+Emulation">VRC7 Sound Emulation</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01NEC+V30MZ+Emulator">NEC V30MZ Emulator</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01NEC+V30MZ+disassembler%28modified+BOCHS+x86+disassembler%29">NEC V30MZ disassembler(modified BOCHS x86 disassembler)</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Cygne">Cygne</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01FCE+Ultra">FCE Ultra</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01QuickLZ">QuickLZ</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Q-Subchannel+CRC16+Code">Q-Subchannel CRC16 Code</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01SMS+Plus">SMS Plus</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Genesis+Plus">Genesis Plus</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Genesis+Plus+GX">Genesis Plus GX</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01EMU2413%28used+in+SMS+emulation%29">EMU2413(used in SMS emulation)</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01blz">blz</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01CD-ROM+data+correction+code">CD-ROM data correction code</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01C68K">C68K</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01YM2612+Emulator">YM2612 Emulator</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Sega+Genesis+SVP%2FSSP16+Emulator">Sega Genesis SVP/SSP16 Emulator</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Speex+Resampler">Speex Resampler</a><ul></ul></li><li><a href="#Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01SABR+v3.0+Shader">SABR v3.0 Shader</a><ul></ul></li></ul></li></ul><hr width="100%">
 <h2><a name="Introduction">Introduction</a></h2><p></p> <p>
 This main document covers general Mednafen usage, generally regardless of which system is being emulated.  Documentation covering key assignments, settings, and related information for each system emulation module is linked to in the table of contents under "Emulation Module Documentation".
 </p>

 <p>
  The term "movie" used in this documentation refers to save-state and recorded input stream stored in a file, generally usable only in Mednafen itself.<br>
  The terms "audio/video movie", "QuickTime movie", and variations thereof refer to audio and video data recorded and stored in a file, and
  usable with external programs.
 </p>
  <h3><a name="Section_base_directory">Base Directory</a></h3><p></p>   <p>
    Mednafen's "base directory" is the directory under which Mednafen stores its data and
    looks for various auxillary data by default.  If the "<b>HOME</b>" environment variable is set, it will be suffixed with "/.mednafen"
    and used as the base directory(in other words ~/.mednafen, or $HOME/.mednafen).  If the "<b>MEDNAFEN_HOME</b>" environment variable is set,
    it will be used as the base directory.  If neither the "HOME" nor "MEDNAFEN_HOME" environment
    variable is set, and the current user has an entry in the password file, the corresponding home directory
    will be used as if it were the "HOME" environment variable.
   </p>

   <p>
    On Microsoft Windows, these conditions are typically
    not met, in which case the directory the Mednafen executable("mednafen.exe") is in will be used as the base directory.
   </p>

   <p>
    If none of the preceding conditions were met, then you're doomed, doomy doomy DOOMED, GOTO DOOM.
   </p>

  <hr width="75%">
 <hr width="75%">
 <h2><a name="Core+Features">Core Features</a></h2><p></p> <ul>
  <li>Physical joystick/gamepad support.</li>
  <li>Versatile input configuration system; assign multiple physical buttons to a virtual button or action.</li>
  <li>Multiple graphics filters and scaling modes.</li>
  <li>Save states.</li>
  <li>Real-time game rewinding.</li>
  <li>Screen snapshots, saved in PNG format.</li>
  <li>QuickTime movie recording.</li>
  <li>MS WAV-format sound logging.</li>
  <li>Loading games from gzip and (pk)zip compressed archives.</li>
  <li>Network play(utilizing an external dedicated server program).</li>
</ul>

 <h3><a name="Section_cdrom_emulation">CD Emulation</a></h3><p></p> <p>
  Mednafen can load CD-ROM games from a physical CD, or a ripped/dumped copy of the disc, such as CUE+BIN.
  Using a ripped copy of the disc is <b>strongly</b> recommended for performance and data consistency.
 </p>

<h4><a name="Core+Features%01CD+Emulation%01Physical+CDs">Physical CDs</a></h4><p></p> Physical CD access is done via <a href="http://www.gnu.org/s/libcdio/">libcdio</a>, using SCSI Multimedia Commands.
 Only drives that support reading and returning raw P-W subchannel data, CD-DA data, and 2352-byte raw data sector data
 are supported.  Note that some drives have buggy firmware and may return subchannel data
 for a following or preceding sector/frame, sometimes out of order, and this can compromise or break the program
 being emulated.
<hr width="50%">
<h4><a name="Core+Features%01CD+Emulation%01Ripped+Disc+Images">Ripped Disc Images</a></h4><p></p> <p>
  For ripped disc images, Mednafen supports "CUE" sheets, CloneCD "CCD/IMG/SUB" rips, and cdrdao "TOC" files; though only a very limited
  subset of the latter's full capabilities is supported.  Mednafen supports raw, simple storage formats supported by
  <a href="http://www.mega-nerd.com/libsndfile/">libsndfile</a>(MS WAV, AIFF/AIFC, AU/SND, etc.), and <a href="http://xiph.org/vorbis/">Ogg Vorbis</a> and <a href="http://www.musepack.net/">Musepack</a> audio files referenced by CUE sheets.
  MP3 is not supported, and will not be supported.
 </p>
 <p>
  The cdrdao "TOC" support in Mednafen includes support for "RW_RAW" subchannel data, needed for CD+G.  Note that Mednafen assumes that the Q subchannel
  is also included in the RW_RAW data area in the ripped image(even though the name "RW_RAW" would suggest it isn't present, cdrdao seems to included it).  If
  the Q subchannel data is missing from the RW_RAW data area in the ripped image, Mednafen's CD emulation will not work properly.
 </p>
 <p>
  Since 0.8.4, Mednafen will perform simple data correction on ripped CDROM images that contain EDC and L-EC data(2352-byte-per-sector "raw" rips").
  It calculates the real EDC, and if it doesn't match the EDC recorded for that sector, it will evaluate the L-EC data to repair the data.  If the
  data is unrepairable, an error message will be displayed.
  <br>
  <b>This may cause problems with naive patches that don't update the error-correction data(at least the 32-bit EDC, if that's correct, the L-EC data will
  be ignored)!</b>
 </p>
 <p>
  Enabling the <a href="#cd.image_memcache">cd.image_memcache</a> option is recommended in many situations; read the setting description
  for more details.<br><b>CAUTION:</b> When using a 32-bit build of Mednafen on Windows or a 32-bit operating system, Mednafen may run out of address
  space(and error out, possibly in the middle of emulation) if this option is enabled when loading large disc sets(e.g. 3+ discs) via M3U files.
 </p>
<hr width="50%">
<h4><a name="Section_multicd_games">Multiple-CD Games</a></h4><p></p> <p>
  To play a game that consists of more than one CD, and you are using ripped disc images, you will need to create an
  M3U file(plain-text, ".m3u" extension), and enter the filenames of the CUE/TOC/CCD files, one per line.  Load the M3U file
  with Mednafen instead of the CUE/TOC/CCD files, and use the F6 and F8 keys to switch among the various discs available.
  <br>
  <b>Note:</b> Preferably, your M3U file(s) should reference CUE/TOC/CCD files that are in the same directory as the M3U file,
  otherwise you will likely need to alter the <a href="#filesys.untrusted_fip_check">filesys.untrusted_fip_check</a> setting.
 </p>

 <p>
  Support for multi-disc games when using physical CDs is somewhat clunky.  To begin with, you'll need to start Mednafen with
  the first disc of the set in the drive.  To switch to a different disc, press the F8 key, which should eject the disc.  If
  the disc fails to eject, use the drive's eject button, and press F8 again so that Mednafen displays a message like
  "Virtual CD Drive Tray Open".  Place the disc you're switching to in the drive, close the lid/tray/whatever(if applicable), and press
  the F8 key again.  If you're using a standard PC-type drive with extending tray, you may just press F8 to close the tray instead
  of manually closing it and then pressing F8.
 </p>
 <hr width="50%">
 <h4><a name="Section_cdg">CD+G</a></h4><p></p>  Both the <a href="pce.html">PC Engine (CD)</a> and <a href="pcfx.html">PC-FX</a> emulation modules support CD+G playback; however,
  the PC-FX BIOS doesn't appear to be as resilient when dealing with scratched discs/damaged data as the PC Engine CD BIOS is.
  <br><br>
  <b>Note:</b> CD+G graphics data is stored in the R-W subchannel data of discs.  You must either use a physical CD with this data,
  or a rip that includes this data(such as in the cdrdao TOC or CloneCD formats; CUE format definitely isn't going to work).
 <hr width="50%">
 <h4><a name="Section_photocdportfolio">PhotoCD Portfolio</a></h4><p></p>  The <a href="pcfx.html">PC-FX</a> emulation module supports low-resolution single-session Kodak "PhotoCD Portfolio" disc playback.
  Hardware features to support multi-session CDs are not fully emulated; they may or may not work.
 <hr width="50%">
 <hr width="50%">
 <h3><a name="Section_security">Security Issues</a></h3><p></p>
 This section discusses various known design flaws/choices, bugs, and limitations in Mednafen that have security implications.

 <h4><a name="Section_security_savestates">Save States</a></h4><p></p> Causing Mednafen to lock-up, abort, or consume large amounts of CPU time via loading a specially-constructed save state is
 a trivial exercise.  It is hypothetically possible to overflow some buffers on some emulated systems by clever
 manipulation of saved timekeeping variables.  In combination with custom emulated machine code and state, it may therefore
 be possible to run arbitrary host code, compromising the host system. <b>Therefore, loading save states from parties
 you have reason to distrust, or not trust, is advised against.</b>
 <hr width="50%">
 <h4><a name="Core+Features%01Security+Issues%01CD+rips+and+PSF%28PSF1%2C+GSF%2C+etc.%29+Files">CD rips and PSF(PSF1, GSF, etc.) Files</a></h4><p></p> <p>
 CUE and TOC, and PSF(PSF1, GSF, etc.) files can reference arbitrary files for inclusion and parsing.  Inclusion of
 device files may cause odd system behavior, particularly if you are running Mednafen as root(which you shouldn't be!) on a
 UN*X system, or cause Mednafen to lockup or abort.  <b>In combination with save states, this file inclusion presents
 the possibility of leaking of private local information;</b> for example, if an attacker supplies a CD rip or PSF rip that
 you subsequently run, and can convince you to save a state and send it back, or to connect to a network play server(in
 which save states are automatically utilized), the attacker may then have access to local private data from your
 system.  The setting <a href="#filesys.untrusted_fip_check">filesys.untrusted_fip_check</a>, when set to 1(the default), will enable
 checks that mitigate this potential problem.
 </p>
 <hr width="50%">
 <h4><a name="Section_security_netplay">Network Play</a></h4><p></p> <p>
 Mednafen's network play automatically utilizes save states to synchronize state among newly connected players, and
 thereafter at connected players' command.  Hence, any security issues relating to save states apply to network play as well.
 </p>

 <p>
 Additionally, network problems, or a malicious network play server or player, may cause Mednafen to lock up or consume large
 amounts of CPU time processing received data.
 </p>
 <hr width="50%">
 <hr width="50%">
 <h3><a name="Core+Features%01Using+Mednafen">Using Mednafen</a></h3><p></p> <p>
 
 </p>
 <h4><a name="Core+Features%01Using+Mednafen%01Key+Assignments">Key Assignments</a></h4><p></p> <p>
  A single-press (un)pause function can be achieved by mapping the <a href="#command.advance_frame">frame advance</a> and
  <a href="#command.run_normal">exit frame advance mode/run normal</a> functions to the same key via the
  <a href="#command.input_configc">command key mapping</a> function.
 </p>
 <p>
 </p>
 <table border>
 <tr><th>Key(s):</th><th>Action:</th><th>Configuration String:</th></tr>
 <tr><td>F1</td><td><a name="command.toggle_help">Toggle in-game quick help screen.</a></td><td>toggle_help</td></tr>
 <tr><td>F5</td><td><a name="command.save_state">Save state.</a></td><td>save_state</td></tr>
 <tr><td>F7</td><td><a name="command.load_state">Load state.</a></td><td>load_state</td></tr>
 <tr><td>0-9</td><td>Select save state slot.</td><td>"0" through "9"</td></tr>
 <tr><td>-</td><td><a name="command.state_slot_dec">Decrement selected save state slot.</a></td><td>state_slot_dec</td></tr>
 <tr><td>=</td><td><a name="command.state_slot_inc">Increment selected save state slot.</a></td><td>state_slot_inc</td></tr>
 <tr><td>ALT + S</td><td>Toggle <a href="#srwframes">600-frame(~10 seconds on NES)</a> save-state rewinding functionality, disabled by default.</td><td>state_rewind_toggle</td></tr>
 <tr><td>Shift + F5</td><td>Record movie.</td><td>save_movie</td></tr>
 <tr><td>Shift + F7</td><td>Play movie.</td><td>load_movie</td></tr>
 <tr><td>Shift + 0-9</td><td>Select movie slot.</td><td>"m0" through "m9"</td></tr>
 <tr><td>ALT + C</td><td>Toggle cheat console.</td><td>togglecheatview</td></tr>
 <tr><td>ALT + T</td><td>Toggle cheats active.</td><td>togglecheatactive</td></tr>
 <tr><td>T</td><td>Enable network play console input.</td><td>togglenetview</td></tr>
 <tr><td>ALT + D</td><td>Toggle debugger.</td><td>toggle_debugger</td></tr>
 <tr><th>Key(s):</th><th>Action:</th><th>Configuration String:</th></tr>
 <tr><td>ALT + A</td><td><a name="command.advance_frame">Enter frame advance mode, or advance the frame if already in it.</a></td><td>advance_frame</td></tr>
 <tr><td>ALT + R</td><td><a name="command.run_normal">Exit frame advance mode.</a></td><td>run_normal</td></tr>
 <tr><td>SHIFT + F1</td><td>Toggle frames-per-second display(from top to bottom, the display format is: virtual, rendered, blitted).</td><td>toggle_fps_view</td></tr>
 <tr><td>Backspace</td><td>Rewind emulation, if save-state rewinding functionality is enabled, up to <a href="#srwframes">600 frames</a>.</td><td>state_rewind</td></tr>
 <tr><td>F9</td><td>Save (rawish) screen snapshot.</td><td>take_snapshot</td></tr>
 <tr><td>SHIFT + F9</td><td>Save screen snapshot, taken after all scaling and special filters/shaders are applied.</td><td>take_scaled_snapshot</td></tr>
 <tr><td>ALT + O</td><td>Rotate the screen</td><td>rotate_screen</td></tr>
 <tr><td>Alt + Enter</td><td>Toggle fullscreen mode.</td><td>toggle_fs</td></tr>
 <tr><td nowrap>Ctrl + 1<br>through<br>Ctrl + 9</td><td>Toggle layer.</td><td>"tl1" through "tl9"</td></tr>
 <tr><td>`</td><td>Fast-forward.</td><td>fast_forward</td></tr>
 <tr><td>\</td><td>Slow-forward.</td><td>slow_forward</td></tr>
 <tr><th>Key(s):</th><th>Action:</th><th>Configuration String:</th></tr>
 <tr><td>F3</td><td><a name="command.input_config_abd">Detect analog buttons on physical joysticks/gamepads(for use with the input configuration process).</a>
<p>
                  Twirl all sticks and D-pads and press all analog buttons on any physical gamepads/joysticks with analog buttons you want
                  to use in the input configuration process, then press F3.  Then, configure input as normal.  The detected analog buttons
                  will be recognized during input configuration until Mednafen exits;  if you exit Mednafen and restart, and want to configure
                  input devices again, you'll need to repeat the twirling-pressing-F3 process again).
</p>
</td><td>input_config_abd</td></tr>

 <tr><td nowrap>ALT + SHIFT + [<i>n</i>]</td><td>Configure buttons for emulated device on input port <i>n</i>(1-8).</td><td>input_config<i>n</i></td></tr>
 <tr><td nowrap>CTRL + SHIFT + [<i>n</i>]</td><td>Select input device on input port <i>n</i>(1-8).<br /><br /><b>Note:</b> Many games do not expect input devices to change while the game is running, and thus may require a hard reset.</td><td>device_select<i>n</i></td></tr>
 <tr><td>F2</td><td><a name="command.input_configc">Activate in-game input configuration process for a command key.</a></td><td>input_configc</td></tr>
 <tr><td>SHIFT + F2</td><td>Like F2, but after configuration completes, to activate the configured command key will require all buttons configured to it to be in a pressed state simultaneously to trigger the action.  Note that keyboard modifier keys(CTRL, ALT, SHIFT) are still treated as modifiers and not discrete keys.<br><br>Especially useful in conjunction with the <a href="#ckdelay">ckdelay</a> setting.</td><td>input_configc_am</td></tr>
 <tr><td nowrap>Scroll Lock</td><td>Toggle input grabbing(use this to use the PC Engine mouse properly in windowed mode).</td><td>toggle_grab_input</td></tr>
 <tr><td>Shift + Scroll Lock</td><td>Toggle input grabbing AND command disabling(used for giving almost unhindered button access to an emulated device; most useful when emulating the Famicom's Family Keyboard).</td><td>toggle_cdisable</td></tr>
 <tr><th>Key(s):</th><th>Action:</th><th>Configuration String:</th></tr>
 <tr><td>F10</td><td>Reset.</td><td>reset</td></tr>
 <tr><td>F11</td><td>Hard reset(toggle power switch).</td><td>power</td></tr>
 <tr><td>Escape/F12</td><td>Exit(the emulator, or netplay chat mode).</td><td>exit</td></tr>
 </table>

 <hr width="50%">
 <h4><a name="Core+Features%01Using+Mednafen%01Command-line">Command-line</a></h4><p></p> <p>
  Mednafen supports options passed on the command line.   Options
  are taken in the form of "-option value".  Some options are valueless.
 </p>
 <p>
  In addition to the options listed in the table below, any setting listed in the "Settings" section of this document and any system emulation module sub-document can be set by prefixing it with
  a hyphen(-), followed by the value, such as: -nes.slstart 8
</p>
  <table border>
   <tr><th>Option:</th><th>Value Type:</th><th>Description:</th></tr>
   <tr><td>-physcd</td><td><i>(n/a)</i></td><td><a name="physcd">Load and boot from a physical CD.</a><br><br>This argument modifies the usage of the filename component of the command-line, making it optional and treating it as the optical disc drive device name.<br>Examples:
<ul><li>mednafen -physcd</li><li>mednafen -physcd /dev/sr0</li><li>mednafen -physcd \\.\E:</li></ul></td></tr>
   <tr><td nowrap>-force_module x</td><td>string</td><td>Force usage of specified emulation module.</td></tr>

   <tr><td>-connect</td><td><i>(n/a)</i></td><td>Trigger to connect to remote host after the game is loaded.</td></tr>
   <tr><td nowrap>-soundrecord x</td><td>string</td><td>Record sound output to the specified filename in the MS WAV format.</td></tr>
   <tr><td nowrap>-qtrecord x</td><td>string</td><td>Record video and audio output to the specified filename in the QuickTime format.</td></tr>
  </table>
 <hr width="50%">
<h4><a name="Core+Features%01Using+Mednafen%01Configuration+Files">Configuration Files</a></h4><p></p> <p>
  Mednafen loads/saves its settings from/to a primary configuration file, named "<b>mednafen-09x.cfg</b>", under the Mednafen
  <a href="#Section_base_directory">base directory</a>.  This file is created and written to when Mednafen shuts down.
 </p>
 <p>
  Mednafen also loads override settings from optional per-module override configuration files, also located directly under the
  Mednafen <a href="#Section_base_directory">base directory</a>.  The general pattern for the naming of these user-created
  files is "&lt;<b>system</b>&gt;<b>.cfg</b>"; e.g. "<b>nes.cfg</b>", "<b>pce.cfg</b>", "<b>gba.cfg</b>", "<b>psx.cfg</b>", etc.  This allows for overriding global settings
  on a per-module basis.  The configuration override files will <b>NOT</b> be written to by Mednafen, and they will generally not
  alter the settings in the primary configuration file, unless a user action occurs that causes new setting values to be generated
  based on the current active setting value(such as toggling full-screen mode inside the emulator, for instance).  Some settings
  currently cannot be overridden properly:
  <ul>
   <li>cd.image_memcache</li>
   <li>&lt;system&gt;.enable</li>
  </ul>
 </p>
<hr width="50%">

<h4><a name="Core+Features%01Using+Mednafen%01Global+Settings+Reference">Global Settings Reference</a></h4><p></p><p>
<b>Caution:</b> Any settings that change emulation behavior as seen from the emulated game are shown with the setting name bolded in the table. One should be conscious of these settings if one has changed them from the default values when using network play or movies, as they can cause desychronizations if not set the same among hosts(or between the recording emulator and the playing emulator). 
</p>
<p></p><table border><tr class="TableHeader"><th>Setting:</th><th>Value Type:</th><th>Possible Values:</th><th>Default Value:</th><th>Description:</th></tr><tr class="RowA"><td class="ColA">autosave</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="autosave">Automatic load/save state on game load/save.</a><p>Automatically save and load save states when a game is closed or loaded, respectively.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">cd.image_memcache</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="cd.image_memcache">Cache entire CD images in memory.</a><p>Reads the entire CD image(s) into memory at startup(which will cause a small delay).  Can help obviate emulation hiccups due to emulated CD access.  May cause more harm than good on low memory systems, systems with swap enabled, and/or when the disc images in question are on a fast SSD.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">cheats</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">1</td><td class="ColE"><a name="cheats">Enable cheats.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">debugger.autostepmode</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="debugger.autostepmode">Automatically go into the debugger's step mode after a game is loaded.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">ffnosound</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="ffnosound">Silence sound output when fast-forwarding.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">ffspeed</td><td class="ColB">real</td><td class="ColC">1 <i>through</i> 15</td><td class="ColD">4</td><td class="ColE"><a name="ffspeed">Fast-forwarding speed multiplier.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">fftoggle</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="fftoggle">Treat the fast-forward button as a toggle.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">filesys.disablesavegz</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="filesys.disablesavegz">Disable gzip compression when saving save states and backup memory.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">filesys.fname_movie</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">%f.%M%p.%x</td><td class="ColE"><a name="filesys.fname_movie">Format string for movie filename.</a><p>See <a href="fname_format.txt">fname_format.txt</a> for more information.  Edit at your own risk.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">filesys.fname_sav</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">%F.%M%x</td><td class="ColE"><a name="filesys.fname_sav">Format string for save games filename.</a><p>WARNING: %x should always be included, otherwise you run the risk of overwriting save data for games that create multiple save data files.<br>
<br>
See <a href="fname_format.txt">fname_format.txt</a> for more information.  Edit at your own risk.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">filesys.fname_snap</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">%f-%p.%x</td><td class="ColE"><a name="filesys.fname_snap">Format string for screen snapshot filenames.</a><p>WARNING: %x or %p should always be included, otherwise there will be a conflict between the numeric counter text file and the image data file.<br>
<br>
See <a href="fname_format.txt">fname_format.txt</a> for more information.  Edit at your own risk.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">filesys.fname_state</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">%f.%M%X</td><td class="ColE"><a name="filesys.fname_state">Format string for state filename.</a><p>See <a href="fname_format.txt">fname_format.txt</a> for more information.  Edit at your own risk.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">filesys.path_cheat</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">cheats</td><td class="ColE"><a name="filesys.path_cheat">Path to directory for cheats.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">filesys.path_firmware</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">firmware</td><td class="ColE"><a name="filesys.path_firmware">Path to directory for firmware.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">filesys.path_movie</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">mcm</td><td class="ColE"><a name="filesys.path_movie">Path to directory for movies.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">filesys.path_palette</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">palettes</td><td class="ColE"><a name="filesys.path_palette">Path to directory for custom palettes.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">filesys.path_sav</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">sav</td><td class="ColE"><a name="filesys.path_sav">Path to directory for save games and nonvolatile memory.</a><p>WARNING: Do not set this path to a directory that contains Famicom Disk System disk images, or you will corrupt them when you load an FDS game and exit Mednafen.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">filesys.path_snap</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">snaps</td><td class="ColE"><a name="filesys.path_snap">Path to directory for screen snapshots.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">filesys.path_state</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">mcs</td><td class="ColE"><a name="filesys.path_state">Path to directory for save states.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">filesys.untrusted_fip_check</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">1</td><td class="ColE"><a name="filesys.untrusted_fip_check">Enable untrusted file-inclusion path security check.</a><p>When this setting is set to "1", the default, paths to files referenced from files like CUE sheets and PSF rips are checked for certain characters that can be used in directory traversal, and if found, loading is aborted.  Set it to "0" if you want to allow constructs like absolute paths in CUE sheets, but only if you understand the security implications of doing so(see "Security Issues" section in the documentation).</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">input.autofirefreq</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 1000</td><td class="ColD">3</td><td class="ColE"><a name="input.autofirefreq">Auto-fire frequency.</a><p>Auto-fire frequency = GameSystemFrameRateHz / (value + 1)</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">input.ckdelay</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 99999</td><td class="ColD">0</td><td class="ColE"><a name="input.ckdelay">Dangerous key action delay.</a><p>The length of time, in milliseconds, that a button/key corresponding to a "dangerous" command like power, reset, exit, etc. must be pressed before the command is executed.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">input.joystick.axis_threshold</td><td class="ColB">real</td><td class="ColC">0 <i>through</i> 100</td><td class="ColD">75</td><td class="ColE"><a name="input.joystick.axis_threshold">Analog axis binary press detection threshold.</a><p>Threshold for detecting a digital-like "button" press on analog axis, in percent.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">input.joystick.global_focus</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">1</td><td class="ColE"><a name="input.joystick.global_focus">Update physical joystick(s) internal state in Mednafen even when Mednafen lacks OS focus.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">netplay.gamekey</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD"></td><td class="ColE"><a name="netplay.gamekey">Key to hash with the MD5 hash of the game.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">netplay.host</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">netplay.fobby.net</td><td class="ColE"><a name="netplay.host">Server hostname.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">netplay.localplayers</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 16</td><td class="ColD">1</td><td class="ColE"><a name="netplay.localplayers">Local player count.</a><p>Number of local players for network play.  This number is advisory to the server, and the server may assign fewer players if the number of players requested is higher than the number of controllers currently available.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">netplay.nick</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD"></td><td class="ColE"><a name="netplay.nick">Nickname.</a><p>Nickname to use for network play chat.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">netplay.password</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD"></td><td class="ColE"><a name="netplay.password">Server password.</a><p>Password to connect to the netplay server.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">netplay.port</td><td class="ColB">integer</td><td class="ColC">1 <i>through</i> 65535</td><td class="ColD">4046</td><td class="ColE"><a name="netplay.port">Server port.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">netplay.smallfont</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="netplay.smallfont">Use small(tiny!) font for netplay chat console.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">nothrottle</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="nothrottle">Disable speed throttling when sound is disabled.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">osd.alpha_blend</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">1</td><td class="ColE"><a name="osd.alpha_blend">Enable alpha blending for OSD elements.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">osd.state_display_time</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 15000</td><td class="ColD">2000</td><td class="ColE"><a name="osd.state_display_time">The length of time, in milliseconds, to display the save state or the movie selector after selecting a state or movie.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">qtrecord.h_double_threshold</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 1073741824</td><td class="ColD">256</td><td class="ColE"><a name="qtrecord.h_double_threshold">Double the raw image's height if it's below this threshold.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">qtrecord.vcodec</td><td class="ColB">enum</td><td class="ColC">raw<br>cscd<br>png</td><td class="ColD">cscd</td><td class="ColE"><a name="qtrecord.vcodec">Video codec to use.</a><ul><li><b>raw</b> - Raw<br>A fast codec, computationally, but will cause enormous file size and may exceed your storage medium's sustained write rate.</li><br><li><b>cscd</b> - CamStudio Screen Codec<br>A good balance between performance and compression ratio.</li><br><li><b>png</b> - PNG<br>Has a better compression ratio than "cscd", but is much more CPU intensive.  Use for compatibility with official QuickTime in cases where you have insufficient disk space for "raw".</li></ul></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">qtrecord.w_double_threshold</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 1073741824</td><td class="ColD">384</td><td class="ColE"><a name="qtrecord.w_double_threshold">Double the raw image's width if it's below this threshold.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">sfspeed</td><td class="ColB">real</td><td class="ColC">0.25 <i>through</i> 1</td><td class="ColD">0.75</td><td class="ColE"><a name="sfspeed">SLOW-forwarding speed multiplier.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">sftoggle</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="sftoggle">Treat the SLOW-forward button as a toggle.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">sound</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">1</td><td class="ColE"><a name="sound">Enable sound output.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">sound.buffer_time</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 1000</td><td class="ColD">0</td><td class="ColE"><a name="sound.buffer_time">Desired buffer size in milliseconds(ms).</a><p>The default value of 0 enables automatic buffer size selection.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">sound.device</td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD">default</td><td class="ColE"><a name="sound.device">Select sound output device.</a><p>When using ALSA sound output under Linux, the "sound.device" setting "default" is Mednafen's default, IE "hw:0", not ALSA's "default". If you want to use ALSA's "default", use "sexyal-literal-default".</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">sound.driver</td><td class="ColB">enum</td><td class="ColC">default<br>alsa<br>oss<br>wasapish<br>dsound<br>wasapi<br>sdl<br>jack</td><td class="ColD">default</td><td class="ColE"><a name="sound.driver">Select sound driver.</a><p>The following choices are possible, sorted by preference, high to low, when "default" driver is used, but dependent on being compiled in.</p><ul><li><b>default</b> - Default<br>Selects the default sound driver.</li><br><li><b>alsa</b> - ALSA<br>The default for Linux(if available).</li><br><li><b>oss</b> - Open Sound System<br>The default for non-Linux UN*X/POSIX/BSD systems, or anywhere ALSA is unavailable. If the ALSA driver gives you problems, you can try using this one instead.<br>
<br>
If you are using OSSv4 or newer, you should edit "/usr/lib/oss/conf/osscore.conf", uncomment the max_intrate= line, and change the value from 100(default) to 1000(or higher if you know what you're doing), and restart OSS. Otherwise, performance will be poor, and the sound buffer size in Mednafen will be orders of magnitude larger than specified.<br>
<br>
If the sound buffer size is still excessively larger than what is specified via the "sound.buffer_time" setting, you can try setting "sound.period_time" to 2666, and as a last resort, 5333, to work around a design flaw/limitation/choice in the OSS API and OSS implementation.</li><br><li><b>wasapish</b> - WASAPI(Shared Mode)<br>The default when it's available(running on Microsoft Windows Vista and newer).</li><br><li><b>dsound</b> - DirectSound<br>The default for Microsoft Windows XP and older.</li><br><li><b>wasapi</b> - WASAPI(Exclusive Mode)<br>Experimental exclusive-mode WASAPI driver, usable on Windows Vista and newer.  Use it for lower-latency sound.  May not work properly on all sound cards.</li><br><li><b>sdl</b> - Simple Directmedia Layer<br>This driver is not recommended, but it serves as a backup driver if the others aren't available. Its performance is generally sub-par, requiring higher latency or faster CPUs/SMP for glitch-free playback, except where the OS provides a sound callback API itself, such as with Mac OS X and BeOS.</li><br><li><b>jack</b> - JACK<br>The latency reported during startup is for the local sound buffer only and does not include server-side latency.  Please note that video card drivers(in the kernel or X), and hardware-accelerated OpenGL, may interfere with jackd's ability to effectively run with realtime response.</li></ul></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">sound.period_time</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 100000</td><td class="ColD">0</td><td class="ColE"><a name="sound.period_time">Desired period size in microseconds(μs).</a><p>Currently only affects OSS, ALSA, WASAPI(exclusive mode), and SDL output.  A value of 0 defers to the default in the driver code in SexyAL.<br>
<br>
Note: This is not the "sound buffer size" setting, that would be "sound.buffer_time".</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">sound.rate</td><td class="ColB">integer</td><td class="ColC">22050 <i>through</i> 192000</td><td class="ColD">48000</td><td class="ColE"><a name="sound.rate">Specifies the sound playback rate, in sound frames per second("Hz").</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">sound.volume</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 150</td><td class="ColD">100</td><td class="ColE"><a name="sound.volume">Sound volume level, in percent.</a><p>Setting this volume control higher than the default of "100" may severely distort the sound.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">srwcompressor</td><td class="ColB">enum</td><td class="ColC">minilzo<br>quicklz<br>blz</td><td class="ColD">quicklz</td><td class="ColE"><a name="srwcompressor">Compressor to use with state rewinding</a><ul><li><b>minilzo</b> - MiniLZO<br></li><br><li><b>quicklz</b> - QuickLZ<br></li><br><li><b>blz</b> - BLZ<br></li></ul></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">srwframes</td><td class="ColB">integer</td><td class="ColC">10 <i>through</i> 99999</td><td class="ColD">600</td><td class="ColE"><a name="srwframes">Number of frames to keep states for when state rewinding is enabled.</a><p>WARNING: Setting this to a large value may cause excessive RAM usage in some circumstances, such as with games that stream large volumes of data off of CDs.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">video.blit_timesync</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">1</td><td class="ColE"><a name="video.blit_timesync">Enable time synchronization(waiting) for frame blitting.</a><p>Disable to reduce latency, at the cost of potentially increased video "juddering", with the maximum reduction in latency being about 1 video frame's time.<br>
Will work best with emulated systems that are not very computationally expensive to emulate, combined with running on a relatively fast CPU.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">video.deinterlacer</td><td class="ColB">enum</td><td class="ColC">weave<br>bob<br>bob_offset</td><td class="ColD">weave</td><td class="ColE"><a name="video.deinterlacer">Deinterlacer to use for interlaced video.</a><ul><li><b>weave</b> - Good for low-motion video; can be used in conjunction with negative <system>.scanlines setting values.<br></li><br><li><b>bob</b> - Good for causing a headache.  All glory to Bob.<br></li><br><li><b>bob_offset</b> - Good for high-motion video, but is a bit flickery; reduces the subjective vertical resolution.<br></li></ul></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">video.disable_composition</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">1</td><td class="ColE"><a name="video.disable_composition">Attempt to disable desktop composition.</a><p>Currently, this setting only has an effect on Windows Vista and Windows 7(and probably the equivalent server versions as well).</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">video.driver</td><td class="ColB">enum</td><td class="ColC">opengl<br>sdl<br>overlay</td><td class="ColD">opengl</td><td class="ColE"><a name="video.driver">Video output method/driver.</a><ul><li><b>opengl</b> - OpenGL + SDL<br>This output method is preferred, as all features are available with it.</li><br><li><b>sdl</b> - SDL Surface<br>Slower with lower-quality scaling than OpenGL, but if you don't have hardware-accelerated OpenGL rendering, it will be faster than software OpenGL rendering. Bilinear interpolation not available. Pixel shaders do not work with this output method, of course.</li><br><li><b>overlay</b> - SDL Overlay<br>As fast as OpenGL, perhaps faster in some situations, *if* it's hardware-accelerated. Scanline effects are not available. hq2x, hq3x, hq4x are not available. The OSD may be missing or glitchy. PSX emulation will not display properly. Bilinear interpolation can't be turned off. Harsh chroma subsampling blurring in some picture types.  If you use this output method, it is strongly recommended to use a special scaler with it, such as nn2x.</li></ul></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">video.frameskip</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">1</td><td class="ColE"><a name="video.frameskip">Enable frameskip during emulation rendering.</a><p>Disable for rendering code performance testing.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">video.fs</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="video.fs">Enable fullscreen mode.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">video.glvsync</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">1</td><td class="ColE"><a name="video.glvsync">Attempt to synchronize OpenGL page flips to vertical retrace period.</a><p>Note: Additionally, if the environment variable "__GL_SYNC_TO_VBLANK" does not exist, then it will be created and set to the value specified for this setting.  This has the effect of forcibly enabling or disabling vblank synchronization when running under Linux with NVidia's drivers.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
</table><p></p><table border><tr class="TableHeader"><th>Setting:</th><th>Value Type:</th><th>Possible Values:</th><th>Default Value:</th><th>Description:</th></tr><tr class="RowA"><td class="ColA">&lt;system&gt;.enable</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">1</td><td class="ColE"><a name="&lt;system&gt;.enable">Enable (automatic) usage of this module.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">&lt;system&gt;.forcemono<br><ul><li>cdplay</li><li>demo</li><li>gb</li><li>gba</li><li>gg</li><li>lynx</li><li>md</li><li>ngp</li><li>pce</li><li>pce_fast</li><li>pcfx</li><li>psx</li><li>sms</li><li>snes</li><li>vb</li><li>wswan</li></ul></td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="&lt;system&gt;.forcemono">Force monophonic sound output.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">&lt;system&gt;.pixshader</td><td class="ColB">enum</td><td class="ColC">none<br>autoip<br>autoipsharper<br>scale2x<br>sabr<br>ipsharper<br>ipxnoty<br>ipynotx<br>ipxnotysharper<br>ipynotxsharper</td><td class="ColD">none</td><td class="ColE"><a name="&lt;system&gt;.pixshader">Enable specified OpenGL pixel shader.</a><p>Obviously, this will only work with the OpenGL "video.driver" setting, and only on cards and OpenGL implementations that support pixel shaders, otherwise you will get a black screen, or Mednafen may display an error message when starting up. Bilinear interpolation is disabled with pixel shaders, and any interpolation, if present, will be noted in the description of each pixel shader.</p><ul><li><b>none</b> - None/Disabled<br></li><br><li><b>autoip</b> - Auto Interpolation<br>Will automatically interpolate on each axis if the corresponding effective scaling factor is not an integer.</li><br><li><b>autoipsharper</b> - Sharper Auto Interpolation<br>Same as "autoip", but when interpolation is done, it is done in a manner that will reduce blurriness if possible.</li><br><li><b>scale2x</b> - Scale2x<br></li><br><li><b>sabr</b> - SABR v3.0<br>GPU-intensive.</li><br><li><b>ipsharper</b> - Sharper bilinear interpolation.<br></li><br><li><b>ipxnoty</b> - Linear interpolation on X axis only.<br></li><br><li><b>ipynotx</b> - Linear interpolation on Y axis only.<br></li><br><li><b>ipxnotysharper</b> - Sharper version of "ipxnoty".<br></li><br><li><b>ipynotxsharper</b> - Sharper version of "ipynotx".<br></li></ul></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">&lt;system&gt;.scanlines</td><td class="ColB">integer</td><td class="ColC">-100 <i>through</i> 100</td><td class="ColD">0</td><td class="ColE"><a name="&lt;system&gt;.scanlines">Enable scanlines with specified opacity.</a><p>Opacity is specified in %; IE a value of "100" will give entirely black scanlines.<br>
<br>
Negative values are the same as positive values for non-interlaced video, but for interlaced video will cause the scanlines to be overlaid over the previous field's lines(only if the video.deinterlacer setting is set to "weave", the default).</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">&lt;system&gt;.special</td><td class="ColB">enum</td><td class="ColC">none<br>hq2x<br>hq3x<br>hq4x<br>scale2x<br>scale3x<br>scale4x<br>2xsai<br>super2xsai<br>supereagle<br>nn2x<br>nn3x<br>nn4x<br>nny2x<br>nny3x<br>nny4x</td><td class="ColD">none</td><td class="ColE"><a name="&lt;system&gt;.special">Enable specified special video scaler.</a><p>The destination rectangle is NOT altered by this setting, so if you have xscale and yscale set to "2", and try to use a 3x scaling filter like hq3x, the image is not going to look that great. The nearest-neighbor scalers are intended for use with bilinear interpolation enabled, at high resolutions(such as 1280x1024; nn2x(or nny2x) + bilinear interpolation + fullscreen stretching at this resolution looks quite nice).</p><ul><li><b>none</b> - None/Disabled<br></li><br><li><b>hq2x</b> - hq2x<br></li><br><li><b>hq3x</b> - hq3x<br></li><br><li><b>hq4x</b> - hq4x<br></li><br><li><b>scale2x</b> - scale2x<br></li><br><li><b>scale3x</b> - scale3x<br></li><br><li><b>scale4x</b> - scale4x<br></li><br><li><b>2xsai</b> - 2xSaI<br></li><br><li><b>super2xsai</b> - Super 2xSaI<br></li><br><li><b>supereagle</b> - Super Eagle<br></li><br><li><b>nn2x</b> - Nearest-neighbor 2x<br></li><br><li><b>nn3x</b> - Nearest-neighbor 3x<br></li><br><li><b>nn4x</b> - Nearest-neighbor 4x<br></li><br><li><b>nny2x</b> - Nearest-neighbor 2x, y axis only<br></li><br><li><b>nny3x</b> - Nearest-neighbor 3x, y axis only<br></li><br><li><b>nny4x</b> - Nearest-neighbor 4x, y axis only<br></li></ul></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">&lt;system&gt;.stretch</td><td class="ColB">enum</td><td class="ColC">0<br>full<br>aspect<br>aspect_int<br>aspect_mult2</td><td class="ColD">aspect_mult2</td><td class="ColE"><a name="&lt;system&gt;.stretch">Stretch to fill screen.</a><ul><li><b>0</b> - Disabled<br></li><br><li><b>full</b> - Full<br>Full-screen stretch, disregarding aspect ratio.</li><br><li><b>aspect</b> - Aspect Preserve<br>Full-screen stretch as far as the aspect ratio(in this sense, the equivalent xscalefs == yscalefs) can be maintained.</li><br><li><b>aspect_int</b> - Aspect Preserve + Integer Scale<br>Full-screen stretch, same as "aspect" except that the equivalent xscalefs and yscalefs are rounded down to the nearest integer.</li><br><li><b>aspect_mult2</b> - Aspect Preserve + Integer Multiple-of-2 Scale<br>Full-screen stretch, same as "aspect_int", but rounds down to the nearest multiple of 2.</li></ul></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">&lt;system&gt;.tblur</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="&lt;system&gt;.tblur">Enable video temporal blur(50/50 previous/current frame by default).</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">&lt;system&gt;.tblur.accum</td><td class="ColB">boolean</td><td class="ColC">0<br>1</td><td class="ColD">0</td><td class="ColE"><a name="&lt;system&gt;.tblur.accum">Accumulate color data rather than discarding it.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">&lt;system&gt;.tblur.accum.amount</td><td class="ColB">real</td><td class="ColC">0 <i>through</i> 100</td><td class="ColD">50</td><td class="ColE"><a name="&lt;system&gt;.tblur.accum.amount">Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">&lt;system&gt;.videoip</td><td class="ColB">enum</td><td class="ColC">0<br>1<br>x<br>y</td><td class="ColD"><i>(variable)</i></td><td class="ColE"><a name="&lt;system&gt;.videoip">Enable (bi)linear interpolation.</a><ul><li><b>0</b> - Disabled<br></li><br><li><b>1</b> - Bilinear<br></li><br><li><b>x</b> - Linear (X)<br>Interpolation only on the X axis.</li><br><li><b>y</b> - Linear (Y)<br>Interpolation only on the Y axis.</li></ul></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">&lt;system&gt;.xres</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 65536</td><td class="ColD">0</td><td class="ColE"><a name="&lt;system&gt;.xres">Full-screen horizontal resolution.</a><p>A value of "0" will cause the desktop horizontal resolution to be used.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">&lt;system&gt;.xscale</td><td class="ColB">real</td><td class="ColC">0.01 <i>through</i> 256</td><td class="ColD"><i>(variable)</i></td><td class="ColE"><a name="&lt;system&gt;.xscale">Scaling factor for the X axis in windowed mode.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">&lt;system&gt;.xscalefs</td><td class="ColB">real</td><td class="ColC">0.01 <i>through</i> 256</td><td class="ColD">1.000000</td><td class="ColE"><a name="&lt;system&gt;.xscalefs">Scaling factor for the X axis in fullscreen mode.</a><p>For this settings to have any effect, the "<system>.stretch" setting must be set to "0".</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">&lt;system&gt;.yres</td><td class="ColB">integer</td><td class="ColC">0 <i>through</i> 65536</td><td class="ColD">0</td><td class="ColE"><a name="&lt;system&gt;.yres">Full-screen vertical resolution.</a><p>A value of "0" will cause the desktop vertical resolution to be used.</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">&lt;system&gt;.yscale</td><td class="ColB">real</td><td class="ColC">0.01 <i>through</i> 256</td><td class="ColD"><i>(variable)</i></td><td class="ColE"><a name="&lt;system&gt;.yscale">Scaling factor for the Y axis in windowed mode.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">&lt;system&gt;.yscalefs</td><td class="ColB">real</td><td class="ColC">0.01 <i>through</i> 256</td><td class="ColD">1.000000</td><td class="ColE"><a name="&lt;system&gt;.yscalefs">Scaling factor for the Y axis in fullscreen mode.</a><p>For this settings to have any effect, the "<system>.stretch" setting must be set to "0".</p></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowA"><td class="ColA">&lt;system&gt;.debugger.disfontsize<br><ul><li>md</li><li>nes</li><li>pce</li><li>pcfx</li><li>psx</li><li>vb</li><li>wswan</li></ul></td><td class="ColB">enum</td><td class="ColC">xsmall<br>small<br>medium<br>large</td><td class="ColD">small</td><td class="ColE"><a name="&lt;system&gt;.debugger.disfontsize">Disassembly font size.</a><p>Note: Setting the font size to larger than the default may cause text overlap in the debugger.</p><ul><li><b>xsmall</b> - 4x5<br></li><br><li><b>small</b> - 5x7<br></li><br><li><b>medium</b> - 6x13<br></li><br><li><b>large</b> - 9x18<br></li></ul></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
<tr class="RowB"><td class="ColA">&lt;system&gt;.debugger.memcharenc<br><ul><li>md</li><li>nes</li><li>pce</li><li>pcfx</li><li>psx</li><li>vb</li><li>wswan</li></ul></td><td class="ColB">string</td><td class="ColC">&nbsp;</td><td class="ColD"><i>(variable)</i></td><td class="ColE"><a name="&lt;system&gt;.debugger.memcharenc">Character encoding for the debugger's memory editor.</a></td></tr><tr><td class="RowSpacer" colspan="5">&nbsp</td></tr>
</table><hr width="50%">
 <h4><a name="Section_firmware_bios">Firmware/BIOS</a></h4><p></p><p>
Some emulation modules require firmware/BIOS images to function.  If a firmware path is non-absolute(doesn't begin with
C:\ or / or similar), Mednafen will try to load the file relative to the "firmware" directory under the Mednafen <a href="#Section_base_directory">base directory</a>.  If it doesn't find it there, it will be loaded relative to the Mednafen <a href="#Section_base_directory">base directory</a> itself.  Of course,
if the "path_firmware" setting is set to a custom value, the firmware files will be searched relative to that path.
</p>
 <hr width="50%">
 <h4><a name="Section_custom_palettes">Custom Palettes</a></h4><p></p><p>
Custom palettes for a system should be named <sysname>.pal, IE "nes.pal", "pce.pal", etc., and placed in the
"palettes" directory beneath the Mednafen <a href="#Section_base_directory">base directory</a>.
</p>
<p>
Per-game custom palettes are also supported, and should be
named as &lt;FileBase&gt;.pal or &lt;FileBase&gt;.&lt;MD5 Hash&gt;.pal, IE "Mega Man 4.pal" or "Mega Man 4.db45eb9413964295adb8d1da961807cc.pal".
</p>
<p>
Not all emulated systems support custom palettes.  Currently, the following emulation modules support custom palettes:
<ul>
 <li>gb - <b>Note:</b> Use "gbc.pal" instead of "gb.pal" for GameBoy Color games per-system custom palette.</li>
 <li>gba</li>
 <li>nes</li>
 <li>pce</li>
 <li>pce_fast</li>
 <li>snes</li>
</ul>
</p>
 <hr width="50%">
 <h4><a name="Core+Features%01Using+Mednafen%01Automatic+IPS+Patching">Automatic IPS Patching</a></h4><p></p> <p>
        Place the IPS file in the same directory as the file to load,
        and name it &lt;FullFileName&gt;.ips.
        <pre>
        Examples:       Boat.nes - Boat.nes.ips
                        Boat.zip - Boat.zip.ips
                        Boat.nes.gz - Boat.nes.gz.ips
                        Boat     - Boat.ips
        </pre>
 </p>
 <p>
  Some operating systems and environments will hide file extensions. Keep this in mind if you are having trouble.
 </p>
 <p>
        Patching is applied in a file format-agnostic way; however, dynamic patching is not done with CD images, nor with
	firmware.
 </p>
 <hr width="50%"> 
 <hr width="50%">
 <h3><a name="Core+Features%01Advanced+Usage">Advanced Usage</a></h3><p></p>  <h4><a name="Core+Features%01Advanced+Usage%01Minimizing+video%2Faudio%2Finput+Lag">Minimizing video/audio/input Lag</a></h4><p></p>This section is a work-in-progress, tips given may not cover all cases, latency reduction is a black art on modern
PCs, etc etc.
<p>
Miscellaneous relevant external links:
<ul>
 <li><a href="http://www.ouma.jp/ootake/delay-solution.html">http://www.ouma.jp/ootake/delay-solution.html</a></li>
 <li><a href="http://www.ouma.jp/ootake/delay-win7vista.html">http://www.ouma.jp/ootake/delay-win7vista.html</a></li>
 <li><a href="http://www.tftcentral.co.uk/articles/input_lag.htm">TFT Central - Input Lag Testing</a></li>
 <li><a href="http://www.prad.de/en/monitore/specials/inputlag/inputlag.html">An investigation of the test process used to date for determining the response time of an LCD monitor, known as input lag</a></li>
 <li><a href="http://shoryuken.com/forum/index.php?threads/sub-1-frame-hdtv-monitor-input-lag-database.145141/">Sub 1 frame HDTV/Monitor Input Lag Database</a></li>
 <li><a href="http://www.tomshardware.com/reviews/s242hl-bid-u2412m-t24a550,3016-14.html">http://www.tomshardware.com/reviews/s242hl-bid-u2412m-t24a550,3016-14.html</a></li>
 <li><a href="http://www.tomshardware.com/reviews/ultrasharp-u2711-ds-277w-multisync-pa271w,2968-14.html">http://www.tomshardware.com/reviews/ultrasharp-u2711-ds-277w-multisync-pa271w,2968-14.html</a></li>
</ul>
</p>
   <h5><a name="Core+Features%01Advanced+Usage%01Minimizing+video%2Faudio%2Finput+Lag%01Hardware+Selection">Hardware Selection</a></h5><p></p>    <ul>
    <li><u><b>Video Card:</b></u><blockquote>Higher-performing discrete video cards are preferable, but anything with similar
or better OpenGL performance to an NVidia GeForce 9500GT should be fine.</blockquote></li>
    <li><u><b>Monitor:</b></u><blockquote>Choose a monitor with the lowest input lag(AKA display lag), as well as as a low response time(though response time isn't as an important metric to consider, since it's usually acceptably small on modern end-user PC monitors).
Unfortunately, monitor input/display lag is not typically specified by the manufacturer, and it can even vary between
different revisions of the same "model".<br>A monitor capable of 120Hz vertical refresh rate operation, and that also has a low
average input lag(<16ms), would be ideal.
<p>
Keep in mind that sometimes the "game mode" of a modern monitor(or TV) must be selected in order for minimum monitor input lag.
</p>
<p>
For the lowest possible video lag, however, obtain and use an old CRT monitor, and set up a video mode with a vertical
refresh rate of at least 120Hz.
</p>
</blockquote></li>
    <li><u><b>Sound Card:</b></u>  <i>(To be written)</i></li>
   </ul>
   <hr width="25%">
   <p>

   </p>
   <h5><a name="Core+Features%01Advanced+Usage%01Minimizing+video%2Faudio%2Finput+Lag%01Settings+to+Minimize+Video+Lag">Settings to Minimize Video Lag</a></h5><p></p>    <p>
    Disabling vsync can also help to reduce keyboard and mouse input lag to a degree, due to the design of common GUI environments and SDL.
    </p>
    <table border="1">
     <tr><th>Mednafen setting name:</th><th>Value for maximum lag reduction:</th></tr>
     <tr><td><a href="#video.driver">video.driver</a></td><td>opengl</td></tr>
     <tr><td><a href="#video.glvsync">video.glvsync</a></td><td>0</td></tr>
     <tr><td><a href="#video.blit_timesync">video.blit_timesync</a></td><td>0</td></tr>
    </table>
    <p>
     <u>Operating System:</u> Disable vsync and triple-buffering if enabled via your card driver's setting utility or control panel.
    </p>
    <p>
     <u>Operating System:</u> Set the "max frames to render ahead"(NVidia) or "flip queue size"(AMD/ATI) to "0"(zero) in your video card
	driver's setting utility or control panel(mostly a Windows-specific tip; TODO: verify that it is relevant for OpenGL).
    </p>
    <p>
     <u>Operating System:</u> Disable window/desktop compositor("Aero" on Windows Vista and newer).
    </p>
    <p>
     <u>Mednafen:</u> Choose full-screen resolutions, via the <a href="#&lt;system&gt;.xres">x-resolution</a> and
<a href="#&lt;system&gt;.yres">y-resolution</a> settings, that match your monitor's native resolution(assuming it has
a native resolution).
    </p>
    <p>
     <u>Mednafen:</u> Avoid using special video filters and scalers(hq2x, 2xsai, scale2x, temporal blur, etc.) in Mednafen.  Mednafen's simple pixel shaders are ok, provided you have a decent video card as specified in the
     hardware selection section above.
    </p>
   <hr width="25%">
   <h5><a name="Core+Features%01Advanced+Usage%01Minimizing+video%2Faudio%2Finput+Lag%01Settings+to+Minimize+Audio+Lag">Settings to Minimize Audio Lag</a></h5><p></p><p>
<u>Mednafen:</u> Select a <a href="#sound.driver">sound driver</a> that is closer to the actual hardware, such as "alsa" on Linux, "oss" on other UN*X platforms, and "wasapi" on Windows Vista and newer.  If you choose to use "OSS", heed the advice regarding osscore.conf and max_intrate.
</p>
<p>
<u>Mednafen:</u> Select a <a href="#sound.device">sound device</a> that is closest to the actual hardware; IE "hw:0", "hw:1", "hw:2", etc. on ALSA.<br>
Avoid selecting a higher-level sound device that is routed through a sound server like PulseAudio!
</p>
<p>
<u>Mednafen:</u> Select a <a href="#sound.buffer_time">sound buffer size</a> that is as small as possible without causing excessive crackling
or speed issues(20ms should be a fairly safe setting with ALSA on a modern multi-core CPU system).
</p>
<p>
<u>Mednafen:</u> Optionally set the <a href="#sound.period_time">sound period size</a> setting to 500(microseconds).
<br><b>Note:</b> The system sound card driver may not handle a value this small correctly,
and may cause sound card or system malfunctions.  Additionally, the system sound card driver may constrain the
sound buffer size to an unusably small value.
</p>
<p>
<u>Mednafen:</u> Set the <a href="#sound.rate">sound rate</a> setting to your sound card's native playback rate, IE the rate which
has the minimum amount of processing done to it before being passed to the DAC or digital output.  This tends to be
"192000" or "96000" on modern sound cards, "48000" on older(late 1990s, early 2000s), and "44100" on older still(early to mid 1990s).  If you don't know, just leave it at the default of "48000".
</p>
<p>
<u>Operating System:</u> Disable 3D spatialization, equalizer, and other special effects via your sound card driver's setting utility or control panel, if applicable.
</p>


   <hr width="25%">
  <hr width="25%"> <hr width="25%">
 <h3><a name="Core+Features%01Troubleshooting+and+Common+Solutions">Troubleshooting and Common Solutions</a></h3><p></p>  <p>
   When Mednafen encounters a fatal error, it will print details of the error to stdout and/or stderr before exiting.  On the Microsoft Windows builds of Mednafen,
   stdout and stderr are redirected to files "<b>stdout.txt</b>" and "<b>stderr.txt</b>", respectively.
  </p>
  <h4><a name="Core+Features%01Troubleshooting+and+Common+Solutions%01No+sound+output+on+Linux.">No sound output on Linux.</a></h4><p></p>   <p>
    Due to historical Linux distribution design decisions and problems with various software audio mixing solutions on Linux, Mednafen's ALSA output code
    attempts to output to device "<b>hw:0</b>" by default.  This may cause problems if your sound card does not support hardware mixing of streams and your system is
    running another program that is monopolizing the sound device(like the PulseAudio server), or you have used multiple sound cards.
   </p>
   <p>
    For the case of PulseAudio, you can utilize the <a href="http://linux.die.net/man/1/pasuspender">pasuspender</a> tool, or set the <a href="#sound.device">sound.device</a> setting to
    "<b>sexyal-literal-default</b>" to try to use PulseAudio through ALSA(assuming your distribution has things configured properly); the use of pasuspender
    is the recommended option.
   </p>
   <p>
    For the case of multiple sound cards, select a different "<b>hw:?</b>" device, where <b>?</b> is an integer representing the device number/index(check the contents of file "<b>/proc/asound/cards</b>").
   </p>
  <hr width="50%">
  <h4><a name="Core+Features%01Troubleshooting+and+Common+Solutions%01Configuration+file+is+a+mess+in+Notepad+in+Windows.">Configuration file is a mess in Notepad in Windows.</a></h4><p></p>   <p>
    Mednafen's settings file currently uses UN*X-style line breaks, which Notepad does not handle very well.  Use
    <a href="http://notepad-plus-plus.org/">Notepad++</a> instead.
   </p>
  <hr width="50%"> <hr width="50%">
 
      
 <h3><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits">Licenses, Copyright Notices, and Code Credits</a></h3><p></p> <p>
  Mednafen makes use of much open-source code from other people, and could not be what it is without their work.  Feel
  free to give them your thanks, but keep in mind most have nothing to do with the Mednafen project, so don't ask
  them questions regarding Mednafen unless appropriate in context.
 </p>
 <p>
 In addition to the listing of licenses and copyright notices for code included in Mednafen, the following 
 "non-system" external libraries are linked to:
 <ul>
  <li><a href="http://www.gnu.org/software/libcdio/">libcdio</a></li>
  <li><a href="http://www.mega-nerd.com/libsndfile/">libsndfile</a></li>
  <li><a href="http://www.libsdl.org/">SDL</a></li>
  <li><a href="http://www.zlib.org">zlib</a></li>
 </ul>
 </p>
 <hr>

 <p>
  <h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01libmpcdec"><a href="http://www.musepack.net/">libmpcdec</a></a></h4><p></p>  <blockquote>
  <pre>
  Copyright (c) 2005, The Musepack Development Team
  All rights reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are
  met:

  * Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.

  * Redistributions in binary form must reproduce the above
  copyright notice, this list of conditions and the following
  disclaimer in the documentation and/or other materials provided
  with the distribution.

  * Neither the name of the The Musepack Development Team nor the
  names of its contributors may be used to endorse or promote
  products derived from this software without specific prior
  written permission.

  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  </pre>
  </blockquote>
  <hr width="50%">
  <h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Tremor"><a href="http://xiph.org/">Tremor</a></a></h4><p></p>  <blockquote>
<pre>
Copyright (c) 2002, Xiph.org Foundation

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

- Neither the name of the Xiph.org Foundation nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</pre>
  </blockquote>
  <hr width="50%">
 <h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Gb_Snd_Emu"><a href="http://slack.net/~ant/libs/audio.html">Gb_Snd_Emu</a></a></h4><p></p><blockquote>
<pre>
/* Library Copyright (C) 2003-2004 Shay Green. Gb_Snd_Emu is free
software; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
Gb_Snd_Emu is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details. You should have received a copy of the GNU General Public
License along with Gb_Snd_Emu; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
</pre>
</blockquote>
 <hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Blip_Buffer"><a href="http://www.slack.net/~ant/libs/">Blip_Buffer</a></a></h4><p></p><blockquote>
<pre>
Copyright (C) 2003-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. This
module is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
more details. You should have received a copy of the GNU Lesser General
Public License along with this module; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</pre>
</blockquote>
 <hr width="50%">
 <h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Sms_Snd_Emu%28base+for+T6W28_Apu+NGP+code%29"><a href="http://slack.net/~ant/libs/audio.html">Sms_Snd_Emu(base for T6W28_Apu NGP code)</a></a></h4><p></p><blockquote>
<pre>
Copyright (C) 2003-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. This
module is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
more details. You should have received a copy of the GNU Lesser General
Public License along with this module; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</pre>
</blockquote>
 <hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Handy"><a href="http://homepage.ntlworld.com/dystopia/">Handy</a></a></h4><p></p><blockquote>
<pre>
Copyright (c) 2004 K. Wilkins

This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from
the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
   claim that you wrote the original software. If you use this software
   in a product, an acknowledgment in the product documentation would be
   appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not
   be misrepresented as being the original software.

3. This notice may not be removed or altered from any source distribution.
</pre>
</blockquote>
 <hr width="50%">
 <h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01PC2e+%28Used+in+portions+of+PC+Engine+CD+emulation%29">PC2e (Used in portions of PC Engine CD emulation)</a></h4><p></p><blockquote>
<pre>
        Copyright (C) 2004 Ki

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
</pre>
</blockquote>
 <hr width="50%">
 <h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Scale2x"><a href="http://scale2x.sf.net/">Scale2x</a></a></h4><p></p><blockquote>
<pre>
 * Copyright (C) 2001, 2002, 2003, 2004 Andrea Mazzoleni
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
</pre>
</blockquote>
 <hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01hq2x%2C+hq3x%2C+hq4x"><a href="http://www.hiend3d.com/hq2x.html">hq2x, hq3x, hq4x</a></a></h4><p></p><blockquote>
<pre>
//Copyright (C) 2003 MaxSt ( maxst@hiend3d.com )

//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//License as published by the Free Software Foundation; either
//version 2.1 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
//Lesser General Public License for more details.
//
//You should have received a copy of the GNU Lesser General Public
//License along with this program; if not, write to the Free Software
//Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</pre>
</blockquote>
 <hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01nes_ntsc"><a href="http://www.slack.net/~ant/libs/ntsc.html#nes_ntsc">nes_ntsc</a></a></h4><p></p><blockquote>
<pre>
/* Copyright (C) 2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. This
module is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
more details. You should have received a copy of the GNU Lesser General
Public License along with this module; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
</pre>
</blockquote>
 <hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%012xSaI">2xSaI</a></h4><p></p><blockquote>
<pre>
/* 2xSaI
 * Copyright (c) Derek Liauw Kie Fa, 1999-2002
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
/* http://lists.fedoraproject.org/pipermail/legal/2009-October/000928.html */
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01VisualBoyAdvance+GameBoy+and+GBA+code"><a href="http://vba.sf.net/">VisualBoyAdvance GameBoy and GBA code</a></a></h4><p></p><blockquote>
<pre>
// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
// Copyright (C) 1999-2003 Forgotten
// Copyright (C) 2004-2006 Forgotten and the VBA development team

// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or(at your option)
// any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
</pre>
</blockquote>
 <hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01trio"><a href="http://daniel.haxx.se/projects/trio/">trio</a></a></h4><p></p><blockquote>
<pre>
 * Copyright (C) 1998, 2009 Bjorn Reese and Daniel Stenberg.
 * Copyright (C) 2001 Bjorn Reese <breese@users.sourceforge.net>
 * Copyright (C) 2001 Bjorn Reese and Daniel Stenberg.
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND
 * CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER.
 *
</pre>
</blockquote>

<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01ConvertUTF">ConvertUTF</a></h4><p></p><blockquote>
<pre>
 * Copyright 2001-2004 Unicode, Inc.
 *
 * Disclaimer
 *
 * This source code is provided as is by Unicode, Inc. No claims are
 * made as to fitness for any particular purpose. No warranties of any
 * kind are expressed or implied. The recipient agrees to determine
 * applicability of information provided. If this file has been
 * purchased on magnetic or optical media from Unicode, Inc., the
 * sole remedy for any claim will be exchange of defective media
 * within 90 days of receipt.
 *
 * Limitations on Rights to Redistribute This Code
 *
 * Unicode, Inc. hereby grants the right to freely use the information
 * supplied in this file in the creation of products supporting the
 * Unicode Standard, and to make copies of this file in any form
 * for internal or external distribution as long as this notice
 * remains attached.
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01MD5+Hashing">MD5 Hashing</a></h4><p></p><blockquote>
<pre>
/*
 * RFC 1321 compliant MD5 implementation,
 * by Christophe Devine <devine@cr0.net>;
 * this program is licensed under the GPL.
 */
</pre>
</blockquote>
 <hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01V810+Emulator">V810 Emulator</a></h4><p></p><blockquote>
<pre>
 * Copyright (C) 2006 David Tucker
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Unzipping+Code">Unzipping Code</a></h4><p></p><blockquote>
<pre>
/* unzip.c -- IO for uncompress .zip files using zlib
   Version 1.01e, February 12th, 2005

   Copyright (C) 1998-2005 Gilles Vollant

   Read unzip.h for more info
*/

/* Decryption code comes from crypt.c by Info-ZIP but has been greatly reduced in terms of
compatibility with older software. The following is from the original crypt.c. Code
woven in by Terry Thorsen 1/2003.
*/
/*
  Copyright (c) 1990-2000 Info-ZIP.  All rights reserved.

  See the accompanying file LICENSE, version 2000-Apr-09 or later
  (the contents of which are also included in zip.h) for terms of use.
  If, for some reason, all these files are missing, the Info-ZIP license
  also may be found at:  ftp://ftp.info-zip.org/pub/infozip/license.html
*/
</pre>
</blockquote>

<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01MiniLZO"><a href="http://www.oberhumer.com/opensource/lzo/">MiniLZO</a></a></h4><p></p><blockquote>
<pre>
   Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer
   Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer
   All Rights Reserved.

   The LZO library is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License as
   published by the Free Software Foundation; either version 2 of
   the License, or (at your option) any later version.

   The LZO library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with the LZO library; see the file COPYING.
   If not, write to the Free Software Foundation, Inc.,
   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

   Markus F.X.J. Oberhumer
   <markus@oberhumer.com>
   http://www.oberhumer.com/opensource/lzo/
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Fuse+Z80+emulation+code"><a href="http://fuse-emulator.sourceforge.net/">Fuse Z80 emulation code</a></a></h4><p></p><blockquote>
<pre>
   Copyright (c) 1999-2005 Philip Kendall, Witold Filipczyk
   Copyright (c) 1999-2011 Philip Kendall

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License along
   with this program; if not, write to the Free Software Foundation, Inc.,
   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

   Author contact information:

   E-mail: philip-fuse@shadowmagic.org.uk
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01NeoPop+Neo+Geo+Pocket+%28Color%29+Code"><a href="http://neopop.emuxhaven.net/">NeoPop Neo Geo Pocket (Color) Code</a></a></h4><p></p><blockquote>
<pre>
//---------------------------------------------------------------------------
// NEOPOP : Emulator as in Dreamland
//
// Copyright (c) 2001-2002 by neopop_uk
//---------------------------------------------------------------------------
//      This program is free software; you can redistribute it and/or modify
//      it under the terms of the GNU General Public License as published by
//      the Free Software Foundation; either version 2 of the License, or
//      (at your option) any later version. See also the license.txt file for
//      additional informations.
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01PC-FX+MJPEG+Decoding">PC-FX MJPEG Decoding</a></h4><p></p><blockquote>
<pre>
/*
 * jrevdct.c
 *
 * Copyright (C) 1991, 1992, Thomas G. Lane.
 * This file is part of the Independent JPEG Group's software.
 * For conditions of distribution and use, see the accompanying README file.
 *
 */
<i>(The file is included in the Mednafen source distribution as mednafen/Documentation/README.jpeg4a)</i>
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01VRC7+Sound+Emulation">VRC7 Sound Emulation</a></h4><p></p><blockquote>
<pre>
/*
YM2413 emulator written by Mitsutaka Okazaki 2001

Permission is granted to anyone to use this software for any purpose,
including commercial applications. To alter this software and redistribute it freely,
if the origin of this software is not misrepresented.
*/
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01NEC+V30MZ+Emulator">NEC V30MZ Emulator</a></h4><p></p><blockquote>
<pre>
/* This NEC V30MZ emulator may be used for purposes both commercial and noncommercial if you give the author, Bryan McPhail,
   a small credit somewhere(such as in the documentation for an executable package).
*/
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01NEC+V30MZ+disassembler%28modified+BOCHS+x86+disassembler%29">NEC V30MZ disassembler(modified BOCHS x86 disassembler)</a></h4><p></p><blockquote>
<i>Caution:  Bochs' code is under the LGPL, but it is unclear if "or (at your option) any later version." applies to the x86 disassembler code.</i>
<pre>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
 
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.
 
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Cygne"><a href="http://cygne.emuunlim.com/">Cygne</a></a></h4><p></p><p>
Cygne is distributed under the terms of the GNU GPL Version 2, 1991.<br>Copyright 2002 Dox, dox@space.pl.
</p>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01FCE+Ultra"><a href="http://fceultra.sourceforge.net/">FCE Ultra</a></a></h4><p></p><blockquote>
<pre>
/* FCE Ultra - NES/Famicom Emulator
 *
 *  Copyright (C) 1998 BERO
 *  Copyright (C) 2002 Xodnizel
 *  Copyright (C) 2003 CaH4e3
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01QuickLZ"><a href="http://www.quicklz.com/">QuickLZ</a></a></h4><p></p><blockquote>
<pre>
// QuickLZ data compression library
// Copyright (C) 2006-2008 Lasse Mikkel Reinhold
// lar@quicklz.com
//
// QuickLZ can be used for free under the GPL-1 or GPL-2 license (where anything 
// released into public must be open source) or under a commercial license if such 
// has been acquired (see http://www.quicklz.com/order.html). The commercial license 
// does not cover derived or ported versions created by third parties under GPL.
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Q-Subchannel+CRC16+Code"><a href="http://cdrdao.sourceforge.net/">Q-Subchannel CRC16 Code</a></a></h4><p></p><blockquote>
<pre>
/*  cdrdao - write audio CD-Rs in disc-at-once mode
 *
 *  Copyright (C) 1998  Andreas Mueller <mueller@daneb.ping.de>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
</pre>
</blockquote>

<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01SMS+Plus"><a href="http://cgfm2.emuviews.com/">SMS Plus</a></a></h4><p></p><blockquote>
<pre>
    Copyright (C) 1998-2004  Charles MacDonald

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Genesis+Plus"><a href="http://cgfm2.emuviews.com/">Genesis Plus</a></a></h4><p></p><blockquote>
<pre>
/*
    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003  Charles Mac Donald

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Genesis+Plus+GX"><a href="http://code.google.com/p/genplus-gx/">Genesis Plus GX</a></a></h4><p></p><blockquote>
<prE>
 *
 *  Copyright (C) 2007, 2008, 2009 EkeEke
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01EMU2413%28used+in+SMS+emulation%29">EMU2413(used in SMS emulation)</a></h4><p></p><blockquote>
<pre>
  Copyright (C) Mitsutaka Okazaki 2004

  This software is provided 'as-is', without any express or implied warranty.
  In no event will the authors be held liable for any damages arising from
  the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not
     be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01blz">blz</a></h4><p></p><blockquote>
<pre>
/* Copyright (C) 2007 Shay Green. This module is free software; you can
redistribute it and/or modify it under the terms of the GNU General Public
License, version 2 or later, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details. You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01CD-ROM+data+correction+code">CD-ROM data correction code</a></h4><p></p><blockquote>
<pre>
/*  dvdisaster: Additional error correction for optical media.
 *  Copyright (C) 2004-2007 Carsten Gnoerlich.
 *  Project home page: http://www.dvdisaster.com
 *  Email: carsten@dvdisaster.com  -or-  cgnoerlich@fsfe.org
 *
 *  The Reed-Solomon error correction draws a lot of inspiration - and even code -
 *  from Phil Karn's excellent Reed-Solomon library: http://www.ka9q.net/code/fec/
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA,
 *  or direct your browser at http://www.gnu.org.
 */
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01C68K">C68K</a></h4><p></p><blockquote>
<pre>
/*  Copyright 2003-2004 Stephane Dallongeville

    This file is part of Yabause.

    Yabause is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    Yabause is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Yabause; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01YM2612+Emulator">YM2612 Emulator</a></h4><p></p><blockquote>
<pre>
/* Copyright (C) 2002 St�phane Dallongeville (gens AT consolemul.com) */
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. This
module is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details. You should have received a copy of the GNU Lesser General Public
License along with this module; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Sega+Genesis+SVP%2FSSP16+Emulator">Sega Genesis SVP/SSP16 Emulator</a></h4><p></p><blockquote>
<pre>
/*
 * basic, incomplete SSP160x (SSP1601?) interpreter
 * with SVP memory controller emu
 *
 * Copyright (c) Gražvydas "notaz" Ignotas, 2008
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer in the
 *       documentation and/or other materials provided with the distribution.
 *     * Neither the name of the organization nor the
 *       names of its contributors may be used to endorse or promote products
 *       derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
</pre>
</blockquote>
<hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01Speex+Resampler"><a href="http://speex.org/">Speex Resampler</a></a></h4><p></p><blockquote>
<pre>
/* Copyright (C) 2007-2008 Jean-Marc Valin
   Copyright (C) 2008      Thorvald Natvig

   File: resample.c
   Arbitrary resampling code

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are
   met:

   1. Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.

   2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.

   3. The name of the author may not be used to endorse or promote products
   derived from this software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
   ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
*/
</pre>
</blockquote>
 <hr width="50%">
<h4><a name="Core+Features%01Licenses%2C+Copyright+Notices%2C+and+Code+Credits%01SABR+v3.0+Shader">SABR v3.0 Shader</a></h4><p></p><blockquote>
<pre>
        SABR v3.0 Shader
        Joshua Street

        Portions of this algorithm were taken from Hyllian's 5xBR v3.7c
        shader.

        This program is free software; you can redistribute it and/or
        modify it under the terms of the GNU General Public License
        as published by the Free Software Foundation; either version 2
        of the License, or (at your option) any later version.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.

        You should have received a copy of the GNU General Public License
        along with this program; if not, write to the Free Software
        Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
</pre>
</blockquote>
<hr width="50%">
<hr width="50%">
 </body>
</html>