lsnes rr1-Δ10

This commit is contained in:
Ilari Liusvaara 2012-06-07 00:47:52 +03:00
parent c0f91e3eda
commit 2912e5a820
5 changed files with 38 additions and 6 deletions

View file

@ -1 +1 @@
1-Δ9 1-Δ10

View file

@ -6102,5 +6102,25 @@ Unsafe rewind support
Fix directory transversal. Fix directory transversal.
\end_layout \end_layout
\begin_layout Subsection
rr1-delta10
\end_layout
\begin_layout Itemize
AVI: Sound mode 5 (48kHz high-quality)
\end_layout
\begin_layout Itemize
Lua: Reset Lua VM
\end_layout
\begin_layout Itemize
Map the SNES bus into address space
\end_layout
\begin_layout Itemize
Fix loading memory watch files with CRLF line endings
\end_layout
\end_body \end_body
\end_document \end_document

View file

@ -3025,3 +3025,13 @@ set-axis joystick0axis19 disabled
• Fix directory transversal. • Fix directory transversal.
15.63 rr1-delta10
• AVI: Sound mode 5 (48kHz high-quality)
• Lua: Reset Lua VM
• Map the SNES bus into address space
• Fix loading memory watch files with CRLF line endings

View file

@ -255,7 +255,7 @@ void refresh_cart_mappings() throw(std::bad_alloc)
} }
create_region("SRAM", 0x10000000, SNES::cartridge.ram, false); create_region("SRAM", 0x10000000, SNES::cartridge.ram, false);
create_region("ROM", 0x80000000, SNES::cartridge.rom, true); create_region("ROM", 0x80000000, SNES::cartridge.rom, true);
create_region("BUS", 0x100000000ULL, 0x1000000, snes_bus_iospace_rw); create_region("BUS", 0x1000000, 0x1000000, snes_bus_iospace_rw);
switch(get_current_rom_info().first) { switch(get_current_rom_info().first) {
case ROMTYPE_BSX: case ROMTYPE_BSX:
case ROMTYPE_BSXSLOTTED: case ROMTYPE_BSXSLOTTED:

View file

@ -143,10 +143,12 @@ void dump_region_map() throw(std::bad_alloc)
{ {
std::vector<struct memory_region> regions = get_regions(); std::vector<struct memory_region> regions = get_regions();
for(auto i : regions) { for(auto i : regions) {
char buf[256]; std::ostringstream x;
sprintf(buf, "Region: %08X-%08X %08X %s%c %s", i.baseaddr, i.lastaddr, i.size, x << std::setfill('0') << std::setw(16) << std::hex << i.baseaddr << "-";
i.readonly ? "R-" : "RW", i.native_endian ? 'N' : 'L', i.region_name.c_str()); x << std::setfill('0') << std::setw(16) << std::hex << i.lastaddr << " ";
messages << buf << std::endl; x << std::setfill('0') << std::setw(16) << std::hex << i.size << " ";
messages << x.str() << (i.readonly ? "R-" : "RW") << (i.native_endian ? 'N' : 'L')
<< (i.iospace ? 'I' : 'M') << " " << i.region_name << std::endl;
} }
} }