mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-15 06:14:24 +02:00
Update to v094r38 release.
byuu says: I'll post more detailed changes later, but basically: - fixed Baldur's Gate bug - guess if no flash ROM ID present (fixes Magical Vacation, many many others) - nall cleanups - sfc/cartridge major cleanups - bsxcartridge/"bsx" renamed to mcc/"mcc" after the logic chip it uses (consistency with SGB/ICD2) - ... and more!
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef NALL_ZIP_HPP
|
||||
#define NALL_ZIP_HPP
|
||||
#ifndef NALL_ENCODE_ZIP_HPP
|
||||
#define NALL_ENCODE_ZIP_HPP
|
||||
|
||||
//creates uncompressed ZIP archives
|
||||
|
||||
@@ -19,7 +19,7 @@ struct ZIP {
|
||||
|
||||
//append path: append("path/");
|
||||
//append file: append("path/file", data, size);
|
||||
void append(string filename, const uint8_t* data = nullptr, unsigned size = 0u) {
|
||||
auto append(string filename, const uint8_t* data = nullptr, unsigned size = 0u) -> void {
|
||||
filename.transform("\\", "/");
|
||||
uint32_t checksum = Hash::CRC32(data, size).value();
|
||||
directory.append({filename, checksum, size, fp.offset()});
|
||||
|
Reference in New Issue
Block a user