mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-30 03:29:59 +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:
@@ -33,8 +33,8 @@ auto DropPathsOperation(id<NSDraggingInfo> sender) -> NSDragOperation {
|
||||
return NSDragOperationNone;
|
||||
}
|
||||
|
||||
auto DropPaths(id<NSDraggingInfo> sender) -> lstring {
|
||||
lstring paths;
|
||||
auto DropPaths(id<NSDraggingInfo> sender) -> string_vector {
|
||||
string_vector paths;
|
||||
NSPasteboard* pboard = [sender draggingPasteboard];
|
||||
if([[pboard types] containsObject:NSFilenamesPboardType]) {
|
||||
NSArray* files = [pboard propertyListForType:NSFilenamesPboardType];
|
||||
|
@@ -20,7 +20,7 @@
|
||||
}
|
||||
|
||||
-(BOOL) performDragOperation:(id<NSDraggingInfo>)sender {
|
||||
lstring paths = DropPaths(sender);
|
||||
auto paths = DropPaths(sender);
|
||||
if(!paths) return NO;
|
||||
canvas->doDrop(paths);
|
||||
return YES;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
}
|
||||
|
||||
-(BOOL) performDragOperation:(id<NSDraggingInfo>)sender {
|
||||
lstring paths = DropPaths(sender);
|
||||
auto paths = DropPaths(sender);
|
||||
if(!paths) return NO;
|
||||
viewport->doDrop(paths);
|
||||
return YES;
|
||||
|
@@ -121,7 +121,7 @@
|
||||
}
|
||||
|
||||
-(BOOL) performDragOperation:(id<NSDraggingInfo>)sender {
|
||||
lstring paths = DropPaths(sender);
|
||||
auto paths = DropPaths(sender);
|
||||
if(!paths) return NO;
|
||||
window->doDrop(paths);
|
||||
return YES;
|
||||
|
Reference in New Issue
Block a user