Commit Graph

303 Commits

Author SHA1 Message Date
Unknown W. Brackets
83644ec1b8 Android: Remove old NDK profiler.
Pretty sure this no longer works.
2021-01-01 08:42:23 -08:00
Henrik Rydgård
ddb5462bce Folder browsing on main screen: Prevent navigating "up" when you can't. 2020-12-20 01:47:52 +01:00
Henrik Rydgård
2c4a42a695 UWP: Make the home button say "Home" instead of "Browse...". 2020-12-20 01:47:49 +01:00
Henrik Rydgård
c546c60324 Call g_Config.Save() first thing in MainScreen::OnExit. Workaround for #13286 2020-12-13 10:31:04 +01:00
Unknown W. Brackets
c3be720eb0
Avoid potential crash without storage permissions.
We conditionally create this view.
2020-12-06 09:27:11 -08:00
iota97
a014d7c785 Remember game list scroll 2020-11-23 10:10:20 +01:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
7aacf3df37 Remove time_now() - time_now_d() is the replacement. Absolute time values can't be stored reliably in floats. 2020-08-16 09:37:18 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
6f02844b5b Consolidate BackgroundAudio.cpp into a class 2020-08-03 10:43:26 +02:00
Henrik Rydgård
118bb72037 Forgetting "return true" fooled the optimizer into crashing. Fixes #13215. 2020-07-28 10:03:55 +02:00
Henrik Rydgård
efdd597cd1 Remove wrong comment 2020-07-27 17:00:46 +02:00
Henrik Rydgård
0939804a23 Don't trust the messy error checking in EmuScreen with figuring out what to do with zip files.
Ran into multiple odd bugs, the PSP init process really needs a rework..
2020-07-27 16:55:44 +02:00
Henrik Rydgård
9ed9468d72 Make the IsValidPBP DISC_ID check a bit more lenient. Fixes an issue where some homebrew would no longer show in the list. 2020-05-17 15:12:38 +02:00
Henrik Rydgård
7c8bcb2ee4 Fix homebrew store button to work even after changing grid layouts (it lost its click handler) 2020-05-17 14:57:12 +02:00
Henrik Rydgård
c7abea6146 UI: Temporary solution to the layout issue: Remove the gear button from the recent screen.
Can always use it from the other screens.
2020-03-08 22:23:39 +01:00
Henrik Rydgård
c176c6c114 Also move out the global stuff from view.cpp/h to root.cpp/h 2020-03-08 15:16:32 +01:00
Unknown W. Brackets
a3c5c6e1c2 UI: Ignore invalid PBPs in game browser.
This should reduce confusion when it comes to PS1 support.
2020-03-07 20:30:55 -08:00
Henrik Rydgård
bf7ed398a5
Merge pull request #12676 from unknownbrackets/switch-minor
Core: Bring over some file IO related Switch changes
2020-03-04 09:56:22 +01:00
Unknown W. Brackets
cb1b7b1e43 Core: Bring over some file related Switch changes.
Reducing the distance from the Switch port code.
2020-03-03 22:53:03 -08:00
iota97
987281516a Fix excessive scroll 2020-03-03 15:58:19 +01:00
iota97
3f4692266b UI fix 2020-03-03 08:47:14 +01:00
iota97
9d26c3a7c9 Fix weight 2020-03-02 12:03:01 +01:00
iota97
d8405b6f5b Move clear game list to new menu 2020-03-02 08:34:26 +01:00
iota97
e3c130d238 Rebase on master 2020-03-01 15:34:35 +01:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
iota97
407d5df9f4 Better align and spacing of UI element 2020-02-25 19:29:41 +01:00
iota97
35ceafe833 Better UI for game version in list view 2020-02-25 17:59:24 +01:00
iota97
3e6bab2c72 Go for Abbanon approach 2020-02-24 13:53:06 +01:00
iota97
4c96a11425 Scale font down a bit 2020-02-24 13:11:53 +01:00
iota97
f26cac3aca Add a option for game ID+version as well 2020-02-23 14:01:15 +01:00
iota97
592d6f902e Show region on game selection screen 2020-02-23 12:00:26 +01:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Unknown W. Brackets
dc26fb8ef7 Windows: Make TEMP dir detection long path aware. 2020-01-04 11:06:12 -08:00
Henrik Rydgård
1c8ac05b06 MainScreen: Prevent grid game buttons from becoming too wide if the png has the wrong dimensions.
Happens with Doom Legacy homebrew.
2019-10-07 23:58:23 +02:00
Unknown W. Brackets
d00eff7137 UI: Allow pinning remote ISO paths. 2019-10-06 12:40:00 -07:00
Unknown W. Brackets
e5eb849e8b UI: Handle remote browsing asynchronously. 2019-10-06 12:06:57 -07:00
Unknown W. Brackets
8d3da2ce88 UI: Cleanup browse button check. 2019-10-06 09:34:23 -07:00
Unknown W. Brackets
2d7ce0afa3 UI: Allow remote paths to be pinned.
Currently, the listing request is synchronous, but it works fine
otherwise.
2019-10-06 09:31:06 -07:00
Henrik Rydgård
7790e61b12
Merge pull request #11866 from unknownbrackets/keyup
UI: Pass touch/button releases to all screens
2019-03-18 11:16:35 +01:00
Unknown W. Brackets
f2206158b2 UI: Update more browser links to https://. 2019-03-03 21:39:21 -08:00
Unknown W. Brackets
1205753289 UI: Pass touch/button releases to all screens.
This way, if you go into a menu and release a button, it still gets
noticed.  This also goes for axis centering (and therefore vkeys.)

Also, move TOUCH_RELEASE_ALL to all screen switches.
2019-03-03 17:50:54 -08:00
Henrik Rydgård
e90328d03c UWP: Restore the Load button. Fixes #11855. 2019-03-01 08:20:42 +01:00
Henrik Rydgård
e49c488c6f Silence a compiler warning, fix an uninitialized variable 2019-02-27 10:33:27 +01:00