diff options
author | 2023-04-07 11:12:40 +1000 | |
---|---|---|
committer | 2023-04-07 11:12:40 +1000 | |
commit | 9ea08b2ae5af25bab29a11447c8ff0d80e86fb11 (patch) | |
tree | 3a59d6364198dadaf5e3583cf859331736f3578d | |
parent | 43f877ca1ec2de69f560f271d74ad75d6a85bf8b (diff) |
Prepare for release.
-rw-r--r-- | docs/release/docs/hbnew.txt | 18 | ||||
-rw-r--r-- | hash/mvs_quik.xml | 4 | ||||
-rw-r--r-- | makefile | 4 | ||||
-rw-r--r-- | src/hbmame/drivers/neogeo.cpp | 31 | ||||
-rw-r--r-- | src/version.cpp | 2 |
5 files changed, 36 insertions, 23 deletions
diff --git a/docs/release/docs/hbnew.txt b/docs/release/docs/hbnew.txt index 25fec428295..ac16a90dcd5 100644 --- a/docs/release/docs/hbnew.txt +++ b/docs/release/docs/hbnew.txt @@ -1,7 +1,7 @@ What's new in HBMAME ==================== -2023-0x-xx 0.245.11 +2023-04-07 0.245.11 - Fixed bad graphics in Rally Chase (trallycd) - Added preliminary support for .neo files used in NeoSD and Mister. @@ -17,6 +17,22 @@ New Games - [pacjrz80] Pac-Jr on Pacman Hardware - [sbpf] Super Bubble Pop (fixed) +Notes for ngmvs and ngneo: +- Very preliminary. Cheats, save-states, memcards etc have not been tested. +- If loading fails you'll get a black screen. +- Intended for testing of homebrew. Protected sets are not supported. However, + most standard games happen to work. +- Files are meant to be loaded as loose software. Use the inbuilt File Manager, + or the command-line (-quik <full path to file>). + +ngneo: +- Can use a Software List. An example xml has been included which you can expand upon. + +ngmvs: +- The file extension is 7z, which works fine from command-line but is treated as a + directory by the File Manager. You'll have to enter it and choose any file within. +- The files within must be at the root of the 7z, or loading will fail. + diff --git a/hash/mvs_quik.xml b/hash/mvs_quik.xml index 9643f0deb1c..a3feebc57f6 100644 --- a/hash/mvs_quik.xml +++ b/hash/mvs_quik.xml @@ -15,8 +15,8 @@ Currently the software list doesn't work. <year>1991</year> <publisher>SNK</publisher> <part name="quik" interface="mvs_quik"> - <dataarea name="quik" size="2592768"> - <rom name="eightman.7z" size="2592768" crc="D1209720" sha1="42339b27dc6b23ee135c5ea66f9a974c72dca5e2"/> + <dataarea name="quik" size="2591953"> + <rom name="eightman.7z" size="2591953" crc="D1209720" sha1="42339b27dc6b23ee135c5ea66f9a974c72dca5e2"/> </dataarea> </part> </software> @@ -1546,7 +1546,7 @@ endif ifeq (posix,$(SHELLTYPE)) $(GENDIR)/version.cpp: makefile $(GENDIR)/git_desc | $(GEN_FOLDERS) - @echo '#define BARE_BUILD_VERSION "0.245.10"' > $@ + @echo '#define BARE_BUILD_VERSION "0.245.11"' > $@ @echo '#define BARE_VCS_REVISION "$(NEW_GIT_VERSION)"' >> $@ @echo 'extern const char bare_build_version[];' >> $@ @echo 'extern const char bare_vcs_revision[];' >> $@ @@ -1556,7 +1556,7 @@ $(GENDIR)/version.cpp: makefile $(GENDIR)/git_desc | $(GEN_FOLDERS) @echo 'const char build_version[] = BARE_BUILD_VERSION " (" BARE_VCS_REVISION ")";' >> $@ else $(GENDIR)/version.cpp: makefile $(GENDIR)/git_desc | $(GEN_FOLDERS) - @echo #define BARE_BUILD_VERSION "0.245.10" > $@ + @echo #define BARE_BUILD_VERSION "0.245.11" > $@ @echo #define BARE_VCS_REVISION "$(NEW_GIT_VERSION)" >> $@ @echo extern const char bare_build_version[]; >> $@ @echo extern const char bare_vcs_revision[]; >> $@ diff --git a/src/hbmame/drivers/neogeo.cpp b/src/hbmame/drivers/neogeo.cpp index a34c9e17c10..287a938a37f 100644 --- a/src/hbmame/drivers/neogeo.cpp +++ b/src/hbmame/drivers/neogeo.cpp @@ -1848,10 +1848,6 @@ void neogeo_state::init_kf2k3upl() } - - - - /*********************************************** non-carts */ void neogeo_state::install_banked_bios() @@ -2110,23 +2106,24 @@ std::error_condition neogeo_state::mvs_open7z(std::string zip_name, std::string QUICKLOAD_LOAD_MEMBER(neogeo_state::mvs_q_cb) { - // assuming that .7z is the only occurence - std::string sstr = ".7z"; - std::string zipname = image.filename(); - std::size_t found = zipname.find(sstr); - zipname.erase(found+3); - //printf("%s\n",zipname.c_str());fflush(stdout); - std::error_condition filerr = std::errc::no_such_file_or_directory; u32 psize = 0, ssize = 0, msize = 0, vsize = 0, csize = 0, fsize = 0; + std::string fname = "prom", sstr = ".7z", zipname = image.filename(); + std::error_condition filerr = std::errc::no_such_file_or_directory; + // assuming that first .7z is the only occurence + std::size_t found = zipname.find(sstr); + if (found != std::string::npos) + { + zipname.erase(found+3); + //printf("%s\n",zipname.c_str());fflush(stdout); - std::string fname = "prom"; - filerr = mvs_open7z(zipname, fname, &cpuregion[0], cpuregion_size, &psize); - // The protected sets also have "prom1", but we don't support it. + // The protected sets also have "prom1", but we don't support it. + filerr = mvs_open7z(zipname, fname, &cpuregion[0], cpuregion_size, &psize); + } if (filerr) { - image.seterror(image_error::INVALIDIMAGE, "File is corrupt"); - printf("File is corrupt.\n"); - image.message("File is corrupt"); + image.seterror(image_error::INVALIDIMAGE, "File is missing or unusable"); + printf("File is missing or unusable\n"); + image.message("File is missing or unusable"); return image_init_result::FAIL; } diff --git a/src/version.cpp b/src/version.cpp index d12590bc5bb..7e3be75fc6a 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -8,7 +8,7 @@ ***************************************************************************/ -#define BARE_BUILD_VERSION "0.245.10" +#define BARE_BUILD_VERSION "0.245.11" extern const char bare_build_version[]; extern const char build_version[]; |