README: Add README

This commit is contained in:
Rupert Carmichael 2024-04-07 12:51:19 -04:00
parent efe3a052c7
commit b99ede358b
2 changed files with 45 additions and 0 deletions

44
README Normal file
View File

@ -0,0 +1,44 @@
nestopia-libretro
-----------------
Nestopia is a cycle accurate emulator for the NES/Famicom.
This is the libretro port of the Nestopia emulator, based on the de facto
upstream Nestopia JG fork, which lives at: https://gitlab.com/jgemu/nestopia
The libretro port contains an additional overclocking feature.
Famicom Disk System
-------------------
FDS support requires the FDS BIOS to be placed in the "system" directory:
system/disksys.rom
ADPCM Samples
-------------
Some games have ADPCM audio samples on the cartridge, which are not included in
the ROM data. In order to use such samples with Nestopia, you must extract the
samples into the correct location under the System directory. They are
required to be in the "nestopia/samples" subdirectory named after the .zip file
in MAME format:
moepro.zip system/nestopia/samples/moepro/
moepro88.zip system/nestopia/samples/moepro88/
mptennis.zip system/nestopia/samples/mptennis/
terao.zip system/nestopia/samples/terao/
ftaerobi.zip system/nestopia/samples/ftaerobi/
The location of the System directory depends on the frontend and platform in
use. Refer to the frontend documentation.
Contributing
------------
Changes to the libretro port should be contributed in this repository.
Please contribute any changes to the emulator core to the upstream repository.
Copyright
---------
Nestopia JG (GPL-2.0-or-later)
Copyright (c) 2003-2008 Martin Freij
Copyright (c) 2008-2018 Nestopia UE Contributors
Copyright (c) 2020-2024 Rupert Carmichael
nes_ntsc (LGPL-2.1-or-later)
Copyright (c) 2006-2007 Shay Green

View File

@ -278,6 +278,7 @@ static void load_wav(const char* sampgame, Api::User::File& file)
char *dataptr;
sprintf(samp_path, "%s%c%s%c%02d.wav", samp_dir, slash, sampgame, slash, file.GetId());
printf("samp_path: %s\n", samp_path);
std::ifstream samp_file(samp_path, std::ifstream::in|std::ifstream::binary);