mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-12 11:34: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:
@@ -36,11 +36,11 @@ static auto CreateImage(const image& icon, bool scale = false) -> GtkImage* {
|
||||
return gtkIcon;
|
||||
}
|
||||
|
||||
static auto DropPaths(GtkSelectionData* data) -> lstring {
|
||||
static auto DropPaths(GtkSelectionData* data) -> string_vector {
|
||||
gchar** uris = gtk_selection_data_get_uris(data);
|
||||
if(uris == nullptr) return {};
|
||||
|
||||
lstring paths;
|
||||
string_vector paths;
|
||||
for(unsigned n = 0; uris[n] != nullptr; n++) {
|
||||
gchar* pathname = g_filename_from_uri(uris[n], nullptr, nullptr);
|
||||
if(pathname == nullptr) continue;
|
||||
|
Reference in New Issue
Block a user