mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion/simulator] Load nws files sent from the host OS
This commit is contained in:
@@ -150,6 +150,12 @@ Event getPlatformEvent() {
|
||||
result = eventFromSDLTextInputEvent(event.text);
|
||||
break;
|
||||
}
|
||||
#if ION_SIMULATOR_FILES
|
||||
if (event.type == SDL_DROPFILE) {
|
||||
Simulator::StateFile::load(event.drop.file);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
#if !EPSILON_SDL_SCREEN_ONLY
|
||||
if (event.type == SDL_MOUSEMOTION) {
|
||||
SDL_Point p;
|
||||
|
||||
Reference in New Issue
Block a user