VelocityRa
1fb36021fa
renderer: Add note about reported missing uniform parameters
2018-08-10 21:46:57 +03:00
VelocityRa
fdbada52c0
gui: Fix sorting when pressing column titles
2018-08-10 21:46:56 +03:00
Peter Mackay
8b72fb8d71
Merge pull request #298 from petmac/bug/game-selector-cut-off
...
Fix game selector being cut off
2018-08-10 12:55:33 +01:00
Peter Mackay
2848101d8e
gui: Reduce game selector window size by menu height
2018-08-10 08:19:29 +01:00
Peter Mackay
53017d4f9a
gui: Don't save game selector bounds to imgui.ini
2018-08-10 08:18:57 +01:00
Peter Mackay
3ea31497b5
gui: Remove unused local
2018-08-10 07:52:39 +01:00
Peter Mackay
173f8771e0
Merge pull request #293 from petmac/experiment/simplify-imgui
...
Don't render game using dear imgui
2018-08-09 19:18:55 +01:00
Peter Mackay
2a729ebf0d
host: Formatting
2018-08-08 21:43:39 +01:00
Peter Mackay
260565ce8b
gui: Respect imgui window mouse capture
2018-08-08 21:43:15 +01:00
scribam
b81919683a
sceKernelAllocMemBlock: remove assert for SceKernelAllocMemBlockOpt
2018-08-08 22:43:14 +03:00
Peter Mackay
c997f762e3
Merge branch 'master' into experiment/simplify-imgui
...
# Conflicts:
# src/emulator/main.cpp
2018-08-08 09:14:40 +01:00
Peter Mackay
8afad033c2
SceTouch: Update touch calculation to use viewport
2018-08-08 09:01:08 +01:00
Peter Mackay
395664f2a8
host: Remove Size type -- SceIVector2 does the same job
2018-08-08 09:00:16 +01:00
Peter Mackay
5dec8beb0b
host: Don't set image size -- the image isn't yet valid
2018-08-08 08:58:41 +01:00
Peter Mackay
7d1313b790
host: Provide defaults for viewport
2018-08-08 08:57:38 +01:00
Peter Mackay
422c63f6a4
host: Remove duplicate texture bind
2018-08-07 19:35:44 +01:00
Peter Mackay
4c194448dd
main: Fix unused function warning
2018-08-07 19:35:10 +01:00
Peter Mackay
a6da9de2ac
host: Compute viewport when resizing window
2018-08-07 19:34:39 +01:00
VelocityRa
4148d231d4
host: Zip archive (miniz) error reporting
2018-08-07 18:20:38 +03:00
VelocityRa
c94658ea4d
gui/GameSelect: Game sorting and new grid-based design
2018-08-07 18:20:38 +03:00
VelocityRa
b2ae4acacd
host: Fix crash when quitting from Game Select screen
2018-08-07 18:20:38 +03:00
Peter Mackay
6931079ae4
host: Remove some unnecessary locals
2018-08-07 08:46:32 +01:00
Peter Mackay
278806984f
host: Remove unused function
2018-08-07 08:41:40 +01:00
Peter Mackay
577c3c5afd
host: Fix warning about missing braces
2018-08-07 08:34:37 +01:00
Peter Mackay
d381852415
gui: Don't render game using imgui
2018-08-06 22:09:14 +01:00
VelocityRa
32e9a31c30
host: Only log missing NIDs once
2018-08-04 19:44:34 +03:00
VelocityRa
a7db185d5f
sceNgs: Stub sceNgsVoiceLockParams & sceNgsPatchGetInfo
2018-08-04 19:44:34 +03:00
VelocityRa
77f9b15633
cpu: Expose code/mem logging helpers
...
Any module that has access to `cpu` can now call these functions,
aiding debugging. Logging code/mem accesses is very slow, so with
this it can be enabled only after specific events occur, saving a
lot of time.
2018-08-04 19:44:34 +03:00
VelocityRa
87d601b37c
cpu: Differentiate between threads on code/mem logging
...
Without this, when all threads are set to log, you don't
know what logging line belongs to what thread. Each running
thread has a different unicorn instance associated with it
so it can be used to differentiate between them.
In the future, we'd save the thread id on TLS and recover
it from there, but this works for now.
2018-08-04 19:44:34 +03:00
VelocityRa
ee18f91ac2
io: Return correct error on file/dir not existing
2018-08-04 19:44:34 +03:00
VelocityRa
b366dc9963
format: Remove namespace intendation
...
- Also make namespace end comments obligatory
2018-08-03 14:13:10 +03:00
Peter Mackay
1aeaf21b78
Merge pull request #287 from petmac/renderer
...
Split rendering into a new `renderer` library
2018-08-03 09:29:23 +01:00
Peter Mackay
ded0f5b8cf
module-tests: Fix build
2018-08-03 08:29:34 +01:00
Peter Mackay
88860afac8
Merge branch 'master' into renderer
2018-08-03 08:19:38 +01:00
Peter Mackay
83a8400afd
gxm: Align region clip rectangle to tile boundaries
2018-08-03 08:16:28 +01:00
Peter Mackay
25d3646e8a
util: Move align to its own header
2018-08-03 08:15:29 +01:00
Peter Mackay
125f7ec19a
shaders: Update shader database
2018-08-01 23:17:17 +01:00
Peter Mackay
cbbd8199ac
renderer: Bind textures using fragment program
...
Textures in GXM state may not be required by current shader, or may even have been freed.
2018-08-01 22:48:53 +01:00
Peter Mackay
351ba5ccd8
renderer: Fix scissor calculation
2018-08-01 19:39:17 +01:00
VelocityRa
3f8cce31f9
formatting: Run clang-format on project
2018-08-01 16:44:13 +03:00
VelocityRa
6794664fcd
kernel: Don't load already loaded libraries
...
- But still run them if requested (`sceKernelLoadStartModule`)
- Maidump games would try to load libfios2 again, causing it to be
loaded twice after the previous commit. This is the correct behavior.
- Refactor module loading code
2018-08-01 16:44:13 +03:00
VelocityRa
7683a1b8a4
host/modules: Pre-load libfios2 and libult
...
- Instead of just libc
- Also run their entry points right before running the main executable (instead of just libc's)
- Refactor code
- Improve logging
2018-08-01 16:44:13 +03:00
VelocityRa
bb125e94ca
load_self: More error reporting & log improvements
2018-08-01 16:44:13 +03:00
VelocityRa
64191dbb5b
kernel/threadmgr: Log sceKernelGetProcessId as stubbed
2018-08-01 16:44:13 +03:00
VelocityRa
d0a8a382e9
kernel/sync: Remove invalid assert for lwmutex opt_param
...
Seems unused
2018-08-01 16:44:13 +03:00
VelocityRa
bde0ec72fe
apputil: Fallback for gethostname (for getting user name)
...
It was failing on my system, causing crashes
2018-08-01 16:44:13 +03:00
VelocityRa
3984d6fc29
apputil: Check fileslot validity before using it
...
A game was crashing without this, since it's an optional argument.
2018-08-01 16:44:13 +03:00
VelocityRa
e565a36c09
mem: Fix VirtualAlloc assert and improve logging
...
- VirtualAlloc returns the _base_ address of the allocated region of pages, so the assert was wrong
- Call GetLastError() to log the actual error on failure
2018-08-01 16:44:13 +03:00
VelocityRa
ad0522109a
host: Log when an import with unknown NID is called
2018-08-01 16:44:13 +03:00
Peter Mackay
163a87ce93
renderer: Move shader loading to its own file
2018-08-01 09:07:08 +01:00