Rev 1 | Rev 15 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1 | Rev 11 | ||
|---|---|---|---|
| Line 862... | Line 862... | ||
| 862 | } |
862 | } |
| 863 | 863 | ||
| 864 | void PDAllocateActionReplayBuffer(char** pBuffer, tU32* pBuffer_size) { |
864 | void PDAllocateActionReplayBuffer(char** pBuffer, tU32* pBuffer_size) { |
| 865 | LOG_TRACE("(%p, %p)", pBuffer, pBuffer_size); |
865 | LOG_TRACE("(%p, %p)", pBuffer, pBuffer_size); |
| 866 | 866 | ||
| - | 867 | if (gReplay_override) { |
|
| - | 868 | *pBuffer = NULL; |
|
| - | 869 | *pBuffer_size = 0; |
|
| - | 870 | return; |
|
| - | 871 | } |
|
| 867 | Win32AllocateActionReplayBuffer(); |
872 | Win32AllocateActionReplayBuffer(); |
| 868 | *pBuffer = gWin32_action_replay_buffer; |
873 | *pBuffer = gWin32_action_replay_buffer; |
| 869 | *pBuffer_size = gWin32_action_replay_buffer_size; |
874 | *pBuffer_size = gWin32_action_replay_buffer_size; |
| 870 | } |
875 | } |
| 871 | 876 | ||