66 Commits
Author SHA1 Message Date
Lioncash b1901fbad2 Core: Remove unimplemented class function declarations 2015-10-18 10:55:11 -04:00
Lioncash fea7428fdb Core: Add missing override specifiers 2015-10-17 02:58:02 -04:00
Lioncash 959e4e70c0 Arm64Emitter: Fix FCMEQ instruction encoding 2015-08-10 21:12:08 -04:00
Lioncash 1ac81b5014 sceIo: Remove always false condition 2015-04-06 10:05:44 -04:00
Lioncash f0f7e48ef4 Common: Move headers over to using pragma once
Just makes the headers more consistent.
2014-12-15 17:09:40 -05:00
Lioncash 3610473b78 sceNetAdhoc: Remove unnecessary assignments 2014-12-14 00:10:46 -05:00
Lioncash ff0ea751c5 MediaEngine: Get rid of implicit boolean conversions to int 2014-12-13 23:40:04 -05:00
Lioncash dc436aebe8 GPU: Get rid of unused variable warnings 2014-12-12 09:29:41 -05:00
Lioncash 2f269ac8c0 ReplaceTables: Fix null checks 2014-12-11 14:34:10 -05:00
Lioncash fc7439ec2a proAdhoc: Change resolveMAC to return bool
Must have missed this in my initial commit.
2014-12-10 23:42:40 -05:00
Lioncash d8da1cd44d sceKernelModule: Remove unused array in __KernelLoadPBP 2014-12-10 23:38:35 -05:00
Lioncash 0e3d68e27f scePsmf: Remove unnecessary conditions
tempBuf is a stack-allocated array, and filehandle has a check for it above this conditional.
2014-12-10 23:30:19 -05:00
Lioncash cac632424c Core: Add missing override specifiers 2014-12-08 15:20:31 -05:00
Lioncash 60f8132d2e stringutil: Add early-exit case to ReplaceAll
If both 'replaceands' are the same, the result string can just be returned.
2014-12-08 14:07:53 -05:00
Lioncash ae5be5a814 sceSha256: Mark sceSha256Digest as static 2014-12-08 12:31:57 -05:00
Lioncash 4ccb838306 Core: Mark some module functions as static 2014-12-08 04:40:08 -05:00
Lioncash a962bc5a6c Mark some functions as const 2014-12-07 17:08:13 -05:00
Lioncash 1d9ace08ae proAdhoc: Make some functions return boolean values.
Also shortens validNetworkName a little.
2014-12-06 14:48:46 -05:00
Lioncash 15aa29d178 MIPSAnalyst: Pass strings by const reference. 2014-12-05 13:12:49 -05:00
Lioncash cd26b200b2 Core: Get rid of a few c_str/strlen calls 2014-12-03 17:15:05 -05:00
Lioncash efaba33624 sceMpeg: Remove an unnecessary if statement
stream is previously used in the above memcpy, so this check is not necessary.
2014-12-03 16:49:01 -05:00
Lioncash f830d5dec7 Core: Mark some functions as const 2014-12-03 15:16:11 -05:00
Lioncash 9f1bebe201 Loaders: Fix a mismatched delete call 2014-12-03 14:55:20 -05:00
Lioncash c54b7c1ec4 Get rid of unnecessary c_str calls in VirtualDiscFileSystem.cpp 2014-05-27 21:57:10 -04:00
lioncash ee520d0974 Fix a typo in GameSettingsScreen 2014-05-27 12:41:55 -04:00
lioncash b9886942a7 Fix some vertical alignments in misc Core source files. 2014-03-03 11:16:53 -05:00
Lioncash 442cc2f1c7 Fix a typo in an if statement comparison in function sceNetAdhocPdpDelete. This was likely intended to check against 'sock', not 'socket'. On Windows, initially 'socket' referred to a function in the WinSock2.h header file. Naturally, this will alway be non-null, which further leads to the conclusion that this was the intended comparison.
Also updated the commented out sections accordingly.
2013-12-27 12:02:53 -05:00
Lioncash 19dee283f2 Access font after the null check in sceFontGetCharImageRect, not before. 2013-12-27 11:42:14 -05:00
Lioncash 0f093a3328 Remove redundant parentheses from a ternary statement in WndMainWindow.cpp. 2013-10-05 22:59:40 -04:00
Lioncash 40797e0d5c Turns out there were three other expressions with this precedence problem in it within WndMainWindow.cpp. 2013-10-05 22:00:19 -04:00
Lioncash 2b84520e89 Fix precedence of operations in a boolean expression in function UpdateMenus in WndMainWindow.cpp.
Bitwise OR has higher precedence than the ternary expression operators. This is likely unintended, since the main goal here is to either check or un-check the items.
2013-10-05 21:49:58 -04:00
Lioncash a7836af14c Move variable temp into the if statement in function Update in PSPGamedataInstallDialog.cpp. It's only used in this branch statement. 2013-10-05 18:30:00 -04:00
Lioncash dc9f839583 Fix a null check in sceHeap.cpp 2013-10-05 18:22:13 -04:00
Lioncash 3c90b489fa Merge branch 'master' of https://github.com/hrydgard/ppsspp 2013-10-05 17:44:09 -04:00
Lioncash ce806d8c05 Fixed a mismatched delete within PSPGamedataInstallDialog.cpp. Should be delete[]. 2013-10-02 19:05:21 -04:00
Lioncash 78f6808ece Remove a redundant wcsncat call.
Just makes the else statement the dominant branch.
2013-09-04 15:05:28 -04:00
Lioncash 1583bcb499 Fix a null check in sceKernel.cpp
Since CreateByIDType() can return null, it seems odd that this would be after the statement "pool[i]->uid = i + handleOffset;"
2013-09-04 14:19:32 -04:00
Lioncash 02ec457cc9 Fix a null check 2013-09-04 14:07:52 -04:00
Lioncash 998ac27bf0 Fix a possible memory leak in BlockDevices.cpp. 2013-08-06 19:03:38 -04:00
Lioncash dce9fdd203 Previous commit should have actually used free() and not delete. This fixes that. 2013-08-01 10:57:27 -04:00
Lioncash b14827da04 Fix two memory leaks in ArmCPUDetect.cpp
These char pointers weren't deleted before the function ended.
2013-08-01 10:24:56 -04:00
Lioncash ea830774c8 Fix a missing 'break' in a date formatting switch statement in PSPSaveDialog.cpp. 2013-07-02 16:28:34 -04:00
Lioncash 76165a8815 Fixed incorrect る/ル misplacements in the Japanese Hirigana/Katakana characters. Replaced them with the appropriate ろ/ロ character.
Fixes issue 2468.
2013-06-25 17:10:56 -04:00
Lioncash 5de2adcead Fixed missing Japanese characters in the OSK.
Also added the vowel lengthening character to Katakana and Hirigana
2013-06-25 16:59:40 -04:00
Lioncash b52ee53c98 Fix some signed/unsigned mismatch warnings in __sceAudio.cpp. 2013-06-25 09:54:42 -04:00
Lioncash b823bb7543 Change PSPPointer function name Valid to IsValid.
Improves readability and shows intent better.
2013-06-25 09:51:39 -04:00
Lioncash 89478ad599 Simplify the previous commit's check a little bit. 2013-06-24 04:31:29 -04:00
Lioncash d06bb0c755 Add a check to an if-statement in CwCheat.cpp in function hleCheat.
Check if cheatEngine isn't null. Considering how the if-statement below it has this check, it should be placed in this one as well.
2013-06-24 04:09:26 -04:00
Lioncash ee164a3977 Fix a case where a pointer was being used before its null check in MediaEngine.cpp 2013-06-24 03:42:13 -04:00
Lioncash 2d25cc60c8 Fix a resource leak in ControlMapping.cpp 2013-06-24 03:28:19 -04:00
Lioncash 72c9c9b424 Fix signed/unsigned mismatch warnings in CwCheat.cpp 2013-06-02 07:54:54 -04:00
Lioncash a623660435 Nope, they should be ERROR_LOGs. 2013-06-02 04:54:14 -04:00
Lioncash d99d4de2b7 Should be DEBUG_LOGs in the last change. Accidentally put WARN_LOGs. 2013-06-02 04:47:01 -04:00
Lioncash 3c2d1f5e5a Properly enclose psmfplayer calls within the null checks. Doesn't make sense any other way.
Add warning logs to each to help make debugging in the future less of a pain in the ass.
2013-06-02 04:43:44 -04:00
Lioncash f86eebbf74 Fix a case where the wrong array was used. 2013-06-01 04:13:39 -04:00
Lioncash 6753dabd17 Fix an error log message. 2013-03-30 04:11:53 -04:00
Lioncash a4d8585794 Fix accidentally switched statements in scePsmf.cpp?
I'm assuming this was actually intended

The other way results in no actual changes happening. There were no comments saying that was intended so I guess it was an accident or something.
2013-03-30 00:42:12 -04:00
Lioncash 366de9f248 Fix a another memory leak in etctool.
imgdec = (unsigned char*) malloc(expandedwidth*expandedheight*3);
is called before the if statement "if((f=fopen(dstfile,"wb")))"

If the file 'f' failed in the if statement, it would never be freed (since "free(imgdec)" was within that if block.
2013-02-02 13:18:23 -05:00
Lioncash 5b5eec793f Damn tabs. 2013-02-02 01:41:06 -05:00
Lioncash 36c82b5d18 Resource leak fix, also cleanup. 2013-02-02 01:36:53 -05:00
Lioncash eb84b00a3d Fix a duplicate branch in MIPS/MIPSDis.cpp
Copypaste error for beql.

Thanks go out to [Unknown] for specifying the correct value of o.
2013-01-25 17:57:12 -05:00
Lioncash e1aff1fd91 Fix duplicate branches.
I think this should be UNKNOWN_ELF.
2013-01-25 17:05:09 -05:00
Lioncash 38caedadfa Fixed two other memory leaks I missed. 2013-01-25 15:07:36 -05:00
Lioncash 1cc74aa6c0 Get rid of unused iterators. 2013-01-25 13:11:06 -05:00
Lioncash c3d6f67c7c Fix release() in StdMutex.h
Originally fixed here:

https://code.google.com/p/dolphin-emu/source/detail?spec=svn74a5ad542b44a18751acc19e4d1229d640cc4c0f&r=4f4aa4860df98f401384f6e598cb649b13882e79
2013-01-25 13:07:01 -05:00
Lioncash b897309eaf Fix some resource leaks/memory leaks. 2013-01-25 13:00:50 -05:00