mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Qt buildfix, assorted warning fixes
This commit is contained in:
parent
060a2735e7
commit
35f9b9d0d8
3 changed files with 3 additions and 3 deletions
|
@ -207,7 +207,7 @@ static Path WriteRecording() {
|
|||
|
||||
FILE *fp = File::OpenCFile(filename, "wb");
|
||||
Header header{};
|
||||
strncpy(header.magic, HEADER_MAGIC, sizeof(header.magic));
|
||||
memcpy(header.magic, HEADER_MAGIC, sizeof(header.magic));
|
||||
header.version = VERSION;
|
||||
strncpy(header.gameID, g_paramSFO.GetDiscID().c_str(), sizeof(header.gameID));
|
||||
fwrite(&header, sizeof(header), 1, fp);
|
||||
|
|
|
@ -1710,7 +1710,7 @@ void GPUCommon::DoBlockTransfer(u32 skipDrawReason) {
|
|||
bool dstWraps = Memory::IsVRAMAddress(dstBasePtr) && !dstValid;
|
||||
|
||||
char tag[128];
|
||||
size_t tagSize;
|
||||
size_t tagSize = 0;
|
||||
|
||||
// Tell the framebuffer manager to take action if possible. If it does the entire thing, let's just return.
|
||||
if (!framebufferManager_ || !framebufferManager_->NotifyBlockTransferBefore(dstBasePtr, dstStride, dstX, dstY, srcBasePtr, srcStride, srcX, srcY, width, height, bpp, skipDrawReason)) {
|
||||
|
|
|
@ -117,7 +117,7 @@ void MainWindow::updateMenus()
|
|||
|
||||
void MainWindow::bootDone()
|
||||
{
|
||||
if (nextState == CORE_RUNNING)
|
||||
if (nextState == CORE_RUNNING_CPU)
|
||||
runAct();
|
||||
updateMenus();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue