mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-13 06:24:11 +02:00
Update to v099r15 release.
byuu says: Changelog: - nall::lstring -> nall::string_vector - added IntegerBitField<type, lo, hi> -- hopefully it works correctly... - Multitap 1-4 -> Super Multitap 2-5 - fixed SFC PPU CGRAM read regression - huge amounts of SFC PPU IO register cleanups -- .bits really is lovely - re-added the read/write(VRAM,OAM,CGRAM) helpers for the SFC PPU - but they're now optimized to the realities of the PPU (16-bit data sizes / no address parameter / where appropriate) - basically used to get the active-display overrides in a unified place; but also reduces duplicate code in (read,write)IO
This commit is contained in:
@@ -38,11 +38,11 @@ static auto CreateRGB(const Color& color) -> COLORREF {
|
||||
return RGB(color.red(), color.green(), color.blue());
|
||||
}
|
||||
|
||||
static auto DropPaths(WPARAM wparam) -> lstring {
|
||||
static auto DropPaths(WPARAM wparam) -> string_vector {
|
||||
auto dropList = HDROP(wparam);
|
||||
auto fileCount = DragQueryFile(dropList, ~0u, nullptr, 0);
|
||||
|
||||
lstring paths;
|
||||
string_vector paths;
|
||||
for(auto n : range(fileCount)) {
|
||||
auto length = DragQueryFile(dropList, n, nullptr, 0);
|
||||
auto buffer = new wchar_t[length + 1];
|
||||
|
Reference in New Issue
Block a user