mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-01-23 02:34:42 +00:00
Disable frame duplication by default
It breaks newer PCSX rearmed versions by pushing dozen of frames in bursts. To implement a proper support later.
This commit is contained in:
parent
e2226e7492
commit
ce7aa1be62
1 changed files with 3 additions and 2 deletions
|
|
@ -713,8 +713,9 @@ func coreEnvironment(cmd C.unsigned, data unsafe.Pointer) C.bool {
|
|||
setRotation((*(*uint)(data) % 4) * 90)
|
||||
return true
|
||||
case C.RETRO_ENVIRONMENT_GET_CAN_DUPE:
|
||||
*(*C.bool)(data) = C.bool(true)
|
||||
return true
|
||||
// !to implement frame dup (nil) some time later
|
||||
*(*C.bool)(data) = C.bool(false)
|
||||
return false
|
||||
case C.RETRO_ENVIRONMENT_GET_USERNAME:
|
||||
*(**C.char)(data) = Nan0.cUserName
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue