mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-04-25 06:06:03 +03:00
[GH-ISSUE #4149] (windows ?)save state bug #1686
Labels
No labels
Atrac3+
Audio
CPU emulation
D3D11
D3D9 (removed)
Depth / Z
Feature Request
Font Atlas
GE emulation
Guardband / Range Culling
HLE/Kernel
I/O
Input/Controller
MP3
Multithreading
Needs hardware testing
Networking/adhoc/infrastructure
No Feedback / Outdated?
OpenGL
PGF / sceFont
PSMF / MPEG
Platform-specific (Android)
Platform-specific (Windows)
Platform-specific (iOS)
PowerVR GPU
SDL2
Saving issue
User Interface
Vulkan
arm64jit
armjit
armv6
x86jit
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ppsspp#1686
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sum2012 on GitHub (Oct 13, 2013).
Original GitHub issue: https://github.com/hrydgard/ppsspp/issues/4149
Press right button (in keybaord) while save state,
After load save state ,game will auto move to right(cannot control).
Same problem as "top","left","bottom" key
@mr-chya commented on GitHub (Oct 13, 2013):
That's not exactly right. You can press F2 while holding down a key when creating a save state without having any problems. With that said if you are holding down a key on the keyboard and press select the key will get "stuck" in the emulator. What's more if you create a save state wile the button is stuck it will be saved that way.
@papel commented on GitHub (Nov 3, 2013):
It happens with me since the first version that I used.
If I save the state while a key is pressed and load this state, it will behave like when the key is pressed. It is solved by pressing and unpressing this key again.
It happens because the key state was saved as pressed and when it was loaded, no key-release event was sent.
This bug could be fixed by checking the key state when loading a state, if the key state is pressed and the mapped key is unpressed, it could send the key-release event.
It may be difficult when multiple key mappings are in use.
It is related with key state. https://github.com/hrydgard/ppsspp/issues/3077 may be related.
@sum2012 commented on GitHub (Nov 20, 2013):
@unknownbrackets Another save state bug
While I am pressing I (or J,K,L) ,I make a save status,
the player would auto move.
Test on Musou Orochi 2 Special
ppsspp-v0.9.5-545-ga151abf-windows-x86
@unknownbrackets commented on GitHub (Nov 20, 2013):
I'm not able to reproduce that in other games. When loading a state it is similar to you immediately releasing the stick now.
-[Unknown]
@sum2012 commented on GitHub (Nov 20, 2013):
I mean only save state (Press Esc to save)
@sum2012 commented on GitHub (Nov 20, 2013):
Sorry ,I re-test , Press Esc key can reproduce it (No need save state )
@sum2012 commented on GitHub (Nov 20, 2013):
I don't know program key-release event
@sum2012 commented on GitHub (Nov 20, 2013):
I take a search key-release event
keybd_event( VK_NUMLOCK,0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,0);
but combine the above code don't work
@unknownbrackets commented on GitHub (Nov 21, 2013):
Well, that's a problem where the UI dialogs don't send button presses to sceCtrl when they are focused (including key releases.)
-[Unknown]
@sum2012 commented on GitHub (Nov 21, 2013):
@unknownbrackets Thanks your tip
Unluck I come back home too late.
My code remain a little change